diff --git a/black.css b/black.css new file mode 100644 index 0000000..e4cca15 --- /dev/null +++ b/black.css @@ -0,0 +1,81 @@ +body { + background-color: black; + font-family: Verdana, sans-serif; + color: white; +} + +.index-body { + background-color: black; + font-family: Verdana, sans-serif; + color: #888888; +} + +table { + background: #888888; + border: 1px black; + border-left: 1px outset #888888; + border-top: 1px outset #888888; + border-right: 1px outset black; + border-bottom: 1px outset black; + border-spacing: 5px; +} + +th, td { + border: 1px inset #888888; + background-color: #333333; + padding: 0; +} + +.cgi-header-table { + border: 1px groove black; + border-spacing: 5px; +} + + +.startpage-header-table { + border: 0; + background: transparent; +} + +.table-module { + background: #cccccc; +} + +.td-title { + background-color: #333333; + font-family: Verdana, sans-serif; + color: #888800; +} + +.td-title-host { + font-family: Verdana, sans-serif; + background-color: black; +} + +.td-note { + background-color: #333333; + font-family: Verdana, sans-serif; + color: #888800; +} + +.text-title { + font-family: Verdana, sans-serif; + color: #888800; +} + +.text-copyright { + font-size: 60%; + color: white; +} + +.text-size { + font-size: 5; +} + +.history01 { + color: #888888; + position: fixed; + left: 1em; + font-size: 32px; + letter-spacing: -1px; +} diff --git a/monitorix b/monitorix index 85c79e3..5844c1b 100755 --- a/monitorix +++ b/monitorix @@ -223,51 +223,48 @@ EOF if(!open(OUT, "> $config{base_dir}/index.html")) { die "unable to create '${config{base_dir}}index.html': $!"; } + my $css = sprintf("%scss/%s.css", $base_url, $config{theme_color}); print(OUT < $config{title} + - + $piwik_code $when_all_code


- - +
- -
+
+

v@{[VERSION]}

- +
- - - + + + EOF - print(OUT "
- - Hostname  - - - - Graph  - -
+  Hostname  + +  Graph  +
\n"); + print(OUT " \n"); print(OUT " \n"); + print(OUT " \n"); print(OUT "

- +
EOF if(lc($config{enable_hourly_view} || "") eq "y" ) { print(OUT < + EOF } print(OUT < + - - - @@ -472,10 +469,10 @@ EOF print(OUT " \n"); } print(OUT < + EOF @@ -490,7 +487,6 @@ EOF - diff --git a/white.css b/white.css new file mode 100644 index 0000000..7425965 --- /dev/null +++ b/white.css @@ -0,0 +1,73 @@ +body { + background-color: white; + font-family: Verdana, sans-serif; + color: #888888; +} + +table { + background: #cccccc; + border-left: 1px outset #888888; + border-top: 1px outset #888888; + border-right: 1px outset #5a5a5a; + border-bottom: 1px outset #5a5a5a; + border-spacing: 5px; +} + +th, td { + border: 1px inset #888888; + background-color: #777777; + padding: 0; +} + +.cgi-header-table { + border: 1px groove black; + border-spacing: 5px; +} + + +.startpage-header-table { + border: 0; + background: transparent; +} + +.table-module { + background: #cccccc; +} + +.td-title { + background-color: #777777; + font-family: Verdana, sans-serif; + color: #cccc00; +} + +.td-title-host { + font-family: Verdana, sans-serif; + background-color: white; +} + +.td-note { + background-color: #777777; + font-family: Verdana, sans-serif; + color: #cccc00; +} + +.text-title { + font-family: Verdana, sans-serif; + color: #cccc00; +} + +.text-copyright { + font-size: 60%; +} + +.text-size { + font-size: 5; +} + +.history01 { + color: #888888; + position: fixed; + left: 1em; + font-size: 32px; + letter-spacing: -1px; +}
+ + +