2009-05-14 Esteban Sanchez <estebans@artica.es>
* images/go_first.png, images/go_last.png, images/go_next.png images/go_previous.png, images/page_refresh.png: Added to repository. * images/b_blue.png, images/b_green.png, images/binary.png, images/b_magenta.png, images/b_red.png, images/brick.png, images/bricks.png, images/bug.png, images/b_white.png, images/b_yellow.png, images/cog.png, images/comments.png, images/computer_error.png, images/computer.png, images/database_gear.png, images/database_lightning.png, images/database.png, images/database_refresh.png, images/disk.png, images/god3.png, images/god5.png, images/god7.png, images/god8.png, images/lightbulb_off.png, images/lightbulb.png, images/lightning.png, images/network.png, images/plugin.png, images/reporting_edit.png, images/setup.png: Update to tango theme. Some of them were repainted using tango palette. * images/control_end_blue.png, images/control_fastforward_blue.png images/control_rewind_blue.png, images/control_start_blue.png images/transmit.png: Deleted. Unused icons. * general/header.php: Changed refresh icon. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1691 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
|
@ -1,3 +1,27 @@
|
||||||
|
2009-05-14 Esteban Sanchez <estebans@artica.es>
|
||||||
|
|
||||||
|
* images/go_first.png, images/go_last.png, images/go_next.png
|
||||||
|
images/go_previous.png, images/page_refresh.png: Added to repository.
|
||||||
|
|
||||||
|
* images/b_blue.png, images/b_green.png, images/binary.png,
|
||||||
|
images/b_magenta.png, images/b_red.png, images/brick.png,
|
||||||
|
images/bricks.png, images/bug.png, images/b_white.png,
|
||||||
|
images/b_yellow.png, images/cog.png, images/comments.png,
|
||||||
|
images/computer_error.png, images/computer.png, images/database_gear.png,
|
||||||
|
images/database_lightning.png, images/database.png,
|
||||||
|
images/database_refresh.png, images/disk.png, images/god3.png,
|
||||||
|
images/god5.png, images/god7.png, images/god8.png,
|
||||||
|
images/lightbulb_off.png, images/lightbulb.png,
|
||||||
|
images/lightning.png, images/network.png, images/plugin.png,
|
||||||
|
images/reporting_edit.png, images/setup.png: Update to tango theme.
|
||||||
|
Some of them were repainted using tango palette.
|
||||||
|
|
||||||
|
* images/control_end_blue.png, images/control_fastforward_blue.png
|
||||||
|
images/control_rewind_blue.png, images/control_start_blue.png
|
||||||
|
images/transmit.png: Deleted. Unused icons.
|
||||||
|
|
||||||
|
* general/header.php: Changed refresh icon.
|
||||||
|
|
||||||
2009-05-14 Esteban Sanchez <estebans@artica.es>
|
2009-05-14 Esteban Sanchez <estebans@artica.es>
|
||||||
|
|
||||||
* godmode/agentes/massive_edit_modules.php: Fixed title.
|
* godmode/agentes/massive_edit_modules.php: Fixed title.
|
||||||
|
|
|
@ -73,12 +73,12 @@ echo '</td><td width="20%">';
|
||||||
$ignored_params = array ('agent_config' => false);
|
$ignored_params = array ('agent_config' => false);
|
||||||
if ($config["refr"]) {
|
if ($config["refr"]) {
|
||||||
$ignored_params['refr'] = 0;
|
$ignored_params['refr'] = 0;
|
||||||
echo '<a id="autorefresh" class="white_grey_bold" href="'.get_url_refresh ($ignored_params).'"><img src="images/page_lightning.png" class="bot" alt="lightning" /> '. __('Autorefresh');
|
echo '<a id="autorefresh" class="white_grey_bold" href="'.get_url_refresh ($ignored_params).'"><img src="images/page_refresh.png" class="bot" alt="lightning" /> '. __('Autorefresh');
|
||||||
echo ' (<span id="refrcounter">'.date ("i:s", $config["refr"]).'</span>)';
|
echo ' (<span id="refrcounter">'.date ("i:s", $config["refr"]).'</span>)';
|
||||||
echo '</a>';
|
echo '</a>';
|
||||||
} else {
|
} else {
|
||||||
$ignored_params['refr'] = '';
|
$ignored_params['refr'] = '';
|
||||||
echo '<a id="autorefresh" class="white_bold" href="'.get_url_refresh ($ignored_params).'"><img src="images/page_lightning.png" class="bot" alt="lightning" /> '.__('Autorefresh').'</a>';
|
echo '<a id="autorefresh" class="white_bold" href="'.get_url_refresh ($ignored_params).'"><img src="images/page_refresh.png" class="bot" alt="lightning" /> '.__('Autorefresh').'</a>';
|
||||||
$values = array ('5' => '5 '.__('seconds'),
|
$values = array ('5' => '5 '.__('seconds'),
|
||||||
'10' => '10 '.__('seconds'),
|
'10' => '10 '.__('seconds'),
|
||||||
'15' => '15 '.__('seconds'),
|
'15' => '15 '.__('seconds'),
|
||||||
|
|
|
@ -580,11 +580,11 @@ if ($step == 1) {
|
||||||
/* Pager for alert list using Javascript */
|
/* Pager for alert list using Javascript */
|
||||||
echo '<div id="alerts_pager" class="'.($id_agent ? '' : 'invisible ').'pager">';
|
echo '<div id="alerts_pager" class="'.($id_agent ? '' : 'invisible ').'pager">';
|
||||||
echo '<form>';
|
echo '<form>';
|
||||||
echo '<img src="images/control_start_blue.png" class="first" />';
|
echo '<img src="images/go_first.png" class="first" />';
|
||||||
echo '<img src="images/control_rewind_blue.png" class="prev" />';
|
echo '<img src="images/go_previous.png" class="prev" />';
|
||||||
echo '<input type="text" class="pagedisplay" />';
|
echo '<input type="text" class="pagedisplay" />';
|
||||||
echo '<img src="images/control_fastforward_blue.png" class="next" />';
|
echo '<img src="images/go_next.png" class="next" />';
|
||||||
echo '<img src="images/control_end_blue.png" class="last" />';
|
echo '<img src="images/go_last.png" class="last" />';
|
||||||
echo '<select class="pagesize invisible">';
|
echo '<select class="pagesize invisible">';
|
||||||
echo '<option selected="selected" value="'.$config['block_size'].'">'.$config['block_size'].'</option>';
|
echo '<option selected="selected" value="'.$config['block_size'].'">'.$config['block_size'].'</option>';
|
||||||
echo '</select>';
|
echo '</select>';
|
||||||
|
|
Before Width: | Height: | Size: 512 B After Width: | Height: | Size: 821 B |
Before Width: | Height: | Size: 513 B After Width: | Height: | Size: 859 B |
Before Width: | Height: | Size: 477 B After Width: | Height: | Size: 808 B |
Before Width: | Height: | Size: 510 B After Width: | Height: | Size: 849 B |
Before Width: | Height: | Size: 491 B After Width: | Height: | Size: 824 B |
Before Width: | Height: | Size: 415 B After Width: | Height: | Size: 779 B |
Before Width: | Height: | Size: 403 B After Width: | Height: | Size: 341 B |
Before Width: | Height: | Size: 452 B After Width: | Height: | Size: 481 B |
Before Width: | Height: | Size: 836 B After Width: | Height: | Size: 738 B |
Before Width: | Height: | Size: 774 B After Width: | Height: | Size: 664 B |
Before Width: | Height: | Size: 512 B After Width: | Height: | Size: 629 B |
Before Width: | Height: | Size: 557 B After Width: | Height: | Size: 422 B |
Before Width: | Height: | Size: 667 B After Width: | Height: | Size: 725 B |
Before Width: | Height: | Size: 784 B After Width: | Height: | Size: 812 B |
Before Width: | Height: | Size: 737 B |
Before Width: | Height: | Size: 736 B |
Before Width: | Height: | Size: 745 B |
Before Width: | Height: | Size: 720 B |
Before Width: | Height: | Size: 390 B After Width: | Height: | Size: 512 B |
Before Width: | Height: | Size: 468 B After Width: | Height: | Size: 638 B |
Before Width: | Height: | Size: 775 B After Width: | Height: | Size: 693 B |
Before Width: | Height: | Size: 770 B After Width: | Height: | Size: 720 B |
Before Width: | Height: | Size: 620 B After Width: | Height: | Size: 561 B |
After Width: | Height: | Size: 666 B |
After Width: | Height: | Size: 685 B |
After Width: | Height: | Size: 676 B |
After Width: | Height: | Size: 655 B |
Before Width: | Height: | Size: 946 B After Width: | Height: | Size: 983 B |
Before Width: | Height: | Size: 677 B After Width: | Height: | Size: 728 B |
Before Width: | Height: | Size: 720 B After Width: | Height: | Size: 440 B |
Before Width: | Height: | Size: 824 B After Width: | Height: | Size: 658 B |
Before Width: | Height: | Size: 782 B After Width: | Height: | Size: 779 B |
Before Width: | Height: | Size: 700 B After Width: | Height: | Size: 863 B |
Before Width: | Height: | Size: 634 B After Width: | Height: | Size: 669 B |
Before Width: | Height: | Size: 871 B After Width: | Height: | Size: 517 B |
After Width: | Height: | Size: 931 B |
Before Width: | Height: | Size: 591 B After Width: | Height: | Size: 411 B |
Before Width: | Height: | Size: 986 B After Width: | Height: | Size: 852 B |
Before Width: | Height: | Size: 509 B After Width: | Height: | Size: 440 B |
Before Width: | Height: | Size: 749 B |
|
@ -809,13 +809,13 @@ function pagination ($count, $url = false, $offset = 0, $pagination = 0, $return
|
||||||
|
|
||||||
$output = '<div class="pagination">';
|
$output = '<div class="pagination">';
|
||||||
// Show GOTO FIRST button
|
// Show GOTO FIRST button
|
||||||
$output .= '<a class="pagination go_first" href="'.$url.'&'.$offset_name.'=0">'.print_image ("images/control_start_blue.png", true, array ("class" => "bot")).'</a> ';
|
$output .= '<a class="pagination go_first" href="'.$url.'&'.$offset_name.'=0">'.print_image ("images/go_first.png", true, array ("class" => "bot")).'</a> ';
|
||||||
// Show PREVIOUS button
|
// Show PREVIOUS button
|
||||||
if ($index_page > 0) {
|
if ($index_page > 0) {
|
||||||
$index_page_prev = ($index_page - (floor ($block_limit / 2))) * $pagination;
|
$index_page_prev = ($index_page - (floor ($block_limit / 2))) * $pagination;
|
||||||
if ($index_page_prev < 0)
|
if ($index_page_prev < 0)
|
||||||
$index_page_prev = 0;
|
$index_page_prev = 0;
|
||||||
$output .= '<a class="pagination go_rewind" href="'.$url.'&'.$offset_name.'='.$index_page_prev.'">'.print_image ("images/control_rewind_blue.png", true, array ("class" => "bot")).'</a>';
|
$output .= '<a class="pagination go_rewind" href="'.$url.'&'.$offset_name.'='.$index_page_prev.'">'.print_image ("images/go_previous.png", true, array ("class" => "bot")).'</a>';
|
||||||
}
|
}
|
||||||
$output .= " ";
|
$output .= " ";
|
||||||
// Draw blocks markers
|
// Draw blocks markers
|
||||||
|
@ -846,7 +846,7 @@ function pagination ($count, $url = false, $offset = 0, $pagination = 0, $return
|
||||||
$prox_bloque = ($i + ceil ($block_limit / 2)) * $pagination;
|
$prox_bloque = ($i + ceil ($block_limit / 2)) * $pagination;
|
||||||
if ($prox_bloque > $count)
|
if ($prox_bloque > $count)
|
||||||
$prox_bloque = ($count -1) - $pagination;
|
$prox_bloque = ($count -1) - $pagination;
|
||||||
$output .= '<a class="pagination go_fastforward" href="'.$url.'&'.$offset_name.'='.$prox_bloque.'">'.print_image ("images/control_fastforward_blue.png", true, array ("class" => "bot")).'</a>';
|
$output .= '<a class="pagination go_fastforward" href="'.$url.'&'.$offset_name.'='.$prox_bloque.'">'.print_image ("images/go_next.png", true, array ("class" => "bot")).'</a>';
|
||||||
$i = $index_counter;
|
$i = $index_counter;
|
||||||
}
|
}
|
||||||
// if exists more registers than i can put in a page (defined by $block_size config parameter)
|
// if exists more registers than i can put in a page (defined by $block_size config parameter)
|
||||||
|
@ -855,7 +855,7 @@ function pagination ($count, $url = false, $offset = 0, $pagination = 0, $return
|
||||||
// as painted in last block (last integer block).
|
// as painted in last block (last integer block).
|
||||||
if (($count - $pagination) > 0) {
|
if (($count - $pagination) > 0) {
|
||||||
$myoffset = floor (($count - 1) / $pagination) * $pagination;
|
$myoffset = floor (($count - 1) / $pagination) * $pagination;
|
||||||
$output .= '<a class="pagination go_last" href="'.$url.'&'.$offset_name.'='.$myoffset.'">'.print_image ("images/control_end_blue.png", true, array ("class" => "bot")).'</a>';
|
$output .= '<a class="pagination go_last" href="'.$url.'&'.$offset_name.'='.$myoffset.'">'.print_image ("images/go_last.png", true, array ("class" => "bot")).'</a>';
|
||||||
}
|
}
|
||||||
// End div and layout
|
// End div and layout
|
||||||
$output .= "</div>";
|
$output .= "</div>";
|
||||||
|
|
|
@ -96,7 +96,7 @@
|
||||||
background: url(../../images/bricks.png) no-repeat 4px 4px;
|
background: url(../../images/bricks.png) no-repeat 4px 4px;
|
||||||
}
|
}
|
||||||
#icon_oper-servers {
|
#icon_oper-servers {
|
||||||
background: url(../../images/server_database.png) no-repeat 4px 4px;
|
background: url(../../images/server.png) no-repeat 4px 4px;
|
||||||
}
|
}
|
||||||
#icon_oper-incidents {
|
#icon_oper-incidents {
|
||||||
background: url(../../images/book_edit.png) no-repeat 4px 4px;
|
background: url(../../images/book_edit.png) no-repeat 4px 4px;
|
||||||
|
|
|
@ -373,7 +373,7 @@ td.datos_id {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
.suc, .error, .help {
|
.suc, .error, .help {
|
||||||
padding: 4px 1px 6px 30px;
|
padding: 10px 1px 6px 35px
|
||||||
}
|
}
|
||||||
.suc {
|
.suc {
|
||||||
color: #5a8629;
|
color: #5a8629;
|
||||||
|
|
|
@ -304,7 +304,7 @@ print_image ("images/heart.png", false, array ("title" => __('Marquee display'))
|
||||||
echo '</a>';
|
echo '</a>';
|
||||||
// RSS
|
// RSS
|
||||||
echo ' <a target="_top" href="operation/events/events_rss.php?ev_group='.$ev_group.'&event_type='.$event_type.'&search='.rawurlencode ($search).'&severity='.$severity.'&status='.$status.'&id_agent='.$id_agent.'">';
|
echo ' <a target="_top" href="operation/events/events_rss.php?ev_group='.$ev_group.'&event_type='.$event_type.'&search='.rawurlencode ($search).'&severity='.$severity.'&status='.$status.'&id_agent='.$id_agent.'">';
|
||||||
print_image ("images/transmit.png", false, array ("title" => __('RSS Events')));
|
print_image ("images/rss.png", false, array ("title" => __('RSS Events')));
|
||||||
echo '</a>';
|
echo '</a>';
|
||||||
|
|
||||||
echo "</td></tr></table></form>"; //This is the filter div
|
echo "</td></tr></table></form>"; //This is the filter div
|
||||||
|
|