mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Dashboard - Add additional row span for detail expand button (#7450)
* Dashboard - Add additional row span for detail expand button * Update css.php * Update template.php
This commit is contained in:
@@ -405,12 +405,18 @@ foreach ($dashboard as $row) {
|
||||
echo " height: 195px;\n";
|
||||
echo "}\n";
|
||||
}
|
||||
$row_span = $row['dashboard_row_span'] * 4;
|
||||
$expanded_row_span = $row_span + 13;
|
||||
if ($row['dashboard_details_state'] === "expanded" || $row['dashboard_details_state'] === "contracted") {
|
||||
$row_span += 1;
|
||||
$expanded_row_span += 1;
|
||||
}
|
||||
if (!empty($row['dashboard_row_span'])) {
|
||||
echo "#".$dashboard_id." {\n";
|
||||
echo " grid-row: span ".$row['dashboard_row_span'].";\n";
|
||||
echo " grid-row: span ".$row_span.";\n";
|
||||
echo "}\n";
|
||||
echo "#".$dashboard_id.".expanded {\n";
|
||||
echo " grid-row: span ".($row['dashboard_row_span'] + 3).";\n";
|
||||
echo " grid-row: span ".$expanded_row_span.";\n";
|
||||
echo "}\n";
|
||||
}
|
||||
if (!empty($row['dashboard_column_span'])) {
|
||||
|
||||
@@ -3134,7 +3134,7 @@ else { //default: white
|
||||
|
||||
@media(min-width: 1200px) {
|
||||
div.hud_details {
|
||||
height: 318px;
|
||||
height: 345.5px;
|
||||
display: block;
|
||||
<?php
|
||||
echo "background: ".($dashboard_detail_background_color[0] ?? '#ffffff').";\n";
|
||||
@@ -3190,10 +3190,10 @@ else { //default: white
|
||||
display: block;
|
||||
clear: both;
|
||||
background: <?=$dashboard_footer_background_color?>;
|
||||
padding: 4px 0;
|
||||
padding: 6px 0;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
height: 25px;
|
||||
height: 26.5px;
|
||||
font-size: 13px;
|
||||
line-height: 5px;
|
||||
color: <?=$dashboard_footer_dots_color?>;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<link rel='stylesheet' type='text/css' href='{$project_path}/resources/bootstrap/css/bootstrap-tempusdominus.min.css.php'>
|
||||
<link rel='stylesheet' type='text/css' href='{$project_path}/resources/bootstrap/css/bootstrap-colorpicker.min.css.php'>
|
||||
<link rel='stylesheet' type='text/css' href='{$project_path}/resources/fontawesome/css/all.min.css.php'>
|
||||
<link rel='stylesheet' type='text/css' href='{$project_path}/themes/default/css.php?updated=202507301100'>
|
||||
<link rel='stylesheet' type='text/css' href='{$project_path}/themes/default/css.php?updated=202508060330'>
|
||||
{*//link to custom css file *}
|
||||
{if !empty($settings.theme.custom_css)}
|
||||
<link rel='stylesheet' type='text/css' href='{$settings.theme.custom_css}'>
|
||||
|
||||
Reference in New Issue
Block a user