[icinga-checkins] icinga.org: icinga-core/rbartels/cgi: classic ui: fixed line break in info table

git at icinga.org git at icinga.org
Fri Apr 6 01:31:38 CEST 2012


Module: icinga-core
Branch: rbartels/cgi
Commit: 9149c4b57f3000d0ea6149b2eb0ecea4985a5802
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=9149c4b57f3000d0ea6149b2eb0ecea4985a5802

Author: Ricardo Bartels <ricardo at bitchbrothers.com>
Date:   Fri Mar 30 18:23:49 2012 +0200

classic ui: fixed line break in info table

---

 cgi/cgiutils.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/cgi/cgiutils.c b/cgi/cgiutils.c
index e19df66..a3e3ad3 100644
--- a/cgi/cgiutils.c
+++ b/cgi/cgiutils.c
@@ -1790,12 +1790,12 @@ void display_info_table(char *title, authdata *current_authdata, int daemon_chec
 	/* display only if refresh is supported */
 	if (CGI_ID == EXTINFO_CGI_ID || CGI_ID == OUTAGES_CGI_ID || CGI_ID == STATUS_CGI_ID || CGI_ID == STATUSMAP_CGI_ID || CGI_ID == TAC_CGI_ID) {
 		if (refresh_type == JAVASCRIPT_REFRESH)
-			printf("<span id='refresh_text'></span> <small><a href='#' onClick='toggle_refresh(); return false;'><span id='refresh_button'></span></a></small><br>\n");
+			printf("<span id='refresh_text'></span> <small><a href='#' onClick='toggle_refresh(); return false;'><span id='refresh_button'></span></a></small>\n");
 		else
-			printf("- Update every %d seconds<br>\n", refresh_rate);
+			printf("- Update every %d seconds\n", refresh_rate);
 	}
 
-	printf("<A HREF='http://www.icinga.org' TARGET='_new' CLASS='homepageURL'>%s %s</A> -\n", PROGRAM_NAME, PROGRAM_VERSION);
+	printf("<br><A HREF='http://www.icinga.org' TARGET='_new' CLASS='homepageURL'>%s %s</A> -\n", PROGRAM_NAME, PROGRAM_VERSION);
 
 	if (current_authdata != NULL)
 		printf("Logged in as <i>%s</i>\n", (!strcmp(current_authdata->username, "")) ? "?" : current_authdata->username);





More information about the icinga-checkins mailing list