move styles to a separate stylesheet.. make the colours a bit easier on the eye. templates_update origin/templates_update
authorChris Butler <chrisb@debian.org>
Thu, 9 Sep 2010 20:05:19 +0000 (21:05 +0100)
committerChris Butler <chrisb@debian.org>
Thu, 9 Sep 2010 20:05:19 +0000 (21:05 +0100)
templates/result
templates/summaryreport
xmltv-tester.css [new file with mode: 0644]

index 70226b2..8268fa1 100644 (file)
@@ -1,6 +1,7 @@
 <html>
     <head>
-    <title>XMLTV [% title %]</title>
+               <title>XMLTV [% title %]</title>
+               <link rel="stylesheet" type="text/css" href="/~xmltv-tester/xmltv-tester.css" />
     </head>
 <body>
 
index c6c3a42..46152a4 100644 (file)
@@ -1,16 +1,9 @@
 <html>
     <head>
-    <title>XMLTV [% srctype %]</title>
+               <title>XMLTV [% srctype %]</title>
+               <link rel="stylesheet" type="text/css" href="/~xmltv-tester/xmltv-tester.css" />
     </head>
 <body>
-<style>
-  thead  { font-weight: bold }
-  td     { background-color: yellow;
-           text-align: center }
-  td.nok { background-color: red;}
-  td.ok  { background-color: lightgreen;
-           text-align: center }
-</style>
 <h1>XMLTV Test Report</h1>
 <p><strong>Source:</strong> [% srctype %]<br>
 
diff --git a/xmltv-tester.css b/xmltv-tester.css
new file mode 100644 (file)
index 0000000..bcc106d
--- /dev/null
@@ -0,0 +1,14 @@
+thead { 
+       font-weight: bold;
+}
+td {
+       background-color: #ff8;
+       text-align: center 
+}
+td.nok {
+       background-color: #f88;
+}
+td.ok  { 
+       background-color: #8f8;
+       text-align: center 
+}