Dashboard - Allow drag and drop in parent widgets (#7431)

* Dashboard - Allow drag and drop in parent widgets

* Update parent.php

* Update index.php

* Update config.php

* Update missed_calls.php

* Update recent_calls.php

* Update voicemails.php

* Update active_calls.php

* Update config.php

* Update config.php

* Update config.php

* Update voicemails.php

* Update parent.php

* Update voicemails.php

* Update parent.php

* Update parent.php

* Update index.php

---------

Co-authored-by: FusionPBX <markjcrane@gmail.com>
This commit is contained in:
Alex
2025-07-23 16:32:39 -07:00
committed by GitHub
parent f39448ba54
commit fc4b8a2652
9 changed files with 264 additions and 150 deletions

View File

@@ -146,12 +146,10 @@
//dashboard icon
if (!isset($dashboard_chart_type) || $dashboard_chart_type == "icon") {
echo "<span class='hud_content'>\n";
echo "<div style='position: relative; display: inline-block;'>\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 style=\"background-color: ".(!empty($dashboard_number_background_color) ? $dashboard_number_background_color : '#EA4C46')."; color: ".(!empty($dashboard_number_text_color) ? $dashboard_number_text_color : '#ffffff')."; font-size: 12px; font-weight: bold; text-align: center; position: absolute; top: 23px; left: 24.5px; padding: 2px 7px 1px 7px; border-radius: 10px; white-space: nowrap;\">".$num_rows."</span>\n";
echo " </div>\n";
echo "</span>";
}
echo "</div>\n";

View File

@@ -144,12 +144,10 @@
//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 style=\"background-color: ".(!empty($dashboard_number_background_color) ? $dashboard_number_background_color : '#417ed3')."; color: ".(!empty($dashboard_number_text_color) ? $dashboard_number_text_color : '#ffffff')."; font-size: 12px; font-weight: bold; text-align: center; position: absolute; top: 23px; left: 24.5px; padding: 2px 7px 1px 7px; border-radius: 10px; white-space: nowrap;\">".$num_rows."</span>\n";
echo " </div>\n";
echo "</div>";
}
echo "</div>\n";