Start using CSS
authorJoey Schulze <joey@infodrom.org>
Thu, 26 Oct 2006 06:54:51 +0000 (06:54 +0000)
committerJoey Schulze <joey@infodrom.org>
Thu, 26 Oct 2006 06:54:51 +0000 (06:54 +0000)
Styles/service.style
src/Infodrom/stats/firewall.wml
src/Infodrom/stats/index.wml
src/Infodrom/stats/mail-overview.wml
src/Infodrom/stats/mail.wml
src/Infodrom/stats/monthly.wml
src/Infodrom/stats/spam-overview.wml
src/Infodrom/stats/traffic.wml
src/infodrom.css [new file with mode: 0644]

index 24d8913..2351840 100644 (file)
@@ -33,8 +33,9 @@
 <title><get-var pagetitle></title>
 <meta name="author" content="joey@infodrom.org (Martin Schulze)">
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<link href="<root_prefix>infodrom.css" rel="stylesheet" type="text/css">
 </head>
-<body bgcolor="#<page-bgcolor>" text="#<page-textcolor>" vlink="#<page-vlink>" alink="#<page-alink>" link="#<page-link>">
+<body>
 
 <table width=100% border=0 cellpadding=0 cellspacing=0>
 <tr>
index b782c8f..90d4fef 100644 (file)
@@ -2,7 +2,7 @@
 
 <page func="Infodrom Oldenburg" title="Firewall Violations">
 
-<h3 style="padding-left: 5px;background: #e5e5e5;font-size: 16px;">Daily Statistics</h3>
+<h3 class="bar">Daily Statistics</h3>
 
 <p><center>
 <img src=firewall-day-frequency.png WIDTH=597 HEIGHT=161 alt="[Firewall Violations]">
@@ -12,7 +12,7 @@
 <img src=firewall-day-absolute.png WIDTH=597 HEIGHT=161 alt="[Total Firewall Violations]">
 </center>
 
-<h3 style="padding-left: 5px;background: #e5e5e5;font-size: 16px;">Monthly Statistics</h3>
+<h3 class="bar">Monthly Statistics</h3>
 
 <p><center>
 <img src=firewall-month-frequency.png WIDTH=597 HEIGHT=161 alt="[Firewall Violations]">
index e382c2a..45c1ebd 100644 (file)
@@ -2,7 +2,7 @@
 
 <page func="Infodrom Oldenburg" title="Statistics">
 
-<h3 style="padding-left: 5px;background: #e5e5e5;font-size: 16px;">Daily Statistics</h3>
+<h3 class="bar">Daily Statistics</h3>
 
 <p><center>
 <a href="traffic.html">\
index 7638a35..0b44138 100644 (file)
@@ -2,25 +2,25 @@
 
 <page func="Infodrom Oldenburg" title="Statistics">
 
-<h3 style="padding-left: 5px;background: #e5e5e5;font-size: 16px;">Daily Statistics</h3>
+<h3 class="bar">Daily Statistics</h3>
 
 <p><center>
 <img src="/cgi-bin/mailgraph.cgi?0-n" width="637" height="256" alt="[Daily Mails]" border=0>\
 </center>
 
-<h3 style="padding-left: 5px;background: #e5e5e5;font-size: 16px;">Weekly Statistics</h3>
+<h3 class="bar">Weekly Statistics</h3>
 
 <p><center>
 <img src="/cgi-bin/mailgraph.cgi?1-n" width="637" height="256" alt="[Weekly Mails]" border=0>\
 </center>
 
-<h3 style="padding-left: 5px;background: #e5e5e5;font-size: 16px;">Monthly Statistics</h3>
+<h3 class="bar">Monthly Statistics</h3>
 
 <p><center>
 <img src="/cgi-bin/mailgraph.cgi?2-n" width="637" height="256" alt="[Monthly Mails]" border=0>\
 </center>
 
-<h3 style="padding-left: 5px;background: #e5e5e5;font-size: 16px;">Yearly Statistics</h3>
+<h3 class="bar">Yearly Statistics</h3>
 
 <p><center>
 <img src="/cgi-bin/mailgraph.cgi?3-n" width="637" height="256" alt="[Yearly Mails]" border=0>\
index ffc0799..210dfbc 100644 (file)
@@ -2,7 +2,7 @@
 
 <page func="Infodrom Oldenburg" title="Statistics">
 
-<h3 style="padding-left: 5px;background: #e5e5e5;font-size: 16px;">Daily Statistics</h3>
+<h3 class="bar">Daily Statistics</h3>
 
 <p><center>
 <a href="mail-overview.html">\
index 90da3a3..0d94db6 100644 (file)
@@ -2,7 +2,7 @@
 
 <page func="Infodrom Oldenburg" title="Statistics">
 
-<h3 style="padding-left: 5px;background: #e5e5e5;font-size: 16px;">Monthly Statistics</h3>
+<h3 class="bar">Monthly Statistics</h3>
 
 <p><center>
 <img src=traffic-month-traffic.png WIDTH=597 HEIGHT=161 alt="[Monthly Traffic]">
index 43bc031..7a3e8fb 100644 (file)
@@ -2,25 +2,25 @@
 
 <page func="Infodrom Oldenburg" title="Statistics">
 
-<h3 style="padding-left: 5px;background: #e5e5e5;font-size: 16px;">Daily Statistics</h3>
+<h3 class="bar">Daily Statistics</h3>
 
 <p><center>
 <img src="/cgi-bin/mailgraph.cgi?0-e" width="637" height="220" alt="[Daily Spam]" border=0>\
 </center>
 
-<h3 style="padding-left: 5px;background: #e5e5e5;font-size: 16px;">Weekly Statistics</h3>
+<h3 class="bar">Weekly Statistics</h3>
 
 <p><center>
 <img src="/cgi-bin/mailgraph.cgi?1-e" width="637" height="220" alt="[Weekly Spam]" border=0>\
 </center>
 
-<h3 style="padding-left: 5px;background: #e5e5e5;font-size: 16px;">Monthly Statistics</h3>
+<h3 class="bar">Monthly Statistics</h3>
 
 <p><center>
 <img src="/cgi-bin/mailgraph.cgi?2-e" width="637" height="220" alt="[Monthly Spam]" border=0>\
 </center>
 
-<h3 style="padding-left: 5px;background: #e5e5e5;font-size: 16px;">Yearly Statistics</h3>
+<h3 class="bar">Yearly Statistics</h3>
 
 <p><center>
 <img src="/cgi-bin/mailgraph.cgi?3-e" width="637" height="220" alt="[Yearly Spam]" border=0>\
index 2a88f83..8b2f0d0 100644 (file)
@@ -2,7 +2,7 @@
 
 <page func="Infodrom Oldenburg" title="Traffic">
 
-<h3 style="padding-left: 5px;background: #e5e5e5;font-size: 16px;">Daily Statistics</h3>
+<h3 class="bar">Daily Statistics</h3>
 
 <p><center>
 <img src=traffic-day-traffic.png WIDTH=597 HEIGHT=161 alt="[Daily Traffic]">
@@ -12,7 +12,7 @@
 <img src=traffic-day-bps.png WIDTH=597 HEIGHT=161 alt="[Daily Traffic, bits/s]">
 </center>
 
-<h3 style="padding-left: 5px;background: #e5e5e5;font-size: 16px;">Monthly Statistics</h3>
+<h3 class="bar">Monthly Statistics</h3>
 
 <p><center>
 <img src=traffic-month-traffic.png WIDTH=597 HEIGHT=161 alt="[Monthly Traffic]">
@@ -22,7 +22,7 @@
 <img src=traffic-month-bps.png WIDTH=597 HEIGHT=161 alt="[Monthly Traffic, bits/s]">
 </center>
 
-<h3 style="padding-left: 5px;background: #e5e5e5;font-size: 16px;">Yearly Statistics</h3>
+<h3 class="bar">Yearly Statistics</h3>
 
 <p><center>
 <img src=traffic-year-traffic.png WIDTH=597 HEIGHT=161 alt="[Yearly Traffic]">
@@ -32,7 +32,7 @@
 <img src=traffic-year-bps.png WIDTH=597 HEIGHT=161 alt="[Yearly Traffic, bits/s]">
 </center>
 
-<h3 style="padding-left: 5px;background: #e5e5e5;font-size: 16px;">Total Traffic</h3>
+<h3 class="bar">Total Traffic</h3>
 
 <p><center>
 <img src=thismonth.png WIDTH=597 HEIGHT=181 alt="[Total Traffic]">
diff --git a/src/infodrom.css b/src/infodrom.css
new file mode 100644 (file)
index 0000000..16c1e2b
--- /dev/null
@@ -0,0 +1,57 @@
+/*
+ * General settings
+ */
+body {
+  font-family: Verdana, Helvetica, Arial, sans-serif;
+  font-size: 13px;
+  line-height: 20px;
+  background-color: #f7f7f7;
+  color: #000000;
+}
+
+/*
+ * No underline for links
+ */
+a:link {
+  text-decoration: none;
+  cursor: pointer;
+}
+a:visited {
+  text-decoration: none;
+  cursor: pointer;
+}
+
+/*
+ * General layout
+ */
+.font {
+  font-size: 13px;
+}
+h3.bar {
+  padding-left: 5px;
+  font-size: 16px;
+  background: #e5e5e5;
+}
+
+/*
+ * Footer
+ */
+div.footer {
+  clear: both;
+  border-top: 1px solid #707070;
+}
+div.footerleft {
+  float: left;
+  font-size: xx-small;
+}
+div.footerright {
+  float: right;
+  font-size: xx-small;
+}
+
+/*
+ * Local variables:
+ * mode: indented-text
+ * mode: auto-fill
+ * End:
+*/