supports basic listing of pcus, nodes, and some coloring from the old scripts.
[monitor.git] / web / MonitorWeb / monitorweb / static / css / style.css
index c98d40e..59053a2 100644 (file)
@@ -10,7 +10,7 @@ html, body {
   padding: 0;\r
 }\r
 \r
-td, th {padding:3px;border:none;}\r
+td, th {padding:2px;border:none;}\r
 tr th {text-align:left;background-color:#f0f0f0;color:#333;}\r
 tr.odd td {background-color:#edf3fe;}\r
 tr.even td {background-color:#fff;}\r
@@ -28,6 +28,21 @@ a.link, a, a.active {
   color: #369;\r
 }\r
 \r
+#portopen     { background-color: lightgreen; }\r
+#portclosed   { background-color: indianred; }\r
+#portfiltered { background-color: gold; }\r
+\r
+#dns-DNS-OK { background-color: lightgreen; }\r
+#dns-NOHOSTNAME { background-color: white; }\r
+#dns-DNS-MISMATCH { background-color: gold; }\r
+#dns-DNS-NOENTRY { background-color: indianred; }\r
+#dns-NO-DNS-OR-IP { background-color: indianred; }\r
+\r
+#status-NetDown { background-color: lightgrey; }\r
+#status-Not_Run  { background-color: lightgrey; }\r
+#status-ok     { background-color: darkseagreen; }\r
+#status-0     { background-color: darkseagreen; }\r
+#status-error  { background-color: indianred; width="200px"; }\r
 \r
 #main_content {\r
   color: black;\r
@@ -131,4 +146,4 @@ span.code {
 .fielderror {\r
     color: red;\r
     font-weight: bold;\r
-}
\ No newline at end of file
+}\r