🎨 Add HTML comments

This commit is contained in:
Marcell Fülöp 2022-06-12 01:10:14 +00:00
parent ff1bcdbab8
commit caf131df23
1 changed files with 8 additions and 0 deletions

View File

@ -1,5 +1,6 @@
<template> <template>
<div class="nextcloud-info-wrapper"> <div class="nextcloud-info-wrapper">
<!-- logo, branding, user info -->
<div> <div>
<div class="logo"> <div class="logo">
<a :href="branding.url" target="_blank"> <a :href="branding.url" target="_blank">
@ -19,6 +20,7 @@
</p> </p>
</div> </div>
</div> </div>
<!-- disk quota -->
<div v-if="user.quota.quota > 0" v-tooltip="quotaTooltip()"> <div v-if="user.quota.quota > 0" v-tooltip="quotaTooltip()">
<p> <p>
<i class="fal fa-disc-drive"></i> <i class="fal fa-disc-drive"></i>
@ -28,6 +30,7 @@
</p> </p>
</div> </div>
<div v-if="user.isAdmin" class="server-info"> <div v-if="user.isAdmin" class="server-info">
<!-- server info: users -->
<div> <div>
<p v-tooltip="activeUsersTooltip()"> <p v-tooltip="activeUsersTooltip()">
<i class="fal fa-user"></i> <i class="fal fa-user"></i>
@ -39,6 +42,7 @@
</div> </div>
<hr /> <hr />
<div> <div>
<!-- server info: apps -->
<p> <p>
<i class="fal fa-browser"></i> <i class="fal fa-browser"></i>
<em>{{ formatNumber(server.nextcloud.system.apps.num_installed) }}</em> <em>{{ formatNumber(server.nextcloud.system.apps.num_installed) }}</em>
@ -57,6 +61,7 @@
</span> </span>
</p> </p>
<hr /> <hr />
<!-- server info: storage -->
<p v-tooltip="storagesTooltip()"> <p v-tooltip="storagesTooltip()">
<i class="fal fa-file"></i> <i class="fal fa-file"></i>
<em>{{ formatNumber(server.nextcloud.storage.num_files) }}</em> <em>{{ formatNumber(server.nextcloud.storage.num_files) }}</em>
@ -67,6 +72,7 @@
<small>{{ $t('free') }}</small> <small>{{ $t('free') }}</small>
</p> </p>
<hr /> <hr />
<!-- server info: shares -->
<p v-tooltip="sharesTooltip()"> <p v-tooltip="sharesTooltip()">
<i class="fal fa-share"></i> <i class="fal fa-share"></i>
<em>{{ formatNumber(server.nextcloud.shares.num_shares) }}</em> <em>{{ formatNumber(server.nextcloud.shares.num_shares) }}</em>
@ -78,6 +84,7 @@
<strong>{{ $t('federated shares') }}</strong> <strong>{{ $t('federated shares') }}</strong>
</p> </p>
<hr /> <hr />
<!-- server info: server -->
<p> <p>
<i class="fal fa-server"></i> <i class="fal fa-server"></i>
<strong>{{ $t('Nextcloud') }}</strong> <strong>{{ $t('Nextcloud') }}</strong>
@ -86,6 +93,7 @@
<em>{{ server.server.php.version }}</em> <em>{{ server.server.php.version }}</em>
</p> </p>
<hr /> <hr />
<!-- server info: database -->
<p> <p>
<i class="fal fa-database"></i> <i class="fal fa-database"></i>
<strong>{{ server.server.database.type }}</strong> <strong>{{ server.server.database.type }}</strong>