aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2009-11-24 17:32:09 +0100
committerBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2009-11-24 17:32:09 +0100
commit5af384f16d8a46930e8a8ec869f9ce28d12b9801 (patch)
tree2322e17d4ce3376d2e3df19d03ea7d57992e3b54
parent10e45339e3ce35b4310a0743d490e9a43965c1f9 (diff)
make the whole name clickable instead of only the edit symbol
-rw-r--r--dudle.css5
-rw-r--r--poll.rb3
-rw-r--r--print.css7
3 files changed, 11 insertions, 4 deletions
diff --git a/dudle.css b/dudle.css
index 221e186..86f20be 100644
--- a/dudle.css
+++ b/dudle.css
@@ -46,7 +46,10 @@ td.name {
background-color:#A00;
}
-span.edituser a{ text-decoration: none }
+td.name a,td.name a:visited {
+ text-decoration: none;
+ color: black;
+}
th.weekday{
width: 2.5em;
diff --git a/poll.rb b/poll.rb
index d89a39f..54bbe33 100644
--- a/poll.rb
+++ b/poll.rb
@@ -70,8 +70,9 @@ class Poll
else
ret += "<tr class='participantrow'>\n"
ret += "<td class='name' #{edituser == participant ? "id='active'":""}>"
+ ret += "<a href=\"?edituser=#{CGI.escapeHTML(CGI.escape(participant))}\">" if showparticipation
ret += participant
- ret += "<span class='edituser'> <sup><a href=\"?edituser=#{CGI.escapeHTML(CGI.escape(participant))}\">#{EDIT}</a></sup></span>" if showparticipation
+ ret += "<span class='edituser'> <sup>#{EDIT}</sup></a></span>" if showparticipation
ret += "</td>\n"
@head.each_column{|columnid,columntitle|
klasse = poll[columnid]
diff --git a/print.css b/print.css
index 9e36f0f..92eb2f1 100644
--- a/print.css
+++ b/print.css
@@ -27,12 +27,15 @@ td.name {
text-align:right;
}
+td.name a,td.name a:visited {
+ text-decoration: none;
+ color: black;
+}
+
#active, #activedeletebutton{
background-color:#A00;
}
-span.edituser a{ text-decoration: none }
-
th.weekday{
width: 2.5em;
}