Merge branch 'ent-11965-security-hardening-console-vistas-estaticas' into 'develop'
Ent 11965 Security hardening: Console - Vistas estaticas See merge request artica/pandorafms!6370
This commit is contained in:
commit
576ee1bf37
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>Hardening@svg</title>
|
||||
<g id="Hardening" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<path d="M11.0387503,1.15463195e-14 C11.6463177,1.01024435e-14 12.2209436,0.276179438 12.6004879,0.750609905 L15.5617376,4.45217202 C15.8454385,4.80679812 16,5.24741913 16,5.70156212 L16,6.23960136 C16,6.72942968 15.8202429,7.20222678 15.4948186,7.56832903 L8.74740932,15.1591645 C8.72137833,15.1884494 8.6936487,15.216179 8.66436384,15.24221 C8.25158107,15.609128 7.6195087,15.5719473 7.25259068,15.1591645 L0.505181363,7.56832903 C0.179757138,7.20222678 -8.28191751e-16,6.72942968 0,6.23960136 L0,5.70156212 C8.32561944e-16,5.24741913 0.154561504,4.80679812 0.438262381,4.45217202 L3.39951208,0.750609905 C3.77905645,0.276179438 4.35368225,1.0991794e-14 4.96124969,1.15463195e-14 Z M8.00018082,3 C7.09496946,3 6.30261511,3.60799488 6.06832917,4.48236191 C5.83404323,5.35672894 6.21624479,6.27944513 7.00018082,6.73205081 L7.00018082,9.00205081 C7.00018082,9.55433556 7.44789607,10.0020508 8.00018082,10.0020508 C8.55246557,10.0020508 9.00018082,9.55433556 9.00018082,9.00205081 L9.00018082,6.73205081 C9.78411685,6.27944513 10.1663184,5.35672894 9.93203247,4.48236191 C9.69774653,3.60799488 8.90539218,3 8.00018082,3 Z" id="Path-32" fill="#A7ADAF"></path>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 1.4 KiB |
|
@ -7397,14 +7397,29 @@ function html_print_select_date_range(
|
|||
});
|
||||
|
||||
// To get position must to be showed, hide elements return 0 on offset function.
|
||||
var def_state_range = $('#".$name."_range').is(':visible');
|
||||
var def_state_default = $('#".$name."_default').is(':visible');
|
||||
var def_state_extend = $('#".$name."_extend').is(':visible');
|
||||
$('#".$name."_range').show();
|
||||
$('#".$name."_default').hide();
|
||||
$('#".$name."_extend').hide();
|
||||
position_top_init = $('#text-date_init').offset().top + $('#text-date_init').outerHeight();
|
||||
position_top_end = $('#text-date_end').offset().top + $('#text-date_end').outerHeight();
|
||||
$('#".$name."_range').hide();
|
||||
$('#".$name."_extend').hide();
|
||||
$('#".$name."_default').show();
|
||||
if(def_state_range){
|
||||
$('#".$name."_range').show();
|
||||
} else {
|
||||
$('#".$name."_range').hide();
|
||||
}
|
||||
if(def_state_default){
|
||||
$('#".$name."_default').show();
|
||||
} else {
|
||||
$('#".$name."_default').hide();
|
||||
}
|
||||
if(def_state_extend){
|
||||
$('#".$name."_extend').show();
|
||||
} else {
|
||||
$('#".$name."_extend').hide();
|
||||
}
|
||||
});
|
||||
|
||||
var position_top_init = 0;
|
||||
|
|
|
@ -4233,8 +4233,7 @@ function ui_print_datatable(array $parameters)
|
|||
|
||||
$spinner = '<div id="'.$table_id.'-spinner" class="invisible spinner-fixed"><span></span><span></span><span></span><span></span></div>';
|
||||
|
||||
// TODO This widget should take a return: ui_print_info_message($info_msg_arr, '', true)
|
||||
$info_msg = '<div>'.ui_print_info_message($info_msg_arr).'</div>';
|
||||
$info_msg = '<div>'.ui_print_info_message($info_msg_arr, '', true).'</div>';
|
||||
|
||||
$info_msg_filter = '<div>'.ui_print_info_message($info_msg_arr_filter, true).'</div>';
|
||||
|
||||
|
|
|
@ -498,8 +498,12 @@ function radar_graph(
|
|||
$chart_data,
|
||||
$options
|
||||
) {
|
||||
$chart = get_build_setup_charts('RADAR', $options, $chart_data);
|
||||
return $chart->render(true, true);
|
||||
if (count($chart_data[0]['data']) > 0) {
|
||||
$chart = get_build_setup_charts('RADAR', $options, $chart_data);
|
||||
return $chart->render(true, true);
|
||||
} else {
|
||||
return graph_nodata_image([]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -239,6 +239,11 @@
|
|||
background-size: 18px;
|
||||
}
|
||||
|
||||
.icon_security {
|
||||
background: url(../../images/menu/security.svg) no-repeat 50% 50%;
|
||||
background-size: 18px;
|
||||
}
|
||||
|
||||
.icon_oper-agents {
|
||||
background: url(../../images/menu/monitoring.svg) no-repeat 50% 50%;
|
||||
background-size: 18px;
|
||||
|
|
|
@ -31,6 +31,26 @@
|
|||
margin: 10px;
|
||||
}
|
||||
|
||||
.col-md-1 {
|
||||
width: 15%;
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.col-md-2 {
|
||||
width: 30%;
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.col-md-7 {
|
||||
width: 40%;
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.col-md-9 {
|
||||
width: 63%;
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.text-fail {
|
||||
font-size: 18px;
|
||||
color: #e63c52;
|
||||
|
@ -75,7 +95,7 @@
|
|||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.issues-audit {
|
||||
.resume-audit {
|
||||
margin: 11px 12px 0px 18px;
|
||||
}
|
||||
|
||||
|
@ -88,7 +108,15 @@
|
|||
margin: 21px auto;
|
||||
}
|
||||
|
||||
.time-line {
|
||||
.custom-filter label {
|
||||
font-size: 13px !important;
|
||||
margin-right: 10px;
|
||||
}
|
||||
#time-line-graph {
|
||||
height: 300px;
|
||||
}
|
||||
.time-line,
|
||||
#time-line-graph {
|
||||
max-height: 300px;
|
||||
}
|
||||
.summary_categories {
|
||||
|
@ -96,8 +124,8 @@
|
|||
margin: 20px;
|
||||
}
|
||||
|
||||
#list_total_resume .sorting_asc {
|
||||
background-image: none;
|
||||
.sorting_asc {
|
||||
background-image: none !important;
|
||||
}
|
||||
|
||||
#form_list_resume {
|
||||
|
@ -105,31 +133,67 @@
|
|||
align-items: flex-end;
|
||||
}
|
||||
|
||||
#form_list_total_resume {
|
||||
#form_list_total_resume,
|
||||
#form_list_total_failed {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
||||
.dt-buttons {
|
||||
display: flex;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
#date-result {
|
||||
padding-left: 4px !important;
|
||||
}
|
||||
.total-agents {
|
||||
font-weight: 800;
|
||||
font-size: 40px;
|
||||
text-align: center;
|
||||
}
|
||||
.avg-scoring {
|
||||
font-size: 25px;
|
||||
font-weight: 700;
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
.separator-bar {
|
||||
font-size: 50px;
|
||||
}
|
||||
|
||||
#filter-range-date {
|
||||
width: 90%;
|
||||
margin: 0 auto;
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
||||
#filter-category > div,
|
||||
#filter-group > div {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
@media (max-width: 1500px) {
|
||||
.col-md-3 {
|
||||
width: 40%;
|
||||
}
|
||||
.col-md-1 {
|
||||
width: 20%;
|
||||
}
|
||||
.col-md-2 {
|
||||
width: 45%;
|
||||
}
|
||||
.col-md-6 {
|
||||
width: 88%;
|
||||
}
|
||||
.issues-audit {
|
||||
.col-md-7 {
|
||||
width: 80%;
|
||||
}
|
||||
.resume-audit {
|
||||
justify-content: center;
|
||||
}
|
||||
.time-line {
|
||||
.time-line,
|
||||
#time-line-graph {
|
||||
max-height: 230px;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -443,6 +443,8 @@ if ($access_console_node === true) {
|
|||
$menu_operation['network']['sub'] = $sub;
|
||||
}
|
||||
|
||||
enterprise_hook('security_menu');
|
||||
|
||||
// End networkview.
|
||||
// Reports read.
|
||||
if (check_acl($config['id_user'], 0, 'RR') || check_acl($config['id_user'], 0, 'RW') || check_acl($config['id_user'], 0, 'RM')) {
|
||||
|
|
Loading…
Reference in New Issue