2010-10-15 Sergio Martin <sergio.martin@artica.es>

* godmode/alerts/alert_list.list.php
	godmode/alerts/alert_list.builder.php: Fixed the ugly layout of 
	the alert views



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3409 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2010-10-15 11:47:43 +00:00
parent 636ad58d41
commit b088800fb8
3 changed files with 14 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2010-10-15 Sergio Martin <sergio.martin@artica.es>
* godmode/alerts/alert_list.list.php
godmode/alerts/alert_list.builder.php: Fixed the ugly layout of
the alert views
2010-10-15 Miguel de Dios <miguel.dedios@artica.es> 2010-10-15 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager_editor_network.php: added lines to unblock * godmode/agentes/module_manager_editor_network.php: added lines to unblock

View File

@ -35,6 +35,9 @@ $table->size = array ();
$table->size[0] = '10%'; $table->size[0] = '10%';
$table->size[1] = '90%'; $table->size[1] = '90%';
$table->style[0] = 'font-weight: bold; vertical-align: top;'; $table->style[0] = 'font-weight: bold; vertical-align: top;';
$table->align[0] = 'left';
$table->align[1] = 'left';
/* Add an agent selector */ /* Add an agent selector */
if (! $id_agente) { if (! $id_agente) {
@ -58,6 +61,8 @@ $table->data[0][1] .= '<span id="value">&nbsp;</span></span>';
$table->data[0][1] .= ' <span id="module_loading" class="invisible">'; $table->data[0][1] .= ' <span id="module_loading" class="invisible">';
$table->data[0][1] .= '<img src="images/spinner.png" /></span>'; $table->data[0][1] .= '<img src="images/spinner.png" /></span>';
$table->data[1][0] = __('Template');
$table->data[1][0] = __('Template'); $table->data[1][0] = __('Template');
$templates = get_alert_templates (false, array ('id', 'name')); $templates = get_alert_templates (false, array ('id', 'name'));

View File

@ -269,7 +269,7 @@ else {
} }
$table->class = 'alert_list'; $table->class = 'alert_list';
$table->width = '90%'; $table->width = '95%';
$table->size = array (); $table->size = array ();
$table->align[0] = 'center'; $table->align[0] = 'center';
@ -302,12 +302,12 @@ else {
/* Different sizes or the layout screws up */ /* Different sizes or the layout screws up */
$table->size[0] = '8%'; $table->size[0] = '8%';
$table->size[1] = '8%'; $table->size[1] = '8%';
$table->size[2] = '30%'; $table->size[2] = '20%';
$table->size[3] = '20%'; $table->size[3] = '20%';
if ($isFunctionPolicies !== ENTERPRISE_NOT_HOOK) { if ($isFunctionPolicies !== ENTERPRISE_NOT_HOOK) {
$table->size[4] = '20px'; $table->size[4] = '20px';
} }
$table->size[5] = '50%'; $table->size[5] = '8%';
} }
$table->head[3] = __('Module') . '<br>' . $table->head[3] = __('Module') . '<br>' .