diff options
author | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2009-10-25 21:12:42 +0100 |
---|---|---|
committer | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2009-10-25 21:12:42 +0100 |
commit | 4bc0df7fb2758da15b306eb168529c6a3acb816f (patch) | |
tree | ed6bd2e5c299035c298f2411138ed6d849acf67b /participate.rb | |
parent | 967c201902dcd36899122b75d26ed663e7e0066e (diff) |
usability: config is now a tab
Diffstat (limited to 'participate.rb')
-rwxr-xr-x | participate.rb | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/participate.rb b/participate.rb index d828079..1ac9f64 100755 --- a/participate.rb +++ b/participate.rb @@ -73,34 +73,30 @@ $htmlout += '<link rel="alternate" type="application/atom+xml" href="atom.cgi" $htmlout += <<HEAD </head> <body> - <div> - <small> - <a href='..' style='text-decoration:none'>#{BACK}</a> - <a href='config.cgi' style='text-decoration:none'>config</a> - history:#{table.history_to_html} - </small> + <div id='tabs'> + <ul> + <li id='active_tab' > poll </li> + <li class='nonactive_tab'><a href='config.cgi'> config </a></li> + </ul> </div> + <div id='main'> + <p id='history'>history:#{table.history_to_html}</p> HEAD # TABLE $htmlout += "<h1>#{table.name}</h1>" if VCS.revno == 1 $htmlout += <<HINT -<pre - style="font-family:Courier New,Courier,monospace; - letter-spacing:0; - margin-top: -8ex; - line-height:95%;" -> +<pre id='configwarning'> . .:;:. .:;;;;;:. ;;;;; ;;;;; ;;;;; - ;;;;; Please press the config link on - ;:;;; the top left corner of this page - ;;; : to configure this poll! + ;;;;; Please configure this poll + ;:;;; within the config tab! + ;;; : ;:; ;.: . : . @@ -121,7 +117,7 @@ TABLE $htmlout += table.comment_to_html end -$htmlout += "</body>" +$htmlout += "</div></body>" $htmlout += "</html>" |