fixed styles

This commit is contained in:
daniel 2023-03-02 14:25:52 +01:00
parent 9a295cf974
commit 6545bdbaf1
6 changed files with 32 additions and 27 deletions

View File

@ -583,7 +583,7 @@ function initialiceLayout(data) {
success: function(data) { success: function(data) {
$("#modal-add-widget").empty(); $("#modal-add-widget").empty();
$("#modal-add-widget").append(data); $("#modal-add-widget").append(data);
$("a.pagination").click(function() { $("a.pandora_pagination").click(function() {
var offset = $(this) var offset = $(this)
.attr("href") .attr("href")
.split("=") .split("=")

View File

@ -28,6 +28,10 @@ ul.mn {
justify-content: center; justify-content: center;
} }
#menu_tab {
margin: 0px;
}
#menu_tab li.nomn.tab_operation img, #menu_tab li.nomn.tab_operation img,
#menu_tab li.nomn.tab_godmode img, #menu_tab li.nomn.tab_godmode img,
#menu_tab li.nomn_high.tab_operation img, #menu_tab li.nomn_high.tab_operation img,
@ -111,8 +115,6 @@ h1 {
} }
.grid-stack-item .grid-stack-item-content .header-widget { .grid-stack-item .grid-stack-item-content .header-widget {
background-color: black;
color: #fff;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;

View File

@ -10639,12 +10639,14 @@ table tr td:first-child {
input[type="color"] { input[type="color"] {
background: transparent; background: transparent;
padding: 0 10px;
width: 50px;
box-sizing: initial; box-sizing: initial;
border: 2px solid #14524f; height: 25px;
box-shadow: 0px 3px 6px #c7c7c7; width: 50px;
border-radius: 16px; padding: 0px;
margin: 0px;
border: 0px;
border-radius: 0px;
box-shadow: none;
} }
span.ColorPickerDivSample { span.ColorPickerDivSample {

View File

@ -49,7 +49,7 @@ if ($manageDashboards !== 0 || $writeDashboards !== 0) {
if ((int) $cellData['id_widget'] !== 0) { if ((int) $cellData['id_widget'] !== 0) {
$output .= '<a id="configure-widget-'.$cellData['id'].'" class="">'; $output .= '<a id="configure-widget-'.$cellData['id'].'" class="">';
$output .= html_print_image( $output .= html_print_image(
'images/input_cog_white.png', 'images/configuration@svg.svg',
true, true,
[ [
'width' => '16px', 'width' => '16px',
@ -61,7 +61,7 @@ if ($manageDashboards !== 0 || $writeDashboards !== 0) {
$output .= '<a id="delete-widget-'.$cellData['id'].'" class="">'; $output .= '<a id="delete-widget-'.$cellData['id'].'" class="">';
$output .= html_print_image( $output .= html_print_image(
'images/input_delete_white.png', 'images/delete.svg',
true, true,
[ [
'width' => '16px', 'width' => '16px',

View File

@ -273,22 +273,20 @@ if (isset($config['public_dashboard']) === true
} }
if ($publicLink === false) { if ($publicLink === false) {
if ((bool) is_metaconsole() === true) { ui_print_standard_header(
ui_meta_print_header( $dashboardName,
__('Dashboards').' » '.__('List'), '',
false, false,
$buttons '',
); true,
} else { $buttons,
ui_print_page_header( [
$dashboardName, [
'', 'link' => '',
false, 'label' => __('Dashboard'),
'', ],
false, ]
$buttons );
);
}
} else { } else {
$output = '<div id="dashboard-controls">'; $output = '<div id="dashboard-controls">';
foreach ($buttons as $key => $value) { foreach ($buttons as $key => $value) {

View File

@ -36,7 +36,10 @@ if ((int) $cellData['id_widget'] !== 0 || $widgetId !== 0) {
'add-widget-'.$cellData['id'], 'add-widget-'.$cellData['id'],
false, false,
'', '',
'class="sub cog add-widget"', [
'icon' => 'cog',
'mode' => 'secondary mini',
],
true true
); );