From 28efea22fd5c832c6fe4fbce31eaebf806ddea4e Mon Sep 17 00:00:00 2001 From: Alex <40072887+alexdcrane@users.noreply.github.com> Date: Wed, 24 Apr 2024 13:14:24 -0700 Subject: [PATCH] Dashboard - Add background color settings (#6959) * Dashboard - Add background color settings * Update missed_calls.php * Update recent_calls.php * Update app_languages.php * Update app_config.php * Update dashboard_edit.php * Update index.php * Update css.php * Update system_status.php * Update system_cpu_status.php * Update system_counts.php * Update system_counts.php * Update switch_status.php * Update index.php * Update system_counts.php * Update domain_limits.php * Update call_forward.php * Update caller_id.php * Update ring_group_forward.php --- .../resources/dashboard/call_forward.php | 10 +- .../resources/dashboard/domain_limits.php | 10 +- .../resources/dashboard/caller_id.php | 10 +- .../dashboard/ring_group_forward.php | 14 +-- .../resources/dashboard/switch_status.php | 10 +- .../resources/dashboard/system_counts.php | 10 +- .../resources/dashboard/system_cpu_status.php | 10 +- .../resources/dashboard/system_status.php | 6 +- .../resources/dashboard/voicemails.php | 12 +- .../resources/dashboard/missed_calls.php | 12 +- .../resources/dashboard/recent_calls.php | 14 ++- core/dashboard/app_config.php | 10 ++ core/dashboard/app_languages.php | 104 +++++++++++++++ core/dashboard/dashboard_edit.php | 118 +++++++++++------- core/dashboard/index.php | 10 +- themes/default/css.php | 14 +-- 16 files changed, 260 insertions(+), 114 deletions(-) diff --git a/app/call_forward/resources/dashboard/call_forward.php b/app/call_forward/resources/dashboard/call_forward.php index 54b4bec1f3..4cfdcc6625 100644 --- a/app/call_forward/resources/dashboard/call_forward.php +++ b/app/call_forward/resources/dashboard/call_forward.php @@ -102,12 +102,12 @@ //begin widget echo "
\n"; - echo "
\n"; - echo " ".$text['header-call_forward']."\n"; + echo "
\n"; + echo " ".$text['header-call_forward']."\n"; //doughnut chart if ($dashboard_chart_type == "doughnut") { - echo "
\n"; + echo "
\n"; echo "\n"; } if ($dashboard_chart_type == "none") { - echo " ".$stats['call_forward'].""; + echo " ".$stats['call_forward'].""; } echo "
\n"; diff --git a/app/domain_limits/resources/dashboard/domain_limits.php b/app/domain_limits/resources/dashboard/domain_limits.php index 3dc342d20a..8640b8b25b 100644 --- a/app/domain_limits/resources/dashboard/domain_limits.php +++ b/app/domain_limits/resources/dashboard/domain_limits.php @@ -110,12 +110,12 @@ $hud_stat_title = $text['label-destinations']; } - echo "
\n"; - echo " ".$text['label-domain_limits']."\n"; + echo "
\n"; + echo " ".$text['label-domain_limits']."\n"; //doughnut chart if ($dashboard_chart_type == "doughnut") { - echo "
\n"; + echo "
\n"; echo "\n"; } if ($dashboard_chart_type == "none") { - echo " ".$hud_stat_used.""; + echo " ".$hud_stat_used.""; } echo "
\n"; diff --git a/app/extensions/resources/dashboard/caller_id.php b/app/extensions/resources/dashboard/caller_id.php index 2ef2869f99..3a787e2886 100644 --- a/app/extensions/resources/dashboard/caller_id.php +++ b/app/extensions/resources/dashboard/caller_id.php @@ -173,12 +173,12 @@ //caller id echo "
\n"; - echo "
\n"; - echo " ".$text['label-caller_id_number']."\n"; + echo "
\n"; + echo " ".$text['label-caller_id_number']."\n"; //doughnut chart if ($dashboard_chart_type == "doughnut") { - echo "
\n"; + echo "
\n"; echo "\n"; } if ($dashboard_chart_type == "none") { - echo " ".$stats['undefined'].""; + echo " ".$stats['undefined'].""; } echo "
\n"; diff --git a/app/ring_groups/resources/dashboard/ring_group_forward.php b/app/ring_groups/resources/dashboard/ring_group_forward.php index 8bbc383126..550d3e9f45 100644 --- a/app/ring_groups/resources/dashboard/ring_group_forward.php +++ b/app/ring_groups/resources/dashboard/ring_group_forward.php @@ -152,15 +152,15 @@ //ring group forward echo "
\n"; - - echo "
\n"; - echo " ".$text['header-ring-group-forward']."\n"; + + echo "
\n"; + echo " ".$text['header-ring-group-forward']."\n"; //doughnut chart if ($dashboard_chart_type == "doughnut") { - echo "
\n"; - + echo "
\n"; + echo "\n"; } if ($dashboard_chart_type == "none") { - echo " ".$stats['forwarding'].""; + echo " ".$stats['forwarding'].""; } echo "
\n"; diff --git a/app/switch/resources/dashboard/switch_status.php b/app/switch/resources/dashboard/switch_status.php index de4278c0e8..d5f2425739 100644 --- a/app/switch/resources/dashboard/switch_status.php +++ b/app/switch/resources/dashboard/switch_status.php @@ -76,13 +76,13 @@ $registrations = $registration->count(); } - echo "
\n"; - echo " ".$text['label-switch_status']."\n"; + echo "
\n"; + echo " ".$text['label-switch_status']."\n"; if ($dashboard_chart_type == "doughnut") { //add doughnut chart ?> -
+