2009-11-03 Raul Mateos <raulofpandora@gmail.com>
* godmode/alerts/configure*.php: Improving integrity of appareance in title. * godmode/alerts/alert_actions.php, godmode/alerts/alert_templates.php: Added text if no action, list or template defined. * godmode/alerts/alert_list.php: Small fix git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2070 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
173350f6a4
commit
ef03620ab9
|
@ -1,3 +1,13 @@
|
|||
2009-11-03 Raul Mateos <raulofpandora@gmail.com>
|
||||
|
||||
* godmode/alerts/configure*.php: Improving integrity of
|
||||
appareance in title.
|
||||
|
||||
* godmode/alerts/alert_actions.php, godmode/alerts/alert_templates.php:
|
||||
Added text if no action, list or template defined.
|
||||
|
||||
* godmode/alerts/alert_list.php: Small fix
|
||||
|
||||
2009-11-02 Sancho Lerena <slerena@artica.es>
|
||||
|
||||
* include/config_process.php: Updated build/version.
|
||||
|
|
|
@ -129,8 +129,11 @@ foreach ($actions as $action) {
|
|||
|
||||
array_push ($table->data, $data);
|
||||
}
|
||||
|
||||
print_table ($table);
|
||||
if (isset($data)){
|
||||
print_table ($table);
|
||||
} else {
|
||||
echo "<div class='nf'>".__('No alert actions configured')."</div>";
|
||||
}
|
||||
|
||||
echo '<div class="action-buttons" style="width: '.$table->width.'">';
|
||||
echo '<form method="post" action="index.php?sec=galertas&sec2=godmode/alerts/configure_alert_action">';
|
||||
|
|
|
@ -193,7 +193,7 @@ if ($id_agente) {
|
|||
echo '<h2>'.__('Agent configuration').' » '.__('Alerts').'</h2>';
|
||||
$agents = array ($id_agente => get_agent_name ($id_agente));
|
||||
} else {
|
||||
echo '<h2>'.__('Alerts').' » '.__('Manage alerts').'</h2>';;
|
||||
echo '<h2>'.__('Alerts').' » '.__('Manage alerts').'</h2>';
|
||||
$groups = get_user_groups ();
|
||||
$agents = get_group_agents (array_keys ($groups), false, "none");
|
||||
}
|
||||
|
|
|
@ -225,8 +225,11 @@ foreach ($templates as $template) {
|
|||
}
|
||||
|
||||
pagination ($total_templates, $url);
|
||||
print_table ($table);
|
||||
|
||||
if (isset($data)){
|
||||
print_table ($table);
|
||||
} else {
|
||||
echo "<div class='nf'>".__('No alert templates defined')."</div>";
|
||||
}
|
||||
echo '<div class="action-buttons" style="width: '.$table->width.'">';
|
||||
echo '<form method="post" action="index.php?sec=galertas&sec2=godmode/alerts/configure_alert_template">';
|
||||
print_submit_button (__('Create'), 'create', false, 'class="sub next"');
|
||||
|
|
|
@ -42,7 +42,7 @@ if ($id) {
|
|||
$field3 = $action['field3'];
|
||||
}
|
||||
|
||||
echo '<h1>'.__('Configure alert action').'</h1>';
|
||||
echo "<h2>".__('Alerts')." » ".__('Configure alert action')."</h2>";
|
||||
|
||||
$table->width = '90%';
|
||||
$table->style = array ();
|
||||
|
|
|
@ -38,7 +38,7 @@ if ($id) {
|
|||
$description = $alert['description'];
|
||||
}
|
||||
|
||||
echo '<h1>'.__('Configure alert command').'</h1>';
|
||||
echo '<h2>'.__('Alerts').' » '.__('Configure alert command').'</h2>';
|
||||
|
||||
$table->width = '90%';
|
||||
$table->style = array ();
|
||||
|
|
|
@ -520,7 +520,7 @@ echo '</form>';
|
|||
|
||||
/* Show alert search when we're on the first step */
|
||||
if ($step == 1) {
|
||||
echo '<h2>'.__('Add condition').'</h2>';
|
||||
echo '<h3>'.__('Add condition').'</h3>';
|
||||
|
||||
$id_group = (int) get_parameter ('id_group');
|
||||
|
||||
|
|
|
@ -294,7 +294,7 @@ if ($id && ! $create_template) {
|
|||
$priority = $template['priority'];
|
||||
}
|
||||
|
||||
echo '<h1>'.__('Configure alert template').'</h1>';
|
||||
echo '<h2>'.__('Alerts').' » '.__('Configure alert template').'</h2>';
|
||||
|
||||
print_alert_template_steps ($step, $id);
|
||||
|
||||
|
|
|
@ -124,8 +124,8 @@ h1#log {
|
|||
color: #000;
|
||||
}
|
||||
h1#log_f {
|
||||
color: #f00;
|
||||
border-bottom: 1px solid #f00;
|
||||
color: #c00;
|
||||
border-bottom: 1px solid #c00;
|
||||
padding-bottom: 3px;
|
||||
}
|
||||
div#login {
|
||||
|
@ -324,27 +324,21 @@ td.datos4 {
|
|||
text-align: center !important;
|
||||
background-color: #d4ddc6;
|
||||
}
|
||||
|
||||
td.datos_id {
|
||||
color: #1a313a;
|
||||
}
|
||||
|
||||
tr.rowPair {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
tr.rowOdd {
|
||||
background-color: #EEEEEE;
|
||||
}
|
||||
|
||||
tr.rowPair:hover {
|
||||
background-color: #E0E0E0;
|
||||
}
|
||||
|
||||
tr.rowOdd:hover {
|
||||
background-color: #E0E0E0
|
||||
}
|
||||
|
||||
.bg { /* op menu */
|
||||
background-color: #786;
|
||||
}
|
||||
|
@ -399,7 +393,7 @@ tr.rowOdd:hover {
|
|||
background: url(../../images/help.png) no-repeat;
|
||||
}
|
||||
.red, .redb, .redi, .error {
|
||||
color: #f00;
|
||||
color: #c00;
|
||||
}
|
||||
|
||||
.sep {
|
||||
|
|
Loading…
Reference in New Issue