aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2011-02-21 21:27:44 +0100
committerBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2011-02-21 21:27:44 +0100
commitd52d6b9a91c09bd698ec0b94ff7e590318246aa4 (patch)
tree9f143242862ccc3b7dd91c157528c40bee80c696
parentb41d68e7988b1628d7e7e1d5ceeb5a7d409ab911 (diff)
small layout changes
-rw-r--r--default.css8
-rw-r--r--poll.rb3
-rw-r--r--timepollhead.rb2
3 files changed, 10 insertions, 3 deletions
diff --git a/default.css b/default.css
index 8eaccc4..9acf65a 100644
--- a/default.css
+++ b/default.css
@@ -63,7 +63,6 @@ td.name {
input.delete, input.toggle{
border: none;
- padding: 0px;
cursor: pointer;
}
@@ -131,6 +130,13 @@ table.calendarday td input{
padding: 1px;
}
+table.calendarday th input.delete {
+ padding: 0px;
+}
+table.calendarday td input.toggle {
+ padding:0 0.5em 0 0.5em;
+}
+
div.undo{
text-align: center;
margin-top: 2em;
diff --git a/poll.rb b/poll.rb
index a864ab4..9b3f9d2 100644
--- a/poll.rb
+++ b/poll.rb
@@ -100,7 +100,8 @@ class Poll
ret
end
def to_html(showparticipation = true)
- ret = "<table class='polltable'>\n"
+ # border=1 for textbrowsers ;--)
+ ret = "<table class='polltable' border='1'>\n"
sortcolumns = $cgi.include?("sort") ? $cgi.params["sort"] : ["timestamp"]
ret += @head.to_html(sortcolumns)
diff --git a/timepollhead.rb b/timepollhead.rb
index ffe2457..1ff90d7 100644
--- a/timepollhead.rb
+++ b/timepollhead.rb
@@ -360,7 +360,7 @@ END
ret += <<END
<tr>
<td class='navigation'>#{time}</td>
- <td class='navigation'>
+ <td class='navigation' style='padding:0px'>
<form method='post' action='' accept-charset='utf-8'>
<div>
<input type='hidden' name='add_remove_column_month' value='#{@startdate.strftime("%Y-%m")}' />