Merge branch 'develop' into ent-13451-widget-module-status-y-module-value-tema-oscuro-y-color-valor
This commit is contained in:
commit
6589d4a0aa
|
@ -685,7 +685,7 @@ class AgentsAlerts extends HTML
|
|||
$alias = db_get_row('tagente', 'id_agente', $agent['id_agente']);
|
||||
echo '<tr>';
|
||||
// Name of the agent.
|
||||
echo '<td style="text-align: left;font-weight: bold;color: #3f3f3f;">'.$alias['alias'].'</td>';
|
||||
echo '<td style="text-align: left;font-weight: bold;color: var(--text-color-4);">'.$alias['alias'].'</td>';
|
||||
// Alerts of the agent.
|
||||
foreach ($templates as $tid => $tname) {
|
||||
$anyfired = 0;
|
||||
|
|
|
@ -752,7 +752,7 @@ function inventory_get_datatable(
|
|||
}
|
||||
|
||||
if ($inventory_search_string != '') {
|
||||
array_push($where, "REPLACE(tagente_datos_inventory.data, ' ', ' ') LIKE '%".$inventory_search_string."%'");
|
||||
array_push($where, "REPLACE(tagent_module_inventory.data, ' ', ' ') LIKE '%".$inventory_search_string."%'");
|
||||
}
|
||||
|
||||
if ($utimestamp > 0) {
|
||||
|
|
|
@ -471,6 +471,8 @@ function createVisualConsole(
|
|||
// Start an interval to update the Visual Console.
|
||||
updateVisualConsole(props.id, updateInterval, updateInterval);
|
||||
}
|
||||
|
||||
normalizeStylesVC();
|
||||
} catch (error) {
|
||||
console.log("[ERROR]", "[VISUAL-CONSOLE-CLIENT]", error.message);
|
||||
}
|
||||
|
@ -2062,3 +2064,9 @@ function center_labels() {
|
|||
}
|
||||
});
|
||||
}
|
||||
|
||||
function normalizeStylesVC() {
|
||||
$(".visual-console-container-dashboard h1").addClass("unbootstrap");
|
||||
$(".visual-console-container-dashboard h2").addClass("unbootstrap");
|
||||
$(".visual-console-container-dashboard .graph").addClass("unbootstrap");
|
||||
}
|
||||
|
|
|
@ -455,7 +455,7 @@ class GraphModuleHistogramWidget extends Widget
|
|||
|
||||
$style = 'min-width:200px; min-height:100px;';
|
||||
$output .= '<div class="container-center" style="'.$style.'">';
|
||||
$output .= '<div style="font-size:'.$size_label.'px;">';
|
||||
$output .= '<div style="font-size:'.$size_label.'px; line-height:'.($size_label + 5).'px;">';
|
||||
$output .= $label;
|
||||
$output .= '</div>';
|
||||
$style = 'min-width:200px; width:'.($size['width'] + 15).'px;';
|
||||
|
|
|
@ -493,7 +493,7 @@ class MapsMadeByUser extends Widget
|
|||
|
||||
$output .= '<script type="text/javascript">';
|
||||
$output .= '$(document).ready(function () {';
|
||||
$output .= 'dashboardLoadVC('.$settings.')';
|
||||
$output .= 'dashboardLoadVC('.$settings.');';
|
||||
$output .= '});';
|
||||
$output .= '</script>';
|
||||
|
||||
|
|
|
@ -71,12 +71,12 @@ hr {
|
|||
height: 0;
|
||||
overflow: visible;
|
||||
}
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
h1:not(.unbootstrap),
|
||||
h2:not(.unbootstrap),
|
||||
h3:not(.unbootstrap),
|
||||
h4:not(.unbootstrap),
|
||||
h5:not(.unbootstrap),
|
||||
h6:not(.unbootstrap) {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
@ -311,18 +311,18 @@ template {
|
|||
[hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
.h1,
|
||||
.h2,
|
||||
.h3,
|
||||
.h4,
|
||||
.h5,
|
||||
.h6,
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
.h1:not(.unbootstrap),
|
||||
.h2:not(.unbootstrap),
|
||||
.h3:not(.unbootstrap),
|
||||
.h4:not(.unbootstrap),
|
||||
.h5:not(.unbootstrap),
|
||||
.h6:not(.unbootstrap),
|
||||
h1:not(.unbootstrap),
|
||||
h2:not(.unbootstrap),
|
||||
h3:not(.unbootstrap),
|
||||
h4:not(.unbootstrap),
|
||||
h5:not(.unbootstrap),
|
||||
h6:not(.unbootstrap) {
|
||||
margin-bottom: 0.5rem;
|
||||
font-weight: 500;
|
||||
line-height: 1.2;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -46,16 +46,11 @@ a {
|
|||
text-decoration: none;
|
||||
}
|
||||
|
||||
h1 {
|
||||
h1:not(.unbootstrap) {
|
||||
font-size: 2.5rem;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.visual-console-container-dashboard h1 {
|
||||
font-size: inherit;
|
||||
margin-bottom: inherit;
|
||||
}
|
||||
|
||||
.container-fluid {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
@ -971,7 +966,7 @@ input.resize_button {
|
|||
right: 20px;
|
||||
}
|
||||
|
||||
.parent_graph > .graph {
|
||||
.parent_graph > .graph:not(.unbootstrap) {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
|
@ -994,3 +989,14 @@ input.resize_button {
|
|||
width: 100%;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.select2-container.select2-container--default.select2-container--open {
|
||||
z-index: 999999;
|
||||
}
|
||||
.select2-search__field {
|
||||
box-sizing: border-box !important;
|
||||
}
|
||||
|
||||
.grid-stack-item-content .visual-console-container-dashboard {
|
||||
text-align: initial;
|
||||
}
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
--text-color: #333;
|
||||
--text-color-2: #161628;
|
||||
--text-color-3: #454545;
|
||||
--text-color-4: #3f3f3f;
|
||||
|
||||
--background-main-color: #f6f7fb;
|
||||
|
||||
|
@ -10553,6 +10554,13 @@ select {
|
|||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
input.buttonButton {
|
||||
border: 0px;
|
||||
outline: 0px;
|
||||
border-radius: 8px;
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
input[list],
|
||||
textarea[list],
|
||||
select[list] {
|
||||
|
@ -11163,7 +11171,6 @@ button.ui-button-text-only.ui-widget.sub {
|
|||
font-size: 16px !important;
|
||||
align-items: center;
|
||||
line-height: 24px;
|
||||
box-shadow: 0px 3px 6px #c7c7c7;
|
||||
border-radius: 16px;
|
||||
cursor: pointer;
|
||||
padding: 0 16px;
|
||||
|
@ -14044,6 +14051,7 @@ button.disabled {
|
|||
|
||||
.white_table_graph > div {
|
||||
background-color: transparent;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.link-bold {
|
||||
|
@ -14195,3 +14203,16 @@ table#snmp_console tbody .datos_orange * {
|
|||
background-color: var(--events-priority-bg-orange);
|
||||
color: var(--events-priority-text-orange) !important;
|
||||
}
|
||||
|
||||
.open_search_status_color {
|
||||
color: var(--text-color-2);
|
||||
}
|
||||
|
||||
button.ui-button-text-only.ui-widget.sub:hover,
|
||||
#button_generate_code input.buttonButton:hover {
|
||||
box-shadow: 0px 3px 6px #c7c7c7;
|
||||
}
|
||||
|
||||
#button_generate_code input.buttonButton {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
|
|
@ -28,6 +28,7 @@ Description: The default Pandora FMS theme layout
|
|||
--text-color: #fff;
|
||||
--text-color-2: #ededed;
|
||||
--text-color-3: #d5d5d5;
|
||||
--text-color-4: #dddddd;
|
||||
|
||||
--background-main-color: #f6f7fb;
|
||||
--background-2: #95a3bf;
|
||||
|
@ -77,7 +78,6 @@ table
|
|||
div#head,
|
||||
#menu_tab li.nomn_high,
|
||||
#menu_tab li.nomn_high span,
|
||||
.white_table_graph_header,
|
||||
.white-box-content,
|
||||
fieldset,
|
||||
.databox.filters,
|
||||
|
@ -267,6 +267,7 @@ h4,
|
|||
.info_table > thead > tr > th,
|
||||
.info_table > thead > tr > th a,
|
||||
.info_table > thead > tr > th > span,
|
||||
th,
|
||||
form.discovery label,
|
||||
.edit_user_labels,
|
||||
.input_label,
|
||||
|
@ -274,7 +275,8 @@ form.discovery label,
|
|||
tr.group_view_data,
|
||||
.group_view_data,
|
||||
ol.steps li span,
|
||||
ol.steps li a {
|
||||
ol.steps li a,
|
||||
.div-span {
|
||||
color: var(--text-color) !important;
|
||||
}
|
||||
|
||||
|
@ -1132,17 +1134,15 @@ select,
|
|||
}
|
||||
|
||||
.white_table_graph_header {
|
||||
border: 1px solid #707070;
|
||||
background-color: var(--secondary-color) !important;
|
||||
color: var(--text-color) !important;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.white_table_graph {
|
||||
background-color: #111 !important;
|
||||
background-color: var(--secondary-color) !important;
|
||||
}
|
||||
table.databox {
|
||||
border-color: #707070;
|
||||
border-color: var(--border-color);
|
||||
background-color: var(--secondary-color) !important;
|
||||
color: var(--text-color) !important;
|
||||
}
|
||||
|
@ -1175,6 +1175,7 @@ li.ui-tabs-tab.ui-corner-top.ui-state-default.ui-tab {
|
|||
width: 100%;
|
||||
position: relative;
|
||||
height: 30px;
|
||||
background-color: var(--secondary-color);
|
||||
}
|
||||
|
||||
.chartLegend table {
|
||||
|
@ -1182,7 +1183,8 @@ li.ui-tabs-tab.ui-corner-top.ui-state-default.ui-tab {
|
|||
right: 0px;
|
||||
}
|
||||
|
||||
.graph_container {
|
||||
.graph_container,
|
||||
#graph_container {
|
||||
width: 800px;
|
||||
margin: 20px auto;
|
||||
border-radius: 3px;
|
||||
|
@ -1514,7 +1516,7 @@ span.select2-dropdown.select2-dropdown--below {
|
|||
}
|
||||
|
||||
div.white_table_graph {
|
||||
border-radius: 0;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
div.white_box_opened[style*="height: 0px"],
|
||||
|
@ -1598,7 +1600,6 @@ a.autorefresh_txt,
|
|||
.white_box,
|
||||
.white-box-content {
|
||||
border: 0px;
|
||||
background-color: var(--secondary-color) !important;
|
||||
color: var(--text-color) !important;
|
||||
}
|
||||
|
||||
|
@ -1623,8 +1624,7 @@ a.pandora_pagination,
|
|||
border: 1px solid #2b2b2b !important;
|
||||
}
|
||||
|
||||
.white_box,
|
||||
.white-box-content {
|
||||
.white_box {
|
||||
border: 1px solid #333;
|
||||
}
|
||||
|
||||
|
@ -1638,11 +1638,7 @@ a.pandora_pagination,
|
|||
}
|
||||
|
||||
.box-flat {
|
||||
border: 1px solid #333;
|
||||
}
|
||||
|
||||
.white_table_graph_header {
|
||||
border: 1px solid #333;
|
||||
border: 1px solid var(--border-color);
|
||||
}
|
||||
|
||||
.info_table > tbody > tr > td {
|
||||
|
@ -2009,6 +2005,54 @@ div.show_result_interpreter {
|
|||
border-top: 0;
|
||||
}
|
||||
|
||||
th {
|
||||
border-bottom: 1px solid var(--border-color);
|
||||
}
|
||||
|
||||
.white_table_graph.fixed_filter_bar {
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.div-import,
|
||||
.div-export {
|
||||
background-color: var(--secondary-color);
|
||||
border: 1px solid var(--border-color);
|
||||
}
|
||||
|
||||
img[src$="import_to.svg"],
|
||||
img[src$="export_to.svg"] {
|
||||
filter: brightness(0.9);
|
||||
}
|
||||
|
||||
button.disabled {
|
||||
background-color: #4b525c !important;
|
||||
cursor: initial;
|
||||
}
|
||||
|
||||
button.ui-button-text-only.ui-widget.sub:hover,
|
||||
#button_generate_code input.buttonButton:hover,
|
||||
#registration_wizard button[type="submit"]:hover {
|
||||
box-shadow: 0px 2px 5px #837e7e6b;
|
||||
}
|
||||
|
||||
#registration_wizard button[type="submit"].submit-cancel:hover {
|
||||
color: var(--text-color) !important;
|
||||
}
|
||||
|
||||
#button_generate_code input.buttonButton,
|
||||
#registration_wizard button[type="submit"]:not(.submit-cancel) {
|
||||
background-color: var(--primary-color) !important;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
#registration_wizard button[type="submit"] > span {
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
button.secondaryButton {
|
||||
color: var(--text-color) !important;
|
||||
}
|
||||
|
||||
li.agent-autocomplete-li-text-color a {
|
||||
color: #333 !important;
|
||||
}
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
div.submit_buttons_container {
|
||||
position: relative;
|
||||
margin: 10px auto 0px;
|
||||
bottom: 0px;
|
||||
width: 95%;
|
||||
clear: both;
|
||||
height: 4em;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.license_text {
|
||||
|
@ -13,3 +14,7 @@ div.submit_buttons_container {
|
|||
text-align: justify;
|
||||
margin: 1em auto;
|
||||
}
|
||||
|
||||
div.submit_buttons_container > div {
|
||||
display: initial;
|
||||
}
|
||||
|
|
|
@ -80,26 +80,24 @@ $product_name = get_product_name(); ?>
|
|||
</div>
|
||||
|
||||
<div class="submit_buttons_container">
|
||||
<div class="left">
|
||||
<div class="ui-dialog-buttonset mrgn_lft_15px">
|
||||
<?php
|
||||
echo html_print_submit_button(
|
||||
__('Cancel'),
|
||||
'cancel_registration',
|
||||
false,
|
||||
'id="submit-cancel_registration" class="lato ui-widget
|
||||
ui-state-default ui-corner-all ui-button-text-only sub upd submit-cancel"',
|
||||
'id="submit-cancel_registration" class="submit-cancel secondaryButton ui-button ui-corner-all ui-widget"',
|
||||
true
|
||||
);
|
||||
?>
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="ui-dialog-buttonset right">
|
||||
<?php
|
||||
echo html_print_submit_button(
|
||||
__('OK!'),
|
||||
'register',
|
||||
false,
|
||||
'id="submit-register" class="lato ui-widget
|
||||
ui-state-default ui-corner-all ui-button-text-only sub ok submit-next w100px"',
|
||||
'id="submit-register" class="submit-next ui-button ui-corner-all ui-widget"',
|
||||
true
|
||||
);
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue