Dashboard - Use a class to determine the row span (#7451)

* Dashboard - Use a class to determine the row span

* Update parent.php

* Update icon.php

* Update content.php

* Update domains.php

* Update dashboard_edit.php

* Update missed_calls.php

* Update recent_calls.php

* Update voicemails.php

* Update system_counts.php

* Update system_cpu_status.php

* Update system_disk_usage.php

* Update system_services.php

* Update system_status.php

* Update system_services.php

* Update switch_status.php

* Update registrations.php

* Update ring_group_forward.php

* Update caller_id.php

* Update domain_limits.php

* Update call_forward.php

* Update active_calls.php
This commit is contained in:
Alex
2025-08-06 16:01:09 -07:00
committed by GitHub
parent 9a377766cd
commit b64ebb374d
21 changed files with 217 additions and 135 deletions

View File

@@ -77,13 +77,13 @@
}
//show the content
echo "<div class='hud_content' ".($dashboard_details_state == "disabled" ?: "onclick=\"$('#hud_switch_status_details').slideToggle('fast'); toggle_grid_row_end('".$dashboard_id."');\"").">\n";
echo "<div class='hud_content' ".($dashboard_details_state == "disabled" ?: "onclick=\"$('#hud_switch_status_details').slideToggle('fast');\"").">\n";
echo " <span class='hud_title'>".$text['label-switch_status']."</span>\n";
if (!isset($dashboard_chart_type) || $dashboard_chart_type == "doughnut") {
//add doughnut chart
?>
<div class='hud_chart'><canvas id='switch_status_chart'></canvas></div>
<div class='hud_chart' style='width: 175px;'><canvas id='switch_status_chart'></canvas></div>
<script>
const switch_status_chart = new Chart(
@@ -178,7 +178,7 @@
echo "</div>";
//$n++;
echo "<span class='hud_expander' onclick=\"$('#hud_switch_status_details').slideToggle('fast'); toggle_grid_row_end('".$dashboard_id."');\"><span class='fas fa-ellipsis-h'></span></span>";
echo "<span class='hud_expander' onclick=\"$('#hud_switch_status_details').slideToggle('fast');\"><span class='fas fa-ellipsis-h'></span></span>";
}
echo "</div>\n";