mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
fixed styles
This commit is contained in:
parent
1500edc06e
commit
a22b5479d9
@ -132,7 +132,7 @@ $table->data[1][1] = '<a href="javascript:">'.html_print_image(
|
|||||||
[
|
[
|
||||||
'id' => 'right',
|
'id' => 'right',
|
||||||
'title' => __('Add fields to select'),
|
'title' => __('Add fields to select'),
|
||||||
'style' => 'rotate: 180deg; width: 40px',
|
'style' => 'rotate: 180deg;',
|
||||||
]
|
]
|
||||||
).'</a>';
|
).'</a>';
|
||||||
$table->data[1][1] .= '<br><br><br><br><a href="javascript:">'.html_print_image(
|
$table->data[1][1] .= '<br><br><br><br><a href="javascript:">'.html_print_image(
|
||||||
@ -141,7 +141,7 @@ $table->data[1][1] .= '<br><br><br><br><a href="javascript:">'.html_print_image(
|
|||||||
[
|
[
|
||||||
'id' => 'left',
|
'id' => 'left',
|
||||||
'title' => __('Delete fields to select'),
|
'title' => __('Delete fields to select'),
|
||||||
'style' => 'width: 40px',
|
'style' => '',
|
||||||
]
|
]
|
||||||
).'</a>';
|
).'</a>';
|
||||||
|
|
||||||
|
@ -211,7 +211,6 @@ $buttons = html_print_submit_button(
|
|||||||
true
|
true
|
||||||
);
|
);
|
||||||
|
|
||||||
// hd($filters);
|
|
||||||
if (empty($filters) === false) {
|
if (empty($filters) === false) {
|
||||||
echo '<form id="multiple_delete" method="POST" action="'.$config['homeurl'].'index.php?sec=netf&sec2=godmode/netflow/nf_edit&pure='.$pure.'">';
|
echo '<form id="multiple_delete" method="POST" action="'.$config['homeurl'].'index.php?sec=netf&sec2=godmode/netflow/nf_edit&pure='.$pure.'">';
|
||||||
html_print_input_hidden('multiple_delete', 1);
|
html_print_input_hidden('multiple_delete', 1);
|
||||||
|
@ -453,7 +453,7 @@ class ManageNetScanScripts extends Wizard
|
|||||||
'delete',
|
'delete',
|
||||||
'images/delete.svg',
|
'images/delete.svg',
|
||||||
1,
|
1,
|
||||||
'width:40px;',
|
'',
|
||||||
true,
|
true,
|
||||||
[
|
[
|
||||||
'title' => __('Delete Script'),
|
'title' => __('Delete Script'),
|
||||||
|
@ -868,7 +868,7 @@ class ModuleTemplates extends HTML
|
|||||||
'delete_profile',
|
'delete_profile',
|
||||||
'images/delete.svg',
|
'images/delete.svg',
|
||||||
$row['id_np'],
|
$row['id_np'],
|
||||||
'width:40px',
|
'',
|
||||||
true,
|
true,
|
||||||
[
|
[
|
||||||
'onclick' => 'if (!confirm(\''.__('Are you sure?').'\')) return false;',
|
'onclick' => 'if (!confirm(\''.__('Are you sure?').'\')) return false;',
|
||||||
@ -1156,7 +1156,7 @@ class ModuleTemplates extends HTML
|
|||||||
'del_block_'.$id_group.'_',
|
'del_block_'.$id_group.'_',
|
||||||
'images/delete.svg',
|
'images/delete.svg',
|
||||||
1,
|
1,
|
||||||
'width: 40px',
|
'',
|
||||||
true,
|
true,
|
||||||
[
|
[
|
||||||
'title' => __('Delete this block'),
|
'title' => __('Delete this block'),
|
||||||
@ -1253,7 +1253,7 @@ class ModuleTemplates extends HTML
|
|||||||
'del_module_'.$module['component_id'].'_',
|
'del_module_'.$module['component_id'].'_',
|
||||||
'images/delete.svg',
|
'images/delete.svg',
|
||||||
1,
|
1,
|
||||||
'width:40px;',
|
'',
|
||||||
true,
|
true,
|
||||||
[
|
[
|
||||||
'title' => __('Delete this module'),
|
'title' => __('Delete this module'),
|
||||||
|
@ -4565,12 +4565,6 @@ function html_print_image(
|
|||||||
// Dont use safe_input here or the performance will dead.
|
// Dont use safe_input here or the performance will dead.
|
||||||
$style = '';
|
$style = '';
|
||||||
|
|
||||||
if (empty($options) === false && isset($options['class']) === true) {
|
|
||||||
$options['class'] .= ' main_menu_icon';
|
|
||||||
} else {
|
|
||||||
$options['class'] = 'main_menu_icon invert_filter';
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!empty($options)) {
|
if (!empty($options)) {
|
||||||
// Deprecated or value-less attributes.
|
// Deprecated or value-less attributes.
|
||||||
if (isset($options['align'])) {
|
if (isset($options['align'])) {
|
||||||
|
@ -352,10 +352,10 @@ function load_modal(settings) {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// No onsumbit configured. Directly close.
|
// No onsumbit configured. Directly close.
|
||||||
d.dialog("close");
|
|
||||||
if (document.getElementById(settings.form) != undefined) {
|
if (document.getElementById(settings.form) != undefined) {
|
||||||
document.getElementById(settings.form).submit();
|
document.getElementById(settings.form).submit();
|
||||||
}
|
}
|
||||||
|
d.dialog("close");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -304,6 +304,8 @@ td input[type="checkbox"] {
|
|||||||
input[type="image"] {
|
input[type="image"] {
|
||||||
border: 0px;
|
border: 0px;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
|
height: auto;
|
||||||
|
padding: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.container-div-input-password input {
|
.container-div-input-password input {
|
||||||
@ -11250,8 +11252,9 @@ img.main_menu_icon[src$=".svg"] {
|
|||||||
}
|
}
|
||||||
|
|
||||||
input.main_menu_icon[src$=".svg"] {
|
input.main_menu_icon[src$=".svg"] {
|
||||||
width: 22px;
|
width: 20px;
|
||||||
height: 22px;
|
height: 20px;
|
||||||
|
padding: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header_help_icon {
|
.header_help_icon {
|
||||||
|
@ -1524,11 +1524,6 @@ require 'include/php_to_js_values.php';
|
|||||||
$(document).ready(scrollFunction());
|
$(document).ready(scrollFunction());
|
||||||
// When there are less than 5 rows, all rows must be white
|
// When there are less than 5 rows, all rows must be white
|
||||||
var theme = "<?php echo $config['style']; ?>";
|
var theme = "<?php echo $config['style']; ?>";
|
||||||
if (theme === 'pandora') {
|
|
||||||
if ($('table.info_table tr').length < 5) {
|
|
||||||
$('table.info_table tbody > tr').css('background-color', '#fff');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// When the user scrolls down 400px from the top of the document, show the
|
// When the user scrolls down 400px from the top of the document, show the
|
||||||
// button.
|
// button.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user