mirror of https://github.com/Lissy93/dashy.git
🔀 Merge pull request #751 from marekful/FIX/nextcloudstats-and-phpopcache-style-fix
🩹 Add back some styling
This commit is contained in:
commit
7bb66953d1
|
@ -5,11 +5,11 @@
|
||||||
<p v-tooltip="opcacheStartTimeTooltip()">
|
<p v-tooltip="opcacheStartTimeTooltip()">
|
||||||
<i class="fal fa-microchip"></i>
|
<i class="fal fa-microchip"></i>
|
||||||
<strong>PHP opcache</strong>
|
<strong>PHP opcache</strong>
|
||||||
<em v-if="opcache.opcache_enabled" class="success">
|
<em v-if="opcache.opcache_enabled" class="oc-enabled">
|
||||||
{{ tt('enabled') }}
|
{{ tt('enabled') }}
|
||||||
</em>
|
</em>
|
||||||
<em v-else class="disabled">{{ tt('disabled') }}</em>
|
<em v-else class="oc-disabled">{{ tt('disabled') }}</em>
|
||||||
<strong v-if="opcache.cache_full" class="danger">
|
<strong v-if="opcache.cache_full" class="oc-full">
|
||||||
<i class="far fa-siren-on"></i>{{ tt('cache-full') }}
|
<i class="far fa-siren-on"></i>{{ tt('cache-full') }}
|
||||||
</strong>
|
</strong>
|
||||||
</p>
|
</p>
|
||||||
|
@ -200,4 +200,15 @@ export default {
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
@import '@/styles/widgets/nextcloud-shared.scss';
|
@import '@/styles/widgets/nextcloud-shared.scss';
|
||||||
|
.nextcloud-phpopcache-wrapper {
|
||||||
|
.oc-enabled {
|
||||||
|
color: var(--success);
|
||||||
|
}
|
||||||
|
.oc-disabled {
|
||||||
|
color: var(--neutral);
|
||||||
|
}
|
||||||
|
.oc-full {
|
||||||
|
color: var(--danger);
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
<i class="fal fa-browser"></i>
|
<i class="fal fa-browser"></i>
|
||||||
<em v-html="formatNumber(apps.num_installed)"></em>
|
<em v-html="formatNumber(apps.num_installed)"></em>
|
||||||
<strong>{{ tt('applications') }}</strong>
|
<strong>{{ tt('applications') }}</strong>
|
||||||
<span v-if="apps.num_updates_available" class="success has-updates">
|
<span v-if="apps.num_updates_available" class="nc-updates">
|
||||||
<i class="fal fa-download"></i><em>{{ apps.num_updates_available }}</em>
|
<i class="fal fa-download"></i><em>{{ apps.num_updates_available }}</em>
|
||||||
<strong>
|
<strong>
|
||||||
{{ tt('updates-available',
|
{{ tt('updates-available',
|
||||||
|
@ -192,6 +192,7 @@ export default {
|
||||||
@import '@/styles/widgets/nextcloud-shared.scss';
|
@import '@/styles/widgets/nextcloud-shared.scss';
|
||||||
.nextcloud-stats-wrapper {
|
.nextcloud-stats-wrapper {
|
||||||
div.server-info .nc-updates {
|
div.server-info .nc-updates {
|
||||||
|
color: var(--success);
|
||||||
margin-left: .5em;
|
margin-left: .5em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue