[icinga-checkins] icinga.org: icinga-web/mhein/default: * added styles to additional template for static content

git at icinga.org git at icinga.org
Wed Jan 27 15:47:01 CET 2010


Module: icinga-web
Branch: mhein/default
Commit: 8d4ca690b63573def19998ab99d72de5c720bbca
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=8d4ca690b63573def19998ab99d72de5c720bbca

Author: Christian Doebler <christian.doebler at netways.de>
Date:   Wed Jan 27 15:04:16 2010 +0100

* added styles to additional template for static content

---

 .../icinga-tactical-overview-template-custom.xml   |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/res/xml/icinga-tactical-overview-template-custom.xml b/res/xml/icinga-tactical-overview-template-custom.xml
index 2d7b73a..2576bb6 100644
--- a/res/xml/icinga-tactical-overview-template-custom.xml
+++ b/res/xml/icinga-tactical-overview-template-custom.xml
@@ -120,9 +120,9 @@
     	<host_status>
     		<![CDATA[
     			<table border="0" cellpadding="0" cellspacing="0">
-    				<tr><td>${HOST_STATUS_UP:COUNT_HOST_CURRENT_STATE} UP</td></tr>
-    				<tr><td>${HOST_STATUS_DOWN:COUNT_HOST_CURRENT_STATE} DOWN</td></tr>
-    				<tr><td>${HOST_STATUS_UNREACHABLE:COUNT_HOST_CURRENT_STATE} UNREACHABLE</td></tr>
+    				<tr><td style="background-color:#00cc00;">${HOST_STATUS_UP:COUNT_HOST_CURRENT_STATE} UP</td></tr>
+    				<tr><td style="background-color:#cc0000;">${HOST_STATUS_DOWN:COUNT_HOST_CURRENT_STATE} DOWN</td></tr>
+    				<tr><td style="background-color:#ff8000;">${HOST_STATUS_UNREACHABLE:COUNT_HOST_CURRENT_STATE} UNREACHABLE</td></tr>
     			</table>
     		]]>
     	</host_status>
@@ -130,10 +130,10 @@
     	<service_status>
     		<![CDATA[
     			<table border="0" cellpadding="0" cellspacing="0">
-    				<tr><td>${SERVICE_STATUS_OK:COUNT_SERVICE_CURRENT_STATE} OK</td></tr>
-    				<tr><td>${SERVICE_STATUS_WARNING:COUNT_SERVICE_CURRENT_STATE} WARNING</td></tr>
-    				<tr><td>${SERVICE_STATUS_CRITICAL:COUNT_SERVICE_CURRENT_STATE} CRITICAL</td></tr>
-    				<tr><td>${SERVICE_STATUS_UNKNOWN:COUNT_SERVICE_CURRENT_STATE} UNKNOWN</td></tr>
+    				<tr><td style="background-color:#00cc00;">${SERVICE_STATUS_OK:COUNT_SERVICE_CURRENT_STATE} OK</td></tr>
+    				<tr><td style="background-color:#ffff00;">${SERVICE_STATUS_WARNING:COUNT_SERVICE_CURRENT_STATE} WARNING</td></tr>
+    				<tr><td style="background-color:#ff0000;">${SERVICE_STATUS_CRITICAL:COUNT_SERVICE_CURRENT_STATE} CRITICAL</td></tr>
+    				<tr><td style="background-color:#ff8000;">${SERVICE_STATUS_UNKNOWN:COUNT_SERVICE_CURRENT_STATE} UNKNOWN</td></tr>
     			</table>
     		]]>
     	</service_status>
@@ -151,8 +151,8 @@
 	    	<![CDATA[
 				<table border="0" cellpadding="0" cellspacing="0">
 					<tr>
-						<td>Locations</td>
-						<td>Services</td>
+						<td><b>Locations</b></td>
+						<td><b>Services</b></td>
 					</tr>
 					<tr>
 						<td>





More information about the icinga-checkins mailing list