Update missed, recent calls and new messages

This commit is contained in:
FusionPBX
2024-09-14 03:10:55 -06:00
committed by GitHub
parent c406761897
commit a9f61e8cfc
6 changed files with 50 additions and 14 deletions
@@ -136,9 +136,22 @@
</script>
<?php
}
//dashboard numeric
if (!isset($dashboard_chart_type) || $dashboard_chart_type == "number") {
echo "<span class='hud_stat'>".$num_rows."</span>";
}
//dashboard icon
if (!isset($dashboard_chart_type) || $dashboard_chart_type == "icon") {
echo "<div class='hud_content'>\n";
echo " <div style='position: relative; display: inline-block;'>\n";
echo " <span class='hud_stat'><i class=\"fas ".$dashboard_icon." \"></i></span>\n";
echo " <span class='' style=\"background-color: #417ed3; color: #ffffff; font-size: 12px; font-weight: bold; text-align: center; position: absolute; bottom: -5px; right: -15px; padding: 4px 8px; border-radius: 50%;\">".$num_rows."</span>\n";
echo " </div>\n";
echo "</div>";
}
echo "</div>\n";
if ($dashboard_details_state != 'disabled') {