Minor icon fixes
This commit is contained in:
parent
5a41c8b61c
commit
2dbc2e801f
|
@ -509,11 +509,11 @@ switch ($action) {
|
|||
'list_reports' => [
|
||||
'active' => false,
|
||||
'text' => '<a href="index.php?sec=reporting&sec2=godmode/reporting/reporting_builder&pure='.$pure.'">'.html_print_image(
|
||||
'images/report_list.png',
|
||||
'images/logs@svg.svg',
|
||||
true,
|
||||
[
|
||||
'title' => __('Reports list'),
|
||||
'class' => 'invert_filter',
|
||||
'class' => 'main_menu_icon invert_filter',
|
||||
]
|
||||
).'</a>',
|
||||
],
|
||||
|
|
|
@ -632,7 +632,7 @@ if (empty($create) === false || empty($view) === false) {
|
|||
$delete_macro_style = 'display:none;';
|
||||
}
|
||||
|
||||
$datam[2] = '<div id="delete_macro_button" style="'.$delete_macro_style.'">'.'<a href="javascript:;">'.'<span class="bolder">'.__('Delete macro').'</span>'.' '.html_print_image('images/delete.png', true, ['class' => 'invert_filter']).'</a>'.'</div>';
|
||||
$datam[2] = '<div id="delete_macro_button" style="'.$delete_macro_style.'">'.'<a href="javascript:;">'.'<span class="bolder">'.__('Delete macro').'</span>'.' '.html_print_image('images/delete.svg', true, ['class' => 'main_menu_icon invert_filter']).'</a>'.'</div>';
|
||||
|
||||
$table->colspan['plugin_action'][0] = 2;
|
||||
$table->colspan['plugin_action'][2] = 2;
|
||||
|
@ -665,8 +665,10 @@ if (empty($create) === false || empty($view) === false) {
|
|||
|
||||
echo '<tr><td align="right">';
|
||||
|
||||
if ($create != '') {
|
||||
$button = html_print_submit_button(
|
||||
$buttons = '';
|
||||
|
||||
if (empty($create) === false) {
|
||||
$buttons .= html_print_submit_button(
|
||||
__('Create'),
|
||||
'crtbutton',
|
||||
false,
|
||||
|
@ -674,7 +676,7 @@ if (empty($create) === false || empty($view) === false) {
|
|||
true
|
||||
);
|
||||
} else {
|
||||
$button = html_print_submit_button(
|
||||
$buttons .= html_print_submit_button(
|
||||
__('Update'),
|
||||
'uptbutton',
|
||||
false,
|
||||
|
@ -683,8 +685,14 @@ if (empty($create) === false || empty($view) === false) {
|
|||
);
|
||||
}
|
||||
|
||||
$buttons .= html_print_go_back_button(
|
||||
'index.php?sec=gservers&sec2=godmode/servers/plugin',
|
||||
['button_class' => ''],
|
||||
true
|
||||
);
|
||||
|
||||
html_print_action_buttons(
|
||||
$button
|
||||
$buttons
|
||||
);
|
||||
|
||||
echo '</form></table>';
|
||||
|
|
|
@ -183,29 +183,29 @@ class SnmpConsole extends HTML
|
|||
|
||||
if (!isset($config['pure']) || $config['pure'] === false) {
|
||||
$statistics['text'] = '<a href="index.php?sec=estado&sec2=operation/snmpconsole/snmp_statistics&pure='.$config['pure'].'">'.html_print_image(
|
||||
'images/op_reporting.png',
|
||||
'images/logs@svg.svg',
|
||||
true,
|
||||
[
|
||||
'title' => __('Statistics'),
|
||||
'class' => 'invert_filter',
|
||||
'class' => 'main_menu_icon invert_filter',
|
||||
]
|
||||
).'</a>';
|
||||
$list['text'] = '<a href="index.php?sec=snmpconsole&sec2=operation/snmpconsole/snmp_view&pure=0">'.html_print_image(
|
||||
'images/op_snmp.png',
|
||||
'images/SNMP-network-numeric-data@svg.svg',
|
||||
true,
|
||||
[
|
||||
'title' => __('List'),
|
||||
'class' => 'invert_filter',
|
||||
'class' => 'main_menu_icon invert_filter',
|
||||
]
|
||||
).'</a>';
|
||||
$list['active'] = true;
|
||||
|
||||
$screen['text'] = '<a href="#" onClick="javascript:fullscreen(1)">'.html_print_image(
|
||||
'images/full_screen.png',
|
||||
'images/fullscreen@svg.svg',
|
||||
true,
|
||||
[
|
||||
'title' => __('List'),
|
||||
'class' => 'invert_filter',
|
||||
'title' => __('View in full screen'),
|
||||
'class' => 'main_menu_icon invert_filter',
|
||||
]
|
||||
).'</a>';
|
||||
|
||||
|
@ -242,11 +242,11 @@ class SnmpConsole extends HTML
|
|||
|
||||
echo '<a href="#" onClick="javascript:fullscreen(0)">';
|
||||
echo html_print_image(
|
||||
'images/normal_screen.png',
|
||||
'images/exit_fullscreen@svg.svg',
|
||||
true,
|
||||
[
|
||||
'title' => __('Exit fullscreen'),
|
||||
'class' => 'invert_filter',
|
||||
'class' => 'main_menu_icon invert_filter',
|
||||
]
|
||||
);
|
||||
echo '</a>';
|
||||
|
@ -844,7 +844,7 @@ class SnmpConsole extends HTML
|
|||
$tmp->snmp_agent .= '<a href="index.php?sec=estado&sec2=godmode/agentes/configurar_agente&new_agent=1&direccion='.$tmp->source.'" title="'.__('Create agent').'">'.$tmp->source.'</a>';
|
||||
} else {
|
||||
$tmp->snmp_agent .= '<div class="'.$severity_class.' snmp-div"><a href="index.php?sec=estado&sec2=operation/agentes/ver_agente&id_agente='.$agent['id_agente'].'" title="'.__('View agent details').'">';
|
||||
$tmp->snmp_agent .= '<strong>'.$agent['alias'].ui_print_help_tip($tmp->source, true, 'images/tip.png');
|
||||
$tmp->snmp_agent .= '<strong>'.$agent['alias'].ui_print_help_tip($tmp->source, true);
|
||||
'</strong></a></div>';
|
||||
}
|
||||
|
||||
|
|
|
@ -744,8 +744,7 @@ function filemanager_file_explorer(
|
|||
|
||||
// Actions buttons
|
||||
// Delete button.
|
||||
$data[4] = '';
|
||||
$data[4] .= '<span style="display: flex">';
|
||||
$data[4] = '<div class="table_action_buttons flex">';
|
||||
$typefile = array_pop(explode('.', $fileinfo['name']));
|
||||
if (is_writable($fileinfo['realpath']) === true
|
||||
&& (is_dir($fileinfo['realpath']) === false || count(scandir($fileinfo['realpath'])) < 3)
|
||||
|
@ -774,7 +773,7 @@ function filemanager_file_explorer(
|
|||
&& ($typefile !== 'iso') && ($typefile !== 'docx') && ($typefile !== 'doc') && ($fileinfo['mime'] != MIME_DIR)
|
||||
) {
|
||||
$hash = md5($fileinfo['realpath'].$config['server_unique_identifier']);
|
||||
$data[4] .= "<a style='vertical-align: top;' href='$url&edit_file=1&hash=".$hash.'&location_file='.$fileinfo['realpath']."' style='float: left;'>".html_print_image('images/edit.png', true, ['style' => 'margin-top: 2px;', 'title' => __('Edit file'), 'class' => 'invert_filter']).'</a>';
|
||||
$data[4] .= "<a style='vertical-align: top;' href='$url&edit_file=1&hash=".$hash.'&location_file='.$fileinfo['realpath']."' style='float: left;'>".html_print_image('images/edit.svg', true, ['style' => 'margin-top: 2px;', 'title' => __('Edit file'), 'class' => 'main_menu_icon invert_filter']).'</a>';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -794,7 +793,7 @@ function filemanager_file_explorer(
|
|||
$data[4] .= '<a href="javascript: show_modal_real_path(`'.$fileinfo['realpath'].'`);">'.html_print_image('images/enable.svg', true, ['style' => 'margin-top: 2px;', 'title' => __('Real path'), 'class' => 'invert_filter main_menu_icon']).'</a>';
|
||||
}
|
||||
|
||||
$data[4] .= '</span>';
|
||||
$data[4] .= '</div>';
|
||||
|
||||
array_push($table->data, $data);
|
||||
}
|
||||
|
@ -983,7 +982,7 @@ function filemanager_file_explorer(
|
|||
<div id='real_path'></div>";
|
||||
|
||||
if (isset($_SERVER['HTTPS']) || $_SERVER['HTTPS'] == 'on' || $_SERVER['SERVER_NAME'] == 'localhost' || $_SERVER['SERVER_NAME'] == '127.0.0.1') {
|
||||
$modal_real_path .= "<div style='float:right;margin: 5em 0 0 auto';>".html_print_submit_button(__('Copy'), 'submit', false, 'class="sub next"', true).'</div>';
|
||||
$modal_real_path .= "<div style='float:right;margin: 5em 0 0 auto';>".html_print_submit_button(__('Copy'), 'submit', false, ['icon' => 'wand', 'mode' => 'mini'], true).'</div>';
|
||||
}
|
||||
|
||||
html_print_div(
|
||||
|
@ -997,7 +996,7 @@ function filemanager_file_explorer(
|
|||
echo '</div>';
|
||||
} else {
|
||||
echo "<div style='text-align: right; width: ".$table->width."; color:#AC4444; margin-bottom:10px;'>";
|
||||
echo "<image class='invert_filter' src='images/info.png' />".__('The directory is read-only');
|
||||
echo "<image class='main_menu_icon invert_filter' src='images/info@svg.svg' />".__('The directory is read-only');
|
||||
echo '</div>';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -235,7 +235,8 @@
|
|||
|
||||
.table_action_buttons > a,
|
||||
.table_action_buttons > img,
|
||||
.table_action_buttons > button {
|
||||
.table_action_buttons > button,
|
||||
.table_action_buttons > form {
|
||||
visibility: hidden;
|
||||
}
|
||||
.info_table > tbody > tr:hover {
|
||||
|
@ -246,7 +247,8 @@
|
|||
|
||||
.info_table > tbody > tr:hover .table_action_buttons > a,
|
||||
.info_table > tbody > tr:hover .table_action_buttons > img,
|
||||
.info_table > tbody > tr:hover .table_action_buttons > button {
|
||||
.info_table > tbody > tr:hover .table_action_buttons > button,
|
||||
.info_table > tbody > tr:hover .table_action_buttons > form {
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
|
|
|
@ -50,11 +50,11 @@ if ($config['pure']) {
|
|||
// Windowed.
|
||||
$link['text'] = '<a target="_top" href="'.$url.'&pure=0&refr=30">';
|
||||
$link['text'] .= html_print_image(
|
||||
'images/normal_screen.png',
|
||||
'images/exit_fullscreen@svg.svg',
|
||||
true,
|
||||
[
|
||||
'title' => __('Normal screen'),
|
||||
'class' => 'invert_filter',
|
||||
'class' => 'main_menu_icon invert_filter',
|
||||
]
|
||||
);
|
||||
$link['text'] .= '</a>';
|
||||
|
@ -62,11 +62,11 @@ if ($config['pure']) {
|
|||
// Fullscreen.
|
||||
$link['text'] = '<a target="_top" href="'.$url.'&pure=1&refr=0">';
|
||||
$link['text'] .= html_print_image(
|
||||
'images/full_screen.png',
|
||||
'images/fullscreen@svg.svg',
|
||||
true,
|
||||
[
|
||||
'title' => __('Full screen'),
|
||||
'class' => 'invert_filter',
|
||||
'class' => 'main_menu_icon invert_filter',
|
||||
]
|
||||
);
|
||||
$link['text'] .= '</a>';
|
||||
|
|
|
@ -39,20 +39,20 @@ $refr = (int) get_parameter('refr', 0);
|
|||
$fullscreen = [];
|
||||
if ($config['pure']) {
|
||||
$fullscreen['text'] = '<a target="_top" href="index.php?sec=estado&sec2=operation/snmpconsole/snmp_statistics&pure=0&refr='.$refr.'">'.html_print_image(
|
||||
'images/normal_screen.png',
|
||||
'images/exit_fullscreen@svg.svg',
|
||||
true,
|
||||
[
|
||||
'title' => __('Normal screen'),
|
||||
'class' => 'invert_filter',
|
||||
'class' => 'main_menu_icon invert_filter',
|
||||
]
|
||||
).'</a>';
|
||||
} else {
|
||||
$fullscreen['text'] = '<a target="_top" href="index.php?sec=estado&sec2=operation/snmpconsole/snmp_statistics&pure=1&refr='.$refr.'">'.html_print_image(
|
||||
'images/full_screen.png',
|
||||
'images/fullscreen@svg.svg',
|
||||
true,
|
||||
[
|
||||
'title' => __('Full screen'),
|
||||
'class' => 'invert_filter',
|
||||
'class' => 'main_menu_icon invert_filter',
|
||||
]
|
||||
).'</a>';
|
||||
}
|
||||
|
@ -60,11 +60,11 @@ if ($config['pure']) {
|
|||
// List
|
||||
$list = [];
|
||||
$list['text'] = '<a href="index.php?sec=estado&sec2=operation/snmpconsole/snmp_view&pure='.$config['pure'].'&refresh='.$refr.'">'.html_print_image(
|
||||
'images/op_snmp.png',
|
||||
'images/SNMP-network-numeric-data@svg.svg',
|
||||
true,
|
||||
[
|
||||
'title' => __('List'),
|
||||
'class' => 'invert_filter',
|
||||
'class' => 'main_menu_icon invert_filter',
|
||||
]
|
||||
).'</a>';
|
||||
|
||||
|
@ -72,11 +72,11 @@ $list['text'] = '<a href="index.php?sec=estado&sec2=operation/snmpconsole/snmp_v
|
|||
$statistics = [];
|
||||
$statistics['active'] = true;
|
||||
$statistics['text'] = '<a href="index.php?sec=estado&sec2=operation/snmpconsole/snmp_statistics&pure='.$config['pure'].'&refr='.$refr.'">'.html_print_image(
|
||||
'images/op_reporting.png',
|
||||
'images/logs@svg.svg',
|
||||
true,
|
||||
[
|
||||
'title' => __('Statistics'),
|
||||
'class' => 'invert_filter',
|
||||
'class' => 'main_menu_icon invert_filter',
|
||||
]
|
||||
).'</a>';
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
* |___| |___._|__|__|_____||_____|__| |___._| |___| |__|_|__|_______|
|
||||
*
|
||||
* ============================================================================
|
||||
* Copyright (c) 2005-2022 Artica Soluciones Tecnologicas
|
||||
* Copyright (c) 2005-2023 Artica Soluciones Tecnologicas
|
||||
* Please see http://pandorafms.org for full contribution list
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
Loading…
Reference in New Issue