Adapted some buttons
This commit is contained in:
parent
b2b9de1210
commit
d0fa29d2de
|
@ -37,7 +37,12 @@ ui_require_css_file('first_task');
|
|||
?>
|
||||
</p>
|
||||
<form action="index.php?sec=estado&sec2=enterprise/godmode/services/services.service&action=new_service" method="post">
|
||||
<input type="submit" class="button_task" value="<?php echo __('Create Services'); ?>" />
|
||||
<?php
|
||||
html_print_submit_button(
|
||||
__('Create Services'),
|
||||
'createServiceButton'
|
||||
);
|
||||
?>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -38,7 +38,12 @@ Transaction graphs represent the different processes within our infrastructure t
|
|||
?>
|
||||
</p>
|
||||
<form action="index.php?sec=network&sec2=enterprise/operation/agentes/manage_transmap_creation&create_transaction=1" method="post">
|
||||
<input type="submit" class="button_task" value="<?php echo __('Create Transactions'); ?>" />
|
||||
<?php
|
||||
html_print_submit_button(
|
||||
__('Create Transactions'),
|
||||
'createTransButton'
|
||||
);
|
||||
?>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -96,17 +96,30 @@ if (isset($_GET['server'])) {
|
|||
|
||||
html_print_table($table);
|
||||
|
||||
echo '<div class="action-buttons w100p">';
|
||||
echo '<input type="submit" class="sub upd" value="'.__('Update').'">';
|
||||
echo '</div>';
|
||||
html_print_div(
|
||||
[
|
||||
'class' => 'action-buttons w100p',
|
||||
'content' => html_print_submit_button(
|
||||
__('Update'),
|
||||
'',
|
||||
false,
|
||||
[ 'icon' => 'update' ],
|
||||
true
|
||||
),
|
||||
]
|
||||
);
|
||||
|
||||
echo '</form>';
|
||||
|
||||
if ($row['server_type'] == 13) {
|
||||
echo '<div style="margin-top: 20px;">';
|
||||
ui_toggle($content, __('Credential boxes'), '', 'toggle_credential', false);
|
||||
echo '</div>';
|
||||
if ((int) $row['server_type'] === 13) {
|
||||
html_print_div(
|
||||
[
|
||||
'class' => 'mrgn_top_20px',
|
||||
'content' => ui_toggle($content, __('Credential boxes'), '', 'toggle_credential', false, true),
|
||||
],
|
||||
);
|
||||
}
|
||||
} else if (isset($_GET['server_remote'])) {
|
||||
} else if (isset($_GET['server_remote']) === true) {
|
||||
// Headers.
|
||||
$id_server = get_parameter_get('server_remote');
|
||||
$ext = get_parameter('ext', '');
|
||||
|
@ -168,7 +181,7 @@ if (isset($_GET['server'])) {
|
|||
ui_print_page_header(__('%s servers', get_product_name()), 'images/gm_servers.png', false, '', true);
|
||||
|
||||
// Move SNMP modules back to the enterprise server.
|
||||
if (isset($_GET['server_reset_snmp_enterprise'])) {
|
||||
if (isset($_GET['server_reset_snmp_enterprise']) === true) {
|
||||
$result = db_process_sql('UPDATE tagente_estado SET last_error=0');
|
||||
|
||||
if ($result === false) {
|
||||
|
|
Loading…
Reference in New Issue