From 534febd8e739bc7c26d6a0f67e0c2fb3e3ac6b73 Mon Sep 17 00:00:00 2001 From: Luca Haid Date: Fri, 10 Jan 2025 12:31:05 +0000 Subject: [PATCH] Rework dashboard --- public/js/pages/DashboardNew/DashboardNew.js | 35 ++++++++++---------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/public/js/pages/DashboardNew/DashboardNew.js b/public/js/pages/DashboardNew/DashboardNew.js index f07db27c0..1d2ddd538 100644 --- a/public/js/pages/DashboardNew/DashboardNew.js +++ b/public/js/pages/DashboardNew/DashboardNew.js @@ -206,10 +206,11 @@ Vue.component('dashboard-new', { @@ -218,8 +219,8 @@ Vue.component('dashboard-new', { icon="fas fa-home" :text="dashboardData.order_efh" :subHeaders="[ - 'Vollanschluss: ' + dashboardData.order_efh_vollanschluss, - 'Vorsorgeanschluss: ' + dashboardData.order_efh_vorsorge + 'Vollanschluss: ' + dashboardData.order_efh_vollanschluss + ' (' + Math.round((dashboardData.order_efh_vollanschluss / dashboardData.order_efh) * 100) + '%)', + 'Vorsorgeanschluss: ' + dashboardData.order_efh_vorsorge + ' (' + Math.round((dashboardData.order_efh_vorsorge / dashboardData.order_efh) * 100) + '%)' ]" color="#17a2b8" /> @@ -228,8 +229,8 @@ Vue.component('dashboard-new', { icon="fas fa-building" :text="dashboardData.order_mph" :subHeaders="[ - 'Vollanschluss: ' + dashboardData.order_mph_vollanschluss, - 'Vorsorgeanschluss: ' + dashboardData.order_mph_vorsorge + 'Vollanschluss: ' + dashboardData.order_mph_vollanschluss + ' (' + Math.round((dashboardData.order_mph_vollanschluss / dashboardData.order_mph) * 100) + '%)', + 'Vorsorgeanschluss: ' + dashboardData.order_mph_vorsorge + ' (' + Math.round((dashboardData.order_mph_vorsorge / dashboardData.order_mph) * 100) + '%)' ]" color="#f5b902" /> @@ -240,35 +241,35 @@ Vue.component('dashboard-new', { @@ -279,35 +280,35 @@ Vue.component('dashboard-new', {