Add dashboard icon color setting (#7197)
* Add dashboard icon color setting * Update index.php * Update app_languages.php * Update app_defaults.php * Update app_config.php * Update dashboard_edit.php * Update index.php * Update app_languages.php * Update app_defaults.php * Update app_config.php * Update config.php * Update domains.php * Update config.php * Update config.php * Update config.php * Update config.php * Update config.php * Update config.php * Update config.php * Update config.php * Update config.php * Update config.php * Update registrations.php * Update config.php * Update config.php * Update config.php * Update config.php * Update voicemails.php * Update config.php * Update missed_calls.php * Update recent_calls.php * Update index.php * Update index.php * Update index.php
This commit is contained in:
@@ -5,6 +5,7 @@ $array['dashboard'][$x]['dashboard_uuid'] = 'ce343ebe-3b54-4aad-b7e0-66de02171e7
|
||||
$array['dashboard'][$x]['dashboard_name'] = 'Registrations';
|
||||
$array['dashboard'][$x]['dashboard_path'] = 'registrations/registrations.php';
|
||||
$array['dashboard'][$x]['dashboard_icon'] = 'fa-list-check';
|
||||
$array['dashboard'][$x]['dashboard_icon_color'] = '#bfbfbf';
|
||||
$array['dashboard'][$x]['dashboard_url'] = '/app/registrations/registrations.php';
|
||||
$array['dashboard'][$x]['dashboard_target'] = 'self';
|
||||
$array['dashboard'][$x]['dashboard_width'] = '';
|
||||
@@ -18,9 +19,9 @@ $array['dashboard'][$x]['dashboard_label_text_color'] = '';
|
||||
$array['dashboard'][$x]['dashboard_label_text_color_hover'] = '';
|
||||
$array['dashboard'][$x]['dashboard_label_background_color'] = '';
|
||||
$array['dashboard'][$x]['dashboard_label_background_color_hover'] = '';
|
||||
$array['dashboard'][$x]['dashboard_number_background_color'] = '';
|
||||
$array['dashboard'][$x]['dashboard_number_text_color'] = '#bfbfbf';
|
||||
$array['dashboard'][$x]['dashboard_number_text_color'] = '#ffffff';
|
||||
$array['dashboard'][$x]['dashboard_number_text_color_hover'] = '';
|
||||
$array['dashboard'][$x]['dashboard_number_background_color'] = '#5d5ce3';
|
||||
$array['dashboard'][$x]['dashboard_background_color'] ='';
|
||||
$array['dashboard'][$x]['dashboard_background_color_hover'] = '';
|
||||
$array['dashboard'][$x]['dashboard_detail_background_color'] = '';
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
echo " <span class='hud_title' onclick=\"window.open('".$dashboard_url."', '".$dashboard_target."', '".$window_parameters."')\">".escape($dashboard_label)."</span>";
|
||||
echo " <div style='position: relative; display: inline-block;'>\n";
|
||||
echo " <span class='hud_stat' onclick=\"window.open('".$dashboard_url."', '".$dashboard_target."', '".$window_parameters."')\"><i class=\"fas ".$dashboard_icon."\"></i></span>\n";
|
||||
echo " <span style=\"background-color: #5d5ce3; color: #ffffff; font-size: 12px; font-weight: bold; text-align: center; position: absolute; top: 22px; left: 25px; padding: 2px 7px 1px 7px; border-radius: 10px; white-space: nowrap;\">".$active_registrations." / ".($active_registrations + $inactive_registrations)."</span>\n";
|
||||
echo " <span style=\"background-color: ".($row['dashboard_number_background_color'] ?? '#5d5ce3')."; color: ".($row['dashboard_number_text_color'] ?? '#ffffff')."; font-size: 12px; font-weight: bold; text-align: center; position: absolute; top: 22px; left: 25px; padding: 2px 7px 1px 7px; border-radius: 10px; white-space: nowrap;\">".$active_registrations." / ".($active_registrations + $inactive_registrations)."</span>\n";
|
||||
echo " </div>\n";
|
||||
echo " </div>\n";
|
||||
if (empty($dashboard_details_state) || $dashboard_details_state != "disabled") {
|
||||
|
||||
Reference in New Issue
Block a user