🚀 A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
Vue awesomedashboarddockerhomelabhomepagemitnodejsorganizationproductivitypwaself-hostedstartpagevue
:adhesive_bandage: Add back some styling
Marcell Fülöpf21f44ce2178
diff --git a/src/components/Widgets/NextcloudPhpOpcache.vue b/src/components/Widgets/NextcloudPhpOpcache.vueindex 645cac07..f361d7b0 100644--- a/src/components/Widgets/NextcloudPhpOpcache.vue+++ b/src/components/Widgets/NextcloudPhpOpcache.vue@@ -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>diff --git a/src/components/Widgets/NextcloudStats.vue b/src/components/Widgets/NextcloudStats.vueindex 5d43bc60..8860434f 100644--- a/src/components/Widgets/NextcloudStats.vue+++ b/src/components/Widgets/NextcloudStats.vue@@ -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;}}