Changed visual of console

This commit is contained in:
m-lopez-f 2015-06-16 16:09:50 +02:00
parent 9544dec1ac
commit ff1186ee57
50 changed files with 174 additions and 171 deletions

View File

@ -169,7 +169,7 @@ function extension_api_checker() {
echo "</fieldset>";
echo "<div style='text-align: right;'>";
html_print_input_hidden('api_execute', 1);
html_print_submit_button(__('Call'), 'submit', false, 'class="sub"');
html_print_submit_button(__('Call'), 'submit', false, 'class="sub next"');
echo "</div>";
echo "</form>";
@ -182,7 +182,7 @@ function extension_api_checker() {
echo "<div style='text-align: right;'>";
html_print_input_hidden('api_execute', 1);
html_print_submit_button(__('Call'), 'submit', false, 'class="sub"');
html_print_submit_button(__('Call'), 'submit', false, 'class="sub next"');
echo "</div>";
echo "</form>";

View File

@ -113,7 +113,8 @@ function dbmgr_extension_main () {
echo "<form method='post' action=''>";
html_print_textarea ('sql', 5, 40, html_entity_decode($sql, ENT_QUOTES));
echo '<br />';
echo '<div class="action-buttons" style="width: 96%">';
echo '<div class="action-buttons" style="width: 100%">';
echo '<br />';
html_print_submit_button (__('Execute SQL'), '', false, 'class="sub next"');
echo '</div>';
echo "</form>";
@ -147,8 +148,8 @@ function dbmgr_extension_main () {
}
echo "<div style='overflow: auto;'>";
$table->width = '90%';
$table->class = 'dbmanager';
$table->width = '100%';
$table->class = 'databox data';
$table->head = array_keys ($result[0]);
$table->data = $result;

View File

@ -67,7 +67,8 @@ function extension_uploader_extensions() {
$table = null;
$table->width = '98%';
$table->width = '100%';
$table->class = 'databox filters';
$table->data = array();
$table->data[0][0] = __('Upload extension');
$table->data[0][1] = html_print_input_file('extension', true) .

View File

@ -35,7 +35,8 @@ if (isset($file_id) && $file_id > 0) {
}
$table = new stdClass();
$table->width = '99.5%';
$table->width = '100%';
$table->class = 'databox filters';
$table->style = array();
$table->style[0] = "font-weight: bold;";
$table->style[2] = "text-align: center;";

View File

@ -32,8 +32,6 @@ $files = files_repo_get_files($filter);
if (!empty($files)) {
echo "<br>";
if (!isset($manage)) {
$manage = false;
}
@ -49,7 +47,8 @@ if (!empty($files)) {
ui_pagination($total_files, $url, $offset);
$table = new stdClass();
$table->width = '98%';
$table->width = '100%';
$table->class = 'databox data';
$table->style = array();
$table->style[1] = "max-width: 200px;";
$table->style[2] = "text-align: center;";

View File

@ -293,7 +293,7 @@ function godmode_net_tools() {
}
$table = null;
$table->width = "80%";
$table->width = "100%";
$table->data = array();

View File

@ -411,7 +411,7 @@ function pluginreg_extension_main () {
// Upload form
echo "<form name='submit_plugin' method='post' enctype='multipart/form-data'>";
echo '<table class="databox" id="table1" width="98%" border="0" cellpadding="4" cellspacing="4">';
echo '<table class="databox" id="table1" width="100%" border="0" cellpadding="4" cellspacing="4">';
echo "<tr><td class='datos'><input type='file' name='plugin_upload' />";
echo "<td class='datos'><input type='submit' class='sub next' value='".__('Upload')."' />";
echo "</form></table>";

View File

@ -221,8 +221,8 @@ function getLastLog($numLines = 2000) {
function show_array($title, $anchor, $array = array()) {
$table = new StdClass();
$table->width = '98%';
$table->class = "databox";
$table->width = '100%';
$table->class = "databox filters";
$table->head = array();
$table->head[0] = $title;
$table->data = array();
@ -417,8 +417,9 @@ function mainSystemInfo() {
echo __("This extension can run as PHP script in a shell for extract more information, but it must be run as root or across sudo. For example: <i>sudo php /var/www/pandora_console/extensions/system_info.php -d -s -c</i>");
echo '</div>';
$table = null;
$table->width = '99%';
$table = new StdClass();
$table->width = '100%';
$table->class = 'databox filters';
$table->align = array();
$table->align[1] = 'right';
if ($pandora_diag) {
@ -452,7 +453,8 @@ function mainSystemInfo() {
$table_file = new StdClass();
$table_file->id = "table_file";
$table_file->width = '99%';
$table_file->class = "databox filters";
$table_file->width = '100%';
$table_file->style = array();
$table_file->style[0] = "font-weight: bold";
$table_file->data = array();
@ -487,7 +489,6 @@ function mainSystemInfo() {
html_print_table($table_file);
echo "</div>";
echo "<br>";
echo "<div style='width: " . $table->width . "; text-align: right;'>";
html_print_submit_button(__('Generate file'), 'generate', false, 'class="sub next"');
html_print_image('images/spinner.gif', false, array('id' => 'spinner_img', 'title' => __('Loading'), 'style' => 'display: none;'));

View File

@ -3,25 +3,21 @@ global $config;
check_login ();
ui_require_css_file ('firts_task');
?>
<?php ui_print_info_message ( array('no_close'=>true, 'message'=> __('There are no recon task defined yet.') ) ); ?>
<div class="new_task">
<div>
<div class="title_task"> <?php echo __('There are no recon task defined yet'); ?> </div>
<div class="image_task">
<?php echo html_print_image('images/icono_grande_reconserver.png', true, array("alt" => __('Recon server')));?>
</div>
<div>
<div class="image_task">
<?php echo html_print_image('images/icono_grande_reconserver.png', true, array("alt" => __('Recon server')));?>
</div>
<div class="text_task">
<h3> <?php echo __('Create Recon Task'); ?></h3>
<p id="description_task"> <?php echo __('The Recon Task definition of Pandora FMS is used to find new elements in the network.
If it detects any item, it will add that item to the monitoring, and if that item it is already being monitored, then it will
ignore it or will update its information.There are three types of detection: Based on <strong id="fuerte"> ICMP </strong>(pings),
<strong id="fuerte">SNMP</strong> (detecting the topology of networks and their interfaces), and other <strong id="fuerte"> customized </strong>
type. You can define your own customized recon script.'); ?></p>
<form action="index.php?sec=gservers&sec2=godmode/servers/manage_recontask_form&create" method="post">
<button class="button_task" > <?php echo __('Create Recon Task'); ?></button>
</form>
</div>
<div class="text_task">
<h3> <?php echo __('Create Recon Task'); ?></h3>
<p id="description_task"> <?php echo __('The Recon Task definition of Pandora FMS is used to find new elements in the network.
If it detects any item, it will add that item to the monitoring, and if that item it is already being monitored, then it will
ignore it or will update its information.There are three types of detection: Based on <strong id="fuerte"> ICMP </strong>(pings),
<strong id="fuerte">SNMP</strong> (detecting the topology of networks and their interfaces), and other <strong id="fuerte"> customized </strong>
type. You can define your own customized recon script.'); ?></p>
<form action="index.php?sec=gservers&sec2=godmode/servers/manage_recontask_form&create" method="post">
<input type="submit" class="button_task" value="<?php echo __('Create Recon Task'); ?>" />
</form>
</div>
</div>

View File

@ -103,7 +103,7 @@ echo '<div id="login_in">';
// For stable/live function it might be wise to comment it out
/* CUSTOM BRANDING ENDS HERE */
echo '</td><td style="padding-top: 15px;">';
echo '</td><td style="padding-top: 15px; position:fixed;">';
switch ($login_screen) {
case 'login':

View File

@ -39,7 +39,7 @@ $filter_text = get_parameter('filter_text', '');
$filter_hours_old = get_parameter('filter_hours_old', 24);
$filter_ip = get_parameter('filter_ip', '');
echo "<table width='98%' border='0' cellspacing='4' cellpadding='4' class='databox'>";
echo "<table width='100%' border='0' cellspacing='4' cellpadding='4' class='databox filters'>";
echo '<tr><td class="datost">';
echo '<div style="float: left; width: 400px;">';
echo '<b>'.__('Filter').'</b><br><br>';
@ -176,8 +176,8 @@ if (empty ($result)) {
$table->cellpadding = 4;
$table->cellspacing = 4;
$table->width = '98%';
$table->class = "databox";
$table->width = '100%';
$table->class = "databox data";
$table->size = array ();
$table->data = array ();
$table->head = array ();
@ -299,7 +299,7 @@ echo '<div style="width: '.$table->width.'" class="action-buttons">';
echo '<a href="' .
ui_get_full_url(false, false, false, false) . 'godmode/audit_log_csv.php?tipo_log='.$tipo_log.'&user_filter='.$user_filter.'&filter_text='.$filter_text.'&filter_hours_old='.$filter_hours_old.'&filter_ip='.$filter_ip.'"'.
'target="_new">' .
html_print_button (__('Export to CSV '), 'export_csv', false, '', 'class=sub next', true, false). '</a>';
html_print_button (__('Export to CSV '), 'export_csv', false, '', 'class=sub upd', true, false). '</a>';
echo '</div>';
if ($enterprise_include !== ENTERPRISE_NOT_HOOK) {

View File

@ -333,9 +333,8 @@ if ($delete_action) {
__('Could not be deleted'));
}
$table->width = '98%';
if (defined('METACONSOLE'))
$table->width = '100%';
$table->width = '100%';
$table->class = 'databox data';
$table->data = array ();
$table->head = array ();
$table->head[0] = __('Name');
@ -349,9 +348,9 @@ $table->size[1] = '30px';
$table->size[2] = '40px';
$table->size[3] = '40px';
$table->align = array ();
$table->align[1] = 'center';
$table->align[2] = 'center';
$table->align[3] = 'center';
$table->align[1] = 'left';
$table->align[2] = 'left';
$table->align[3] = 'left';
$filter = array();
if (!is_user_admin($config['id_user']))
@ -396,7 +395,7 @@ if (isset($data)) {
html_print_table ($table);
}
else {
echo "<div class='nf'>".__('No alert actions configured')."</div>";
ui_print_info_message ( array('no_close'=>true, 'message'=> __('No alert actions configured') ) );
}
echo '<div class="action-buttons" style="width: '.$table->width.'">';

View File

@ -266,9 +266,9 @@ if ($delete_command) {
}
$table->width = '98%';
if (defined('METACONSOLE'))
$table->width = '100%';
$table->width = '100%';
$table->class = 'databox data';
$table->data = array ();
$table->head = array ();
$table->head[0] = __('Name');
@ -280,7 +280,7 @@ $table->style[0] = 'font-weight: bold';
$table->size = array ();
$table->size[3] = '40px';
$table->align = array ();
$table->align[3] = 'center';
$table->align[3] = 'left';
$commands = db_get_all_rows_in_table ('talert_commands');
if ($commands === false)
@ -313,9 +313,7 @@ if (isset($data)) {
html_print_table ($table);
}
else {
echo "<div class='nf'>" .
__('No alert commands configured') .
"</div>";
ui_print_info_message ( array('no_close'=>true, 'message'=> __('No alert commands configured') ) );
}
echo '<div class="action-buttons" style="width: ' . $table->width . '">';

View File

@ -145,7 +145,9 @@ if ($delete_special_day) {
__('Could not be deleted'));
}
$table->width = '98%';
$table->width = '100%';
$table->class = 'databox data';
$table->data = array ();
$table->head = array ();
$table->head[0] = __('Date');
@ -162,8 +164,8 @@ $table->size[2] = '55%';
$table->size[3] = '5%';
$table->size[4] = '5%';
$table->align = array ();
$table->align[3] = 'center';
$table->align[4] = 'center';
$table->align[3] = 'left';
$table->align[4] = 'left';
$filter = array();
if (!is_user_admin($config['id_user']))
@ -217,7 +219,7 @@ if(isset($data)) {
html_print_table ($table);
}
else {
echo "<div class='nf'>".__('No special days configured')."</div>";
ui_print_info_message ( array('no_close'=>true, 'message'=> __('No special days configured') ) );
}
echo '<div class="action-buttons" style="width: '.$table->width.'">';

View File

@ -230,7 +230,8 @@ $url = ui_get_url_refresh (array ('offset' => false));
$search_string = (string) get_parameter ('search_string');
$search_type = (string) get_parameter ('search_type');
$table->width = '98%';
$table->width = '100%';
$table->class = 'databox filters';
if (defined("METACONSOLE")) {
$table->width = '96%';
$table->class = 'databox_filters';
@ -288,9 +289,8 @@ $templates = alerts_get_alert_templates ($filter,
if ($templates === false)
$templates = array ();
$table->width = '98%';
if (defined("METACONSOLE"))
$table->width = '100%';
$table->width = '100%';
$table->class = 'databox data';
$table->data = array ();
$table->head = array ();
$table->head[0] = __('Name');
@ -303,8 +303,8 @@ $table->style[0] = 'font-weight: bold';
$table->size = array ();
$table->size[4] = '85px';
$table->align = array ();
$table->align[1] = 'center';
$table->align[4] = 'center';
$table->align[1] = 'left';
$table->align[4] = 'left';
$rowPair = true;
$iterator = 0;
@ -354,8 +354,7 @@ if (isset($data)) {
html_print_table ($table);
}
else {
echo "<div class='nf'>" . __('No alert templates defined') .
"</div>";
ui_print_info_message ( array('no_close'=>true, 'message'=> __('No alert templates defined') ) );
}
echo '<div class="action-buttons" style="width: '.$table->width.'">';
echo '<form method="post" action="index.php?sec='.$sec.'&sec2=godmode/alerts/configure_alert_template&pure='.$pure.'">';

View File

@ -89,7 +89,9 @@ html_print_div(
'hidden' => true));
$table->id = 'table_macros';
$table->width = '98%';
$table->width = '100%';
$table->class = 'databox filters';
if (defined('METACONSOLE')) {
$table->class = 'databox data';
$table->width = '100%';

View File

@ -118,7 +118,9 @@ if (!empty($fields_values)) {
$fields_values = json_decode($fields_values, true);
}
$table->width = '98%';
$table->width = '100%';
$table->class = 'databox filters';
if (defined('METACONSOLE')) {
$table->width = '100%';
$table->class = 'databox data';

View File

@ -51,7 +51,9 @@ if ($date == '') {
// Header
ui_print_page_header (__('Alerts').' &raquo; '.__('Configure special day'), "images/gm_alerts.png", false, "", true);
$table->width = '98%';
$table->width = '100%';
$table->class = 'databox filters';
$table->style = array ();
$table->style[0] = 'font-weight: bold';
$table->size = array ();

View File

@ -470,7 +470,8 @@ if ($id && ! $create_template) {
print_alert_template_steps ($step, $id);
$table->id = 'template';
$table->width = '98%';
$table->width = '100%';
$table->class = 'databox filters';
if(defined("METACONSOLE")) {
$table->width = '100%';
$table->class = 'databox data';
@ -480,8 +481,8 @@ if(defined("METACONSOLE")) {
}
$table->style = array ();
if(!defined("METACONSOLE")) {
$table->style[0] = 'font-weight: bold; vertical-align: top';
$table->style[2] = 'font-weight: bold; vertical-align: top';
$table->style[0] = 'font-weight: bold;';
$table->style[2] = 'font-weight: bold;';
}
$table->size = array ();
$table->size[0] = '20%';

View File

@ -73,7 +73,7 @@ if (isset($_POST["purgedb"])) { # Fixed 2005-1-13, nil
}
# End of get parameters block
echo "<table cellpadding='4' cellspacing='4' class='databox' width='98%'>";
echo "<table cellpadding='4' cellspacing='4' class='databox filters' width='100%'>";
echo "<tr><td class='datos'>";
$result = db_get_row_sql ("SELECT COUNT(*) AS total, MIN(fecha) AS first_date, MAX(fecha) AS latest_date FROM tsesion");
@ -91,7 +91,7 @@ echo "</tr></table>";
?>
<h4><?php echo __('Purge data') ?></h4>
<form name="db_audit" method="post" action="index.php?sec=gdbman&sec2=godmode/db/db_audit">
<table width='98%' cellpadding='4' cellspacing='4' class='databox'>
<table width='100%' cellpadding='4' cellspacing='4' class='databox filters'>
<tr><td class='datos'>
<select name="date_purge">
<option value="<?php echo $time["3month"] ?>"><?php echo __('Purge audit data over 90 days') ?></option>

View File

@ -54,8 +54,8 @@ $row = db_get_row_sql ("
$table->data = array ();
$table->cellpadding = 4;
$table->cellspacing = 4;
$table->class = "databox";
$table->width = '98%';
$table->class = "databox filters";
$table->width = '100%';
$table->data[0][0] = '<b>'.__('Total').':</b>';
$table->data[0][1] = $row["total"].' '.__('Records');
@ -72,7 +72,7 @@ unset ($table);
echo '<h4>'.__('Purge data').'</h4>';
echo '<form name="db_audit" method="post" action="index.php?sec=gdbman&sec2=godmode/db/db_event">';
echo '<table width="98%" cellpadding="4" cellspacing="4" class="databox">
echo '<table width="100%" cellpadding="4" cellspacing="4" class="databox filters">
<tr><td class="datos">';
$time = get_system_time ();

View File

@ -63,7 +63,7 @@ if ((isset ($_GET["operacion"])) && (!isset ($_POST["update_agent"]))) {
ui_print_success_message(__('Filtering completed'));
}
echo '<form method="post" action="index.php?sec=gdbman&sec2=godmode/db/db_refine&operacion=1">';
echo "<table width='98%' border='0' cellspacing='4' cellpadding='4' class='databox'>";
echo "<table width='100%' border='0' cellspacing='4' cellpadding='4' class='databox filters'>";
echo '<tr><td class="datost">';
echo '<div style="float:left; width: 250px;">';

View File

@ -133,7 +133,8 @@ echo '&nbsp;<a href="index.php?sec=geventos&sec2=godmode/events/events&section=f
html_print_image ('images/clean.png', false, array ('title' => __('Load default event fields'), 'onclick' => "if (! confirm ('" . __('Default event fields will be loaded. Do you want to continue?') ."')) return false"));
echo '</a></h3>';
$table->width = '90%';
$table->width = '100%';
$table->class = 'databox filters';
$table->size = array();
//~ $table->size[0] = '20%';

View File

@ -96,9 +96,9 @@ $filters = db_get_all_rows_sql($sql);
if ($filters === false)
$filters = array ();
$table->width = '98%';
if(defined("METACONSOLE"))
$table->width = '100%';
$table->width = '100%';
$table->class = 'databox data';
$table->head = array ();
$table->head[0] = __('Name');
$table->head[1] = __('Group');
@ -113,7 +113,7 @@ $table->align = array ();
$table->align[1] = 'center';
$table->align[2] = 'center';
if(!defined("METACONSOLE"))
$table->align[3] = 'center';
$table->align[3] = 'left';
$table->align[4] = 'center';
$table->align[5] = 'center';
$table->size = array ();
@ -159,8 +159,7 @@ if (isset($data)) {
echo "</form>";
}
else {
echo "<div class='nf'>" .
__('There are no defined filters') . "</div>";
ui_print_info_message ( array('no_close'=>true, 'message'=> __('There are no defined filters') ) );
}
echo '<form method="post" action="index.php?sec=geventos&sec2=godmode/events/events&section=edit_filter&amp;pure='.$config['pure'].'">';

View File

@ -55,7 +55,8 @@ else {
$event_response['params'] = '';
}
$table->width = '90%';
$table->width = '100%';
$table->class = 'databox filters';
if(defined('METACONSOLE')) {
$table->width = '100%';
@ -128,7 +129,7 @@ if ($event_response_id == 0) {
echo '<form method="post" action="index.php?sec=geventos&sec2=godmode/events/events&section=responses&mode=list&action=create_response&amp;pure='.$config['pure'].'">';
html_print_table($table);
if(!defined('METACONSOLE'))
echo '<br><br><div style="width:90%;text-align:right;">';
echo '<div style="width:100%;text-align:right;">';
else
echo '<br><br><div style="width:100%;text-align:right;">';
html_print_submit_button(__('Create'), 'create_response_button', false, array('class' => 'sub next'));
@ -139,7 +140,7 @@ else {
echo '<form method="post" action="index.php?sec=geventos&sec2=godmode/events/events&section=responses&mode=list&action=update_response&amp;pure='.$config['pure'].'">';
html_print_table($table);
if(!defined('METACONSOLE'))
echo '<br><br><div style="width:90%;text-align:right;">';
echo '<div style="width:100%;text-align:right;">';
else
echo '<br><br><div style="width:100%;text-align:right;">';
html_print_submit_button(__('Update'), 'update_response_button', false, array('class' => 'sub next'));

View File

@ -25,14 +25,6 @@ if (! check_acl($config['id_user'], 0, "PM")) {
return;
}
if(!defined('METACONSOLE')) {
echo '<br><br><div style="width:99%;text-align:right;">';
echo '<form method="post" action="index.php?sec=geventos&sec2=godmode/events/events&section=responses&mode=editor&amp;pure='.$config['pure'].'">';
html_print_submit_button(__('Create response'), 'create_response_button', false, array('class' => 'sub next'));
echo '</form>';
echo '</div>';
}
if (!is_user_admin($config['id_user'])) {
$id_groups = array_keys(users_get_groups(false, "PM"));
$event_responses = db_get_all_rows_filter('tevent_response',
@ -43,21 +35,20 @@ else {
}
if(empty($event_responses)) {
ui_print_info_message(__('No responses found'));
ui_print_info_message ( array('no_close'=>true, 'message'=> __('No responses found') ) );
$event_responses = array();
return;
}
$table->width = '99%';
if(defined('METACONSOLE'))
$table->width = '100%';
$table->width = '100%';
$table->class = 'databox data';
$table->size = array();
$table->size[0] = '200px';
$table->size[2] = '70px';
$table->size[2] = '100px';
$table->size[3] = '70px';
$table->style[2] = 'text-align:center;';
$table->style[2] = 'text-align:center;';
$table->style[2] = 'text-align:left;';
$table->head[0] = __('Name');
$table->head[1] = __('Description');
@ -78,11 +69,11 @@ foreach($event_responses as $response) {
html_print_table($table);
if(defined('METACONSOLE')) {
echo '<br><br><div style="width:100%;text-align:right;">';
echo '<form method="post" action="index.php?sec=geventos&sec2=godmode/events/events&section=responses&mode=editor&amp;pure='.$config['pure'].'">';
html_print_submit_button(__('Create response'), 'create_response_button', false, array('class' => 'sub next'));
echo '</form>';
echo '</div>';
}
echo '<div style="width:100%;text-align:right;">';
echo '<form method="post" action="index.php?sec=geventos&sec2=godmode/events/events&section=responses&mode=editor&amp;pure='.$config['pure'].'">';
html_print_submit_button(__('Create response'), 'create_response_button', false, array('class' => 'sub next'));
echo '</form>';
echo '</div>';
?>

View File

@ -539,6 +539,7 @@ unset ($table);
$table->width = '100%';
$table->head = array ();
$table->class = 'databox data';
$table->head[0] = __('Module name');
$table->head[1] = __('Type');
$table->head[3] = __('Description');
@ -550,7 +551,7 @@ $table->head[6] = __('Action') .
$table->size = array ();
$table->size[1] = '75px';
$table->size[6] = '80px';
$table->align[6] = 'center';
$table->align[6] = 'left';
$table->data = array ();
foreach ($components as $component) {
@ -608,8 +609,7 @@ if (isset($data)) {
echo "</form>";
}
else {
echo "<div class='nf'>" .
__('There are no defined network components') . "</div>";
ui_print_info_message ( array('no_close'=>true, 'message'=> __('There are no defined network components') ) );
}
echo '<form method="post" action="' . $url . '">';

View File

@ -230,9 +230,9 @@ if (($create != "") OR ($view != "")) {
echo "<form name=plugin method='post' action='index.php?sec=gservers&sec2=godmode/servers/plugin&tab=$tab&create_plugin=1&pure=" . $config['pure'] . "'>";
}
$table->width = '98%';
$table->width = '100%';
$table->id = 'table-form';
$table->class = 'databox_color';
$table->class = 'databox filters';
$table->style = array ();
$table->style[0] = 'font-weight: bold';
$table->style[2] = 'font-weight: bold';
@ -265,7 +265,7 @@ if (($create != "") OR ($view != "")) {
if (!defined("METACONSOLE")) {
echo '<br>';
echo '<table class="databox" style="margin: 0 auto; width: 98%;"><tr><td>';
echo '<table class="databox" style="margin: 0 auto; width: 100%;"><tr><td>';
}
if (defined("METACONSOLE")) {
@ -668,7 +668,7 @@ else {
if(defined('METACONSOLE'))
echo '<table width="100%" cellspacing="4" cellpadding="4" class="databox">';
else
echo '<table width="98%" cellspacing="4" cellpadding="4" class="databox">';
echo '<table width="100%" cellspacing="4" cellpadding="4" class="databox data">';
echo "<th>" . __('Name') . "</th>";
echo "<th>" . __('Type') . "</th>";
@ -724,15 +724,10 @@ else {
echo "</table>";
}
else {
echo '<div class="nf">' .
__('There are no plugins in the system') .
'</div>';
echo "<br>";
ui_print_info_message ( array('no_close'=>true, 'message'=> __('There are no plugins in the system') ) );
}
if(defined('METACONSOLE'))
echo "<table width='100%'>";
else
echo "<table width='98%'>";
echo "<table width='100%'>";
echo "<tr><td align=right>";
echo "<form name=plugin method='post' action='index.php?sec=gservers&sec2=godmode/servers/plugin&tab=$tab&create=1&pure=" . $config['pure'] . "'>";

View File

@ -82,9 +82,9 @@ if (($create != "") OR ($view != "")) {
else
echo "<form name=reconscript method='post' action='index.php?sec=gservers&sec2=godmode/servers/recon_script&create_reconscript=1'>";
$table->width = '98%';
$table->width = '100%';
$table->id = 'table-form';
$table->class = 'databox_color';
$table->class = 'databox filters';
$table->style = array ();
$table->style[0] = 'font-weight: bold';
$table->style[2] = 'font-weight: bold';
@ -212,7 +212,7 @@ if (($create != "") OR ($view != "")) {
html_print_table($table);
echo '<table width=98%>';
echo '<table width=100%>';
echo '<tr><td align="right">';
if ($create != "") {
@ -343,7 +343,7 @@ else {
$rows = db_get_all_rows_in_table('trecon_script');
if ($rows !== false) {
echo '<table width="98%" cellspacing="4" cellpadding="4" class="databox alternate">';
echo '<table width="100%" cellspacing="4" cellpadding="4" class="databox data">';
echo "<th>" . __('Name') . "</th>";
echo "<th>" . __('Description') . "</th>";
echo "<th>" . __('Delete') . "</th>";
@ -374,11 +374,9 @@ else {
echo "</table>";
}
else {
echo '<div class="nf">'.
__('There are no recon scripts in the system') . '</div>';
echo "<br>";
ui_print_info_message ( array('no_close'=>true, 'message'=> __('There are no recon scripts in the system') ) );
}
echo "<table width=98%>";
echo "<table width=100%>";
echo "<tr><td align=right>";
echo "<form name=reconscript method='post' action='index.php?sec=gservers&sec2=godmode/servers/recon_script&create=1'>";
echo "<input name='crtbutton' type='submit' class='sub next' value='".__('Add')."'>";

View File

@ -53,7 +53,9 @@ echo '</script>';
echo '<form method="post">';
$table->width = '95%';
$table->width = '100%';
$table->class = 'databox filters';
$table->data = array ();
$table->data[0][0] = '<strong>'.__('Customer key').'</strong>';
@ -76,6 +78,7 @@ if (enterprise_installed()) {
echo '<div class="action-buttons" style="width: '.$table->width.'">';
html_print_input_hidden ('update_settings', 1);
html_print_submit_button (__('Validate'), 'update_button', false, 'class="sub upd"');
echo "&nbsp;&nbsp;";
html_print_button(__('Request new license'), '', false, 'generate_request_code()', 'class="ui-button-dialog ui-widget ui-state-default ui-corner-all ui-button-text-only sub next"');
echo '</div>';
}

View File

@ -91,7 +91,7 @@ if ((isset($_GET["form_add"])) or (isset($_GET["form_edit"]))) {
$nombre = "";
$link = "";
}
echo '<table class="databox" cellpadding="4" cellspacing="4" width="98%">';
echo '<table class="databox filters" cellpadding="4" cellspacing="4" width="100%">';
echo '<form name="ilink" method="post" action="index.php?sec=gsetup&sec2=godmode/setup/links">';
if ($creation_mode == 1)
echo "<input type='hidden' name='create' value='1'>";
@ -108,10 +108,10 @@ if ((isset($_GET["form_add"])) or (isset($_GET["form_edit"]))) {
echo '</tr><tr>
<td class="datos2">'.__('Link').'</td>
<td class="datos2">
<input type="text" name="link" size="35" value="'.$link.'"></td>';
<input type="text" name="link" size="150" value="'.$link.'"></td>';
echo '</tr>';
echo "</table>";
echo "<table width='98%'>";
echo "<table width='100%'>";
echo "<tr><td align='right'>";
if (isset($_GET["form_add"])) {
echo "<input name='crtbutton' type='submit' class='sub wand' value='".__('Create')."'>";
@ -129,12 +129,12 @@ else { // Main list view for Links editor
}
if (empty($rows)) {
echo '<div class="nf">'.__("There isn't links").'</div>';
ui_print_info_message ( array('no_close'=>true, 'message'=> __("There isn't links") ) );
}
else {
echo "<table cellpadding='4' cellspacing='4' class='databox' style='width:98%'>";
echo "<table cellpadding='4' cellspacing='4' class='databox data' style='width:100%'>";
echo "<th width='180px'>".__('Link name')."</th>";
echo "<th width='80px'>".__('Delete')."</th>";
echo "<th width='10px'>".__('Delete')."</th>";
$color = 1;
foreach ($rows as $row) {
@ -147,12 +147,12 @@ else { // Main list view for Links editor
$color = 1;
}
echo "<tr><td class='$tdcolor'><b><a href='index.php?sec=gsetup&sec2=godmode/setup/links&form_edit=1&id_link=".$row["id_link"]."'>".$row["name"]."</a></b></td>";
echo '<td class="'.$tdcolor.'" align="center"><a href="index.php?sec=gsetup&sec2=godmode/setup/links&id_link='.$row["id_link"].'&borrar='.$row["id_link"].'" onClick="if (!confirm(\' '.__('Are you sure?').'\')) return false;">' . html_print_image("images/cross.png", true) . '</a></td></tr>';
echo '<td class="'.$tdcolor.'"><a href="index.php?sec=gsetup&sec2=godmode/setup/links&id_link='.$row["id_link"].'&borrar='.$row["id_link"].'" onClick="if (!confirm(\' '.__('Are you sure?').'\')) return false;">' . html_print_image("images/cross.png", true) . '</a></td></tr>';
}
echo "</table>";
}
echo "<table width='98%'>";
echo "<table width='100%'>";
echo "<tr><td align='right'>";
echo "<form method='post' action='index.php?sec=gsetup&sec2=godmode/setup/links&form_add=1'>";
echo "<input type='submit' class='sub next' name='form_add' value='".__('Add')."'>";

View File

@ -144,11 +144,11 @@ if ((isset ($_GET["form_add"])) || (isset ($_GET["form_edit"]))) {
// Create news
$table->width = '98%%';
$table->width = '100%';
$table->id = "news";
$table->cellpadding = 4;
$table->cellspacing = 4;
$table->class = "databox";
$table->class = "databox filters";
$table->head = array ();
$table->data = array ();
$table->style[0] = 'font-weight: bold;';
@ -212,11 +212,11 @@ else {
$rows = db_get_all_rows_in_table("tnews", "timestamp");
if ($rows === false) {
$rows = array();
echo "<div class='nf'>".__('There are no defined news')."</div>";
ui_print_info_message ( array('no_close'=>true, 'message'=> __("There are no defined news") ) );
}
else {
// Main list view for Links editor
echo "<table cellpadding='4' cellspacing='4' class='databox' width=98%>";
echo "<table cellpadding='4' cellspacing='4' class='databox data' width=100%>";
echo "<th>".__('Subject')."</th>";
echo "<th>".__('Type')."</th>";
echo "<th>".__('Author')."</th>";
@ -269,7 +269,7 @@ else {
echo "</table>";
}
echo "<table width='98%'>";
echo "<table width='100%'>";
echo "<tr><td align='right'>";
echo "<form method='post' action='index.php?sec=gsetup&sec2=godmode/setup/news&form_add=1'>";
echo "<input type='submit' class='sub next' name='form_add' value='".__('Add')."'>";

View File

@ -26,9 +26,10 @@ if (! check_acl ($config['id_user'], 0, "PM") && ! is_user_admin ($config['id_us
echo '<form id="form_setup" method="post">';
$table = null;
$table->width = '98%';
$table->width = '100%';
$table->class = 'databox filters';
$table->style[0] = 'font-weight: bolder; vertical-align: top;';
$table->style[0] = 'font-weight: bolder;';
$table->data[0][0] = __('Name:');
$table->data[0][1] = html_print_input_text('name', $name, __('Name'), 20, 30, true);

View File

@ -26,7 +26,9 @@ if (! check_acl ($config['id_user'], 0, "PM") && ! is_user_admin ($config['id_us
$table = null;
$table->width = '98%';
$table->width = '100%';
$table->class = 'databox data';
$table->head[0] = '';
$table->head[1] = __('ID');
$table->head[2] = __('Name');
@ -64,6 +66,6 @@ if (isset($data)) {
html_print_table($table);
}
else {
echo "<div class='nf'>".__('There are no defined operating systems')."</div>";
ui_print_info_message ( array('no_close'=>true, 'message'=> __('There are no defined operating systems') ) );
}
?>

View File

@ -3,7 +3,7 @@
background-image: -moz-linear-gradient(center top , #373A3D, #313437);
border-radius: 3px;
font-family: 'PT Sans Narrow',sans-serif;
margin: 20px;
margin: 0px;
padding: 30px;
}
#drop_file {

View File

@ -54,9 +54,10 @@ if ($action_update_url_update_manager) {
echo '<form method="post" action="index.php?sec=gsetup&sec2=godmode/update_manager/update_manager&tab=setup">';
$table = null;
$table->width = '98%';
$table->width = '100%';
$table->class = 'databox filters';
$table->style[0] = 'font-weight: bolder; vertical-align: top;';
$table->style[0] = 'font-weight: bolder;';
$table->data[0][0] = __('URL update manager:');
$table->data[0][1] = html_print_input_text('url_update_manager',

Binary file not shown.

After

Width:  |  Height:  |  Size: 397 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 419 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 428 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 527 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 514 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 446 B

After

Width:  |  Height:  |  Size: 571 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 453 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 460 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 477 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 439 B

View File

@ -3,7 +3,7 @@
margin-top: 30px;
left: 20px;
width: 60%;
height: 35em;
height: 300px;
background-color: #ececec;
border-radius: 3px 3px 3px 3px;
}
@ -20,24 +20,33 @@
.image_task
{
margin: 30px 0px 0px 50px;
width:20%;
height:100%;
float:left;
}
.image_task>img {
margin-top: 35%;
margin-left: 15%;
}
.text_task
{
width: 45em;
width: 70%;
float: right;
padding-right: 100px;
margin-top: -120px;
height: 100%;
}
.text_task>p
{
margin-top: 7%;
}
.button_task
{
margin-top:10px;
background-color: #82B92E;
background-color: #3F3F3F !important;
padding: 10px 10px 10px 10px;
font-weight: bold;
color: #FFF;
color: #82B92E;
border:none;
}
#description_task

View File

@ -145,6 +145,7 @@ h1#log_title {
font-size: 18px;
margin-bottom: 0px;
color: #FFF !important;
width:70%
}
div#log_msg {
display: none;
@ -413,6 +414,7 @@ div#foot {
p.log_in {
color: #FFF !important;
padding: 0px 10px;
width:70%;
}
h1#log_f {
color: #c00;
@ -474,9 +476,9 @@ div#login_in, #login_f {
text-align: center;
}
table#login_layout {
width: 30%;
width: 100%;
height: 160px;
position: absolute;
position:fixed;
}
div#error_login {
@ -521,7 +523,7 @@ DIV.login_links>a {
DIV.login_button{
text-align:right;
width: 68%;
width: 100%;
margin-top: 15px;
}
@ -3047,12 +3049,8 @@ table#policy_modules td * {
top: 23px;
}
.dashboard li{
# width: 150px !important;
}
.dashboard li a{
width: 160px !important;
width: 158px !important;
}
.text_subDashboard{

View File

@ -178,14 +178,14 @@ if ($status != -1) {
__('User info successfully updated'),
__('Error updating user info'));
}
$jump = "<br />";
$jump = "&nbsp;&nbsp;";
$table->id = 'user_form';
$table->width = '100%';
$table->cellspacing = 4;
$table->cellpadding = 4;
$table->class = 'databox filters';
if (defined('METACONSOLE')) {
$jump = "&nbsp;&nbsp;";
$table->width = '100%';
$table->class = 'databox data';
$table->head[0] = __('Edit my User');