[icinga-checkins] icinga.org: icinga-core/mfriedrich/ido: classic-ui: moved passive icons in cmd.cgi a bit, not sticking to cell border #2697

git at icinga.org git at icinga.org
Wed Oct 3 01:14:53 CEST 2012


Module: icinga-core
Branch: mfriedrich/ido
Commit: 700d5e00c5d05e9b52700a35c88bb2c983c2a127
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=700d5e00c5d05e9b52700a35c88bb2c983c2a127

Author: Ricardo Bartels <ricardo at bitchbrothers.com>
Date:   Mon Sep 24 23:20:09 2012 +0200

classic-ui: moved passive icons in cmd.cgi a bit, not sticking to cell border #2697

refs: #2697

---

 cgi/cmd.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cgi/cmd.c b/cgi/cmd.c
index 752b677..5d7800d 100644
--- a/cgi/cmd.c
+++ b/cgi/cmd.c
@@ -882,7 +882,7 @@ void print_object_list(int list_type) {
 					escape_string(commands[x].host_name), escape_string(commands[x].description)
 				);
 				if (service_passive == TRUE) {
-					printf("<img src='%s%s' align=right border=0 alt='Passive' title='Passive Service'>",
+					printf("<img src='%s%s' align=right border=0 style='padding-right:2px' alt='Passive' title='Passive Service'>",
 						url_images_path, PASSIVE_ICON
 					);
 				}
@@ -912,7 +912,7 @@ void print_object_list(int list_type) {
 			else {
 				printf(" style=\"font-weight:bold;\">Host:</td><td>%s", escape_string(commands[x].host_name));
 				if (host_passive == TRUE) {
-					printf("<img src='%s%s' align=right border=0 alt='Passive' title='Passive Service'>",
+					printf("<img src='%s%s' align=right border=0 style='padding-right:2px' alt='Passive' title='Passive Service'>",
 						url_images_path, PASSIVE_ICON
 					);
 				}





More information about the icinga-checkins mailing list