From 0e2473120b6e636fc5a2dee14db21dab001eb0ec Mon Sep 17 00:00:00 2001 From: Benjamin Kellermann Date: Thu, 8 Oct 2009 00:25:16 +0200 Subject: css added to overviewpage --- dudle.css | 3 +++ index.cgi | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/dudle.css b/dudle.css index 7487be9..a4b524f 100644 --- a/dudle.css +++ b/dudle.css @@ -59,6 +59,9 @@ td { td.sum, tr.participantrow, tr#add_participant, tr#summary { background-color:Silver; } +td.polls { + text-align:left; +} tr.participantrow:hover { background: #AAA; } diff --git a/index.cgi b/index.cgi index ccb6f7e..dba162d 100755 --- a/index.cgi +++ b/index.cgi @@ -41,11 +41,12 @@ $htmlout += <dudle + HEAD $htmlout += '' if File.exists?("atom.cgi") - $htmlout += "" + $htmlout += "

dudle

" if $cgi.include?("create_poll") SITE=$cgi["create_poll"].gsub(/^\//,"") @@ -85,7 +86,7 @@ Dir.glob("*/data.yaml").sort_by{|f| }.each{|site| unless YAML::load_file("#{site}/data.yaml").hidden $htmlout += "" - $htmlout += "#{CGI.escapeHTML(site)}" + $htmlout += "#{CGI.escapeHTML(site)}" $htmlout += "#{File.new(site + "/data.yaml").mtime.strftime('%d.%m, %H:%M')}" $htmlout += "" end -- cgit v1.2.3