fixed styles
This commit is contained in:
parent
0380e8a10c
commit
e514a0efb5
|
@ -186,7 +186,7 @@ function mainInsertData()
|
|||
}
|
||||
|
||||
$table = new stdClass();
|
||||
$table->class = 'databox m2020';
|
||||
$table->class = 'databox';
|
||||
$table->style = [];
|
||||
$table->cellstyle[0][0] = 'width: 0';
|
||||
$table->cellstyle[0][1] = 'width: 0';
|
||||
|
|
|
@ -437,7 +437,7 @@ function resource_exportation_extension_main()
|
|||
);
|
||||
|
||||
$table = new stdClass();
|
||||
$table->class = 'databox m2020';
|
||||
$table->class = 'databox';
|
||||
$table->id = 'resource_exportation_table';
|
||||
$table->style = [];
|
||||
$table->style[0] = 'width: 0';
|
||||
|
|
|
@ -1122,7 +1122,7 @@ function resource_registration_extension_main()
|
|||
);
|
||||
|
||||
$table = new stdClass();
|
||||
$table->class = 'databox m2020';
|
||||
$table->class = 'databox';
|
||||
$table->id = 'resource_registration_table';
|
||||
|
||||
$table->data = [];
|
||||
|
|
|
@ -63,7 +63,7 @@ if ($id_field) {
|
|||
}
|
||||
|
||||
$table = new stdClass();
|
||||
$table->class = 'databox m2020';
|
||||
$table->class = 'databox';
|
||||
$table->id = 'configure_field';
|
||||
|
||||
echo "<div id='message_set_password' title='".__('Agent Custom Fields Information')."' class='invisible'>";
|
||||
|
|
|
@ -146,7 +146,7 @@ $fields = db_get_all_rows_filter(
|
|||
);
|
||||
|
||||
$table = new stdClass();
|
||||
$table->class = 'info_table m2020';
|
||||
$table->class = 'info_table';
|
||||
if ($fields) {
|
||||
$table->head = [];
|
||||
$table->head[0] = __('ID');
|
||||
|
|
|
@ -654,7 +654,7 @@ if ($agents !== false) {
|
|||
|
||||
$tableAgents = new stdClass();
|
||||
$tableAgents->id = 'agent_list';
|
||||
$tableAgents->class = 'info_table tactical_table m2020';
|
||||
$tableAgents->class = 'info_table tactical_table';
|
||||
$tableAgents->head = [];
|
||||
$tableAgents->data = [];
|
||||
// Header.
|
||||
|
|
|
@ -156,7 +156,7 @@ $iterator = 0;
|
|||
|
||||
if (empty($result) === false) {
|
||||
$table = new stdClass();
|
||||
$table->class = 'info_table m2020';
|
||||
$table->class = 'info_table';
|
||||
|
||||
$table->data = [];
|
||||
$table->head = [];
|
||||
|
|
|
@ -175,7 +175,7 @@ echo '<form method="post" action="index.php?sec='.$sec.'&sec2=godmode/category/e
|
|||
|
||||
$table = new stdClass();
|
||||
$table->id = 'edit_catagory_table';
|
||||
$table->class = 'databox m2020';
|
||||
$table->class = 'databox';
|
||||
|
||||
$table->head = [];
|
||||
if (is_metaconsole() === true) {
|
||||
|
|
|
@ -77,7 +77,7 @@ if ($id_group) {
|
|||
}
|
||||
|
||||
$table = new stdClass();
|
||||
$table->class = 'databox m2020';
|
||||
$table->class = 'databox';
|
||||
$table->style[0] = 'font-weight: bold';
|
||||
$table->data = [];
|
||||
$table->data[0][0] = __('Name');
|
||||
|
|
|
@ -253,7 +253,7 @@ $sql = 'SELECT *
|
|||
$groups = db_get_all_rows_sql($sql);
|
||||
|
||||
$table = new stdClass();
|
||||
$table->class = 'info_table m2020';
|
||||
$table->class = 'info_table';
|
||||
|
||||
if (empty($groups) === false) {
|
||||
$table->head = [];
|
||||
|
|
|
@ -260,7 +260,7 @@ foreach ($groups as $group_key => $group_val) {
|
|||
$groups = component_groups_get_groups_tree_recursive($groups_clean, 0, 0);
|
||||
|
||||
$table = new stdClass();
|
||||
$table->class = 'info_table m2020';
|
||||
$table->class = 'info_table';
|
||||
$table->head = [];
|
||||
$table->head['checkbox'] = html_print_checkbox('all_delete', 0, false, true, false);
|
||||
$table->head[0] = __('Name');
|
||||
|
|
|
@ -55,7 +55,7 @@ if ($id) {
|
|||
}
|
||||
|
||||
$table = new stdClass();
|
||||
$table->class = 'databox m2020';
|
||||
$table->class = 'databox';
|
||||
|
||||
if (is_metaconsole() === true) {
|
||||
$table->class = 'databox data';
|
||||
|
|
|
@ -89,7 +89,7 @@ if ($update_module === true) {
|
|||
|
||||
$table = new stdClass();
|
||||
$table->id = 'module_type_list';
|
||||
$table->class = 'info_table m2020';
|
||||
$table->class = 'info_table';
|
||||
$table->size = [];
|
||||
$table->size[0] = '5%';
|
||||
$table->size[1] = '5%';
|
||||
|
|
|
@ -84,7 +84,7 @@ if (isset($_GET['server']) === true) {
|
|||
|
||||
$table->cellpadding = 4;
|
||||
$table->cellspacing = 4;
|
||||
$table->class = 'databox m2020';
|
||||
$table->class = 'databox';
|
||||
$table->id = 'server_update_form';
|
||||
|
||||
$table->data[] = [
|
||||
|
|
|
@ -957,7 +957,7 @@ if (empty($create) === false || empty($view) === false) {
|
|||
if ($rows !== false) {
|
||||
$pluginTable = new stdClass();
|
||||
$pluginTable->id = 'plugin_table';
|
||||
$pluginTable->class = (is_metaconsole() === true) ? 'databox data' : 'info_table m2020';
|
||||
$pluginTable->class = (is_metaconsole() === true) ? 'databox data' : 'info_table';
|
||||
|
||||
$pluginTable->head = [];
|
||||
$pluginTable->head[0] = __('Name');
|
||||
|
|
|
@ -54,7 +54,7 @@ if ($servers === false) {
|
|||
}
|
||||
|
||||
$table = new StdClass();
|
||||
$table->class = 'info_table m2020';
|
||||
$table->class = 'info_table';
|
||||
$table->cellpadding = 0;
|
||||
$table->cellspacing = 0;
|
||||
$table->size = [];
|
||||
|
|
|
@ -60,11 +60,7 @@ if (is_management_allowed() === false) {
|
|||
}
|
||||
|
||||
$table = new stdClass();
|
||||
|
||||
// $table->width = '100%';
|
||||
// $table->styleTable = 'margin: 10px 10px 0';
|
||||
$table->class = 'info_table m2020';
|
||||
|
||||
$table->class = 'info_table';
|
||||
$table->head[0] = __('ID');
|
||||
$table->head[1] = __('Icon');
|
||||
$table->head[2] = __('Name');
|
||||
|
|
|
@ -58,31 +58,32 @@
|
|||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "lato";
|
||||
font-family: "lato-light";
|
||||
src: url("../fonts/Lato-Light.woff") format("woff");
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "lato";
|
||||
font-family: "lato-thin";
|
||||
src: url("../fonts/Lato-Thin.woff") format("woff");
|
||||
font-weight: 100;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "lato";
|
||||
font-family: "lato-bold";
|
||||
src: url("../fonts/Lato-Bold.woff") format("woff");
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "lato";
|
||||
font-family: "lato-bolder";
|
||||
src: url("../fonts/Lato-Black.woff") format("woff");
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
/*
|
||||
@font-face {
|
||||
font-family: "lato";
|
||||
font-family: "lato-italic";
|
||||
src: url("../fonts/Lato-Italic.woff") format("woff");
|
||||
font-weight: 400;
|
||||
font-style: italic;
|
||||
|
@ -115,6 +116,7 @@
|
|||
font-weight: 900;
|
||||
font-style: italic;
|
||||
}
|
||||
*/
|
||||
|
||||
@font-face {
|
||||
font-family: "source-code";
|
||||
|
@ -272,7 +274,7 @@ ul {
|
|||
|
||||
fieldset {
|
||||
background-color: #fff;
|
||||
border: 1px solid #e2e2e2;
|
||||
border: 1px solid #e5e9ed;
|
||||
padding: 0.5em;
|
||||
margin-bottom: 20px;
|
||||
position: relative;
|
||||
|
@ -282,10 +284,7 @@ fieldset {
|
|||
fieldset legend {
|
||||
font-size: 1.1em;
|
||||
font-weight: bold;
|
||||
line-height: 20px;
|
||||
color: #3f3f3f;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 0px 10px 0px 10px;
|
||||
}
|
||||
|
||||
td input[type="checkbox"] {
|
||||
|
@ -891,10 +890,6 @@ select:-internal-list-box {
|
|||
display: flex;
|
||||
}
|
||||
|
||||
.padding-0 {
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.padding-2 {
|
||||
padding: 2em;
|
||||
}
|
||||
|
@ -1071,15 +1066,11 @@ select:-internal-list-box {
|
|||
}
|
||||
|
||||
div#page {
|
||||
background: #fbfbfb;
|
||||
background-image: none;
|
||||
/* clear: both; */
|
||||
width: auto;
|
||||
/* padding-top: 5px; */
|
||||
/* padding-right: 3em; */
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-top: 58px;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body.pure {
|
||||
|
@ -1092,17 +1083,17 @@ div#container {
|
|||
text-align: left;
|
||||
background: #f6f7fb;
|
||||
width: 100%;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
div#main {
|
||||
display: flex;
|
||||
/* width: 100%; */
|
||||
/* margin-left: 3em; */
|
||||
background-color: #f6f7fb;
|
||||
padding-bottom: 3em;
|
||||
position: relative;
|
||||
/* margin-top: 8.8em; */
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
margin: 25px;
|
||||
}
|
||||
|
||||
textarea.conf_editor {
|
||||
|
@ -1751,15 +1742,13 @@ div.title_line {
|
|||
align-items: flex-end;
|
||||
justify-content: space-between;
|
||||
border-bottom: 1px solid #eee;
|
||||
/* width: calc(100% + 3em); */
|
||||
width: -webkit-fill-available;
|
||||
width: -moz-available;
|
||||
padding-right: 0px;
|
||||
/* margin-bottom: 20px; */
|
||||
height: 53px;
|
||||
box-sizing: border-box;
|
||||
background-color: #fff;
|
||||
/* margin-left: -3em; */
|
||||
margin: -25px -25px 25px -25px;
|
||||
}
|
||||
|
||||
/* Breadcrum */
|
||||
|
@ -3789,7 +3778,6 @@ div.div_groups_status {
|
|||
}
|
||||
|
||||
.databox.pies fieldset.tactical_set {
|
||||
width: 100%;
|
||||
min-height: 285px;
|
||||
}
|
||||
|
||||
|
@ -7037,8 +7025,9 @@ div.graph div.legend table {
|
|||
}
|
||||
|
||||
.m2020 {
|
||||
margin: 20px;
|
||||
margin: 20px 0;
|
||||
}
|
||||
|
||||
.snmp_view_div {
|
||||
float: left;
|
||||
padding-left: 30px;
|
||||
|
@ -10911,12 +10900,12 @@ pre.external_tools_output {
|
|||
.fixed_filter_bar {
|
||||
position: sticky;
|
||||
top: 114px;
|
||||
/*margin-bottom: 10px;*/
|
||||
border: 1px solid #e5e9ed;
|
||||
background-color: #fff;
|
||||
z-index: 1;
|
||||
width: -webkit-fill-available;
|
||||
width: -moz-available;
|
||||
margin: -25px -25px 25px -25px;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -94,27 +94,13 @@
|
|||
border-spacing: 0;
|
||||
overflow: hidden;
|
||||
border-radius: 5px;
|
||||
border: 1px solid #c0ccdc;
|
||||
border: 1px solid #e5e9ed;
|
||||
width: -webkit-fill-available;
|
||||
width: -moz-available;
|
||||
margin-bottom: 50px;
|
||||
margin: 15px;
|
||||
}
|
||||
|
||||
.info_table > tbody > tr:nth-child(even) {
|
||||
/*background-color: #f5f5f5;*/
|
||||
background-color: #f6f7fb;
|
||||
}
|
||||
|
||||
/*.info_table tr > td,
|
||||
.info_table tr > th,
|
||||
.filter_table tr > td,
|
||||
.filter_table tr > th {
|
||||
border-bottom: 1px solid #C0CCDC;
|
||||
}*/
|
||||
.info_table > tbody > tr > th,
|
||||
.info_table > thead > tr > th {
|
||||
/*border-top: 1px solid #c0ccdc;*/
|
||||
background-color: #e5e9ed;
|
||||
}
|
||||
|
||||
.info_table tr > td:first-child,
|
||||
|
@ -145,8 +131,14 @@
|
|||
cursor: pointer;
|
||||
}
|
||||
|
||||
.info_table tr th {
|
||||
.info_table > thead > tr > th,
|
||||
.info_table > thead > tr > th * {
|
||||
/*border-bottom: 1px solid #e2e2e2;*/
|
||||
font-family: "lato-bolder";
|
||||
font-style: normal;
|
||||
text-rendering: optimizeLegibility;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.info_table > thead > tr {
|
||||
|
@ -159,7 +151,6 @@
|
|||
|
||||
.info_table > thead > tr * {
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
line-height: 23px;
|
||||
}
|
||||
|
||||
|
@ -185,14 +176,13 @@
|
|||
.info_table > thead > tr > th a,
|
||||
.info_table > thead > tr > th > span {
|
||||
padding: 0.1em;
|
||||
font-weight: normal;
|
||||
color: #000;
|
||||
/*margin-left: 0.5em;*/
|
||||
}
|
||||
|
||||
.info_table > tbody > tr:last-child > td {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.info_table > tbody > tr > th,
|
||||
.info_table > thead > tr > th,
|
||||
.info_table > tbody > tr > td {
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
.white-box-content {
|
||||
padding: 0px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.white-box-content table {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
table.databox {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.info_table.no-td-borders > tbody > tr > td {
|
||||
border: 0px;
|
||||
}
|
|
@ -46,6 +46,8 @@ if (! check_acl($config['id_user'], 0, 'AR') && ! check_acl($config['id_user'],
|
|||
return;
|
||||
}
|
||||
|
||||
ui_require_css_file('tactical');
|
||||
|
||||
$is_admin = check_acl($config['id_user'], 0, 'PM');
|
||||
$user_strict = (bool) db_get_value('strict_acl', 'tusuario', 'id_user', $config['id_user']);
|
||||
|
||||
|
@ -258,13 +260,13 @@ if ($is_admin) {
|
|||
include $config['homedir'].'/godmode/servers/servers.build_table.php';
|
||||
}
|
||||
|
||||
$out = '<table cellpadding=0 cellspacing=0 class="databox pies mrgn_top_15px" width=100%><tr><td style="width:50%;">';
|
||||
$out .= '<fieldset class="padding-0 databox tactical_set" id="total_event_graph">';
|
||||
$out = '<table cellpadding=0 cellspacing=0 class="databox pies" width=100%><tr><td style="width:50%;">';
|
||||
$out .= '<fieldset class="databox tactical_set" id="total_event_graph">';
|
||||
$out .= '<legend>'.__('Event graph').'</legend>';
|
||||
$out .= html_print_image('images/spinner.gif', true, ['id' => 'spinner_total_event_graph']);
|
||||
$out .= '</fieldset>';
|
||||
$out .= '</td><td style="width:50%;">';
|
||||
$out .= '<fieldset class="padding-0 databox tactical_set" id="graphic_event_group">
|
||||
$out .= '<fieldset class="databox tactical_set" id="graphic_event_group">
|
||||
<legend>'.__('Event graph by agent').'</legend>'.html_print_image('images/spinner.gif', true, ['id' => 'spinner_graphic_event_group']).'</fieldset>';
|
||||
$out .= '</td></tr></table>';
|
||||
|
||||
|
|
Loading…
Reference in New Issue