mirror of https://github.com/Lissy93/dashy.git
🩹 Add back some styling
These weren't correctly updated afeter the style refactor (Stats and PhpOpcache widgets).
This commit is contained in:
parent
0674ad8fe8
commit
f21f44ce21
|
@ -5,11 +5,11 @@
|
|||
<p v-tooltip="opcacheStartTimeTooltip()">
|
||||
<i class="fal fa-microchip"></i>
|
||||
<strong>PHP opcache</strong>
|
||||
<em v-if="opcache.opcache_enabled" class="success">
|
||||
<em v-if="opcache.opcache_enabled" class="oc-enabled">
|
||||
{{ tt('enabled') }}
|
||||
</em>
|
||||
<em v-else class="disabled">{{ tt('disabled') }}</em>
|
||||
<strong v-if="opcache.cache_full" class="danger">
|
||||
<em v-else class="oc-disabled">{{ tt('disabled') }}</em>
|
||||
<strong v-if="opcache.cache_full" class="oc-full">
|
||||
<i class="far fa-siren-on"></i>{{ tt('cache-full') }}
|
||||
</strong>
|
||||
</p>
|
||||
|
@ -200,4 +200,15 @@ export default {
|
|||
|
||||
<style scoped lang="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>
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<i class="fal fa-browser"></i>
|
||||
<em v-html="formatNumber(apps.num_installed)"></em>
|
||||
<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>
|
||||
<strong>
|
||||
{{ tt('updates-available',
|
||||
|
@ -192,6 +192,7 @@ export default {
|
|||
@import '@/styles/widgets/nextcloud-shared.scss';
|
||||
.nextcloud-stats-wrapper {
|
||||
div.server-info .nc-updates {
|
||||
color: var(--success);
|
||||
margin-left: .5em;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue