aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2010-03-08 14:54:44 +0100
committerBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2010-03-08 14:54:44 +0100
commit4a45a9ac247f1e99d52d8637550b518c677b101c (patch)
tree8e38c6975b78e3d73962099b45127d6cd316e51e
parent04e9dc5d7539c1bca0bde3a0e68b9c9ea7d8873e (diff)
timeline reverted
-rw-r--r--charset.rb8
-rw-r--r--default.css16
-rw-r--r--dudle.rb17
3 files changed, 5 insertions, 36 deletions
diff --git a/charset.rb b/charset.rb
index 8aa6718..3d74dcd 100644
--- a/charset.rb
+++ b/charset.rb
@@ -44,9 +44,6 @@ if $USEUTF
DELETE = CGI.escapeHTML("✖")
PASSWORDSTAR = CGI.escapeHTML("•")
-
- NUMBERS = ["①","②","③","④"]
- DASH = "─"
else
NOSORT = ''
SORT = CGI.escapeHTML('^')
@@ -67,9 +64,6 @@ else
DELETE = CGI.escapeHTML("delete")
PASSWORDSTAR = CGI.escapeHTML("*")
-
- NUMBERS = ["1","2","3","4"]
- DASH = "-"
end
-UTFCHARS = CGI.escapeHTML("✔✘◀▶✍✖•▾▴①②③④─")
+UTFCHARS = CGI.escapeHTML("✔✘◀▶✍✖•▾▴")
diff --git a/default.css b/default.css
index 306f758..d4395eb 100644
--- a/default.css
+++ b/default.css
@@ -22,21 +22,9 @@
background-color: #FFF;
}
-a.navigationlink {
- color:#f96;
- text-decoration:none;
-}
-a.navigationlink:visited {
- color:#9c6;
-}
-a.navigationlink:active, a.navigationlink:hover {
- color:#ff6;
- text-decoration:none;
-}
-
a, a:visited {
- color:#36c;
- text-decoration:none;
+color:#36c;
+text-decoration:none;
}
a:hover, a:active {
diff --git a/dudle.rb b/dudle.rb
index 5904636..9256a3e 100644
--- a/dudle.rb
+++ b/dudle.rb
@@ -165,18 +165,7 @@ HEAD
end
def wizzard_nav
- ret = "<div id='wizzard_navigation'>"
- ret += "<table><tr>"
-
- # add a timeline
- ret += "<td colspan='3'>"
- i = -1
- ret += @configtabs.collect{|title,link|
- "<a class='navigationlink' href='#{link}' title='#{title}'>#{NUMBERS[i+=1]}</a>"
- }.join(DASH*2)
- ret += "</td>"
- ret += "</tr><tr>"
-
+ ret = "<div id='wizzard_navigation'><table><tr>"
[[_("Previous"),@wizzardindex == 0],
[_("Next"),@wizzardindex >= @configtabs.size()-2],
[_("Finish"),@wizzardindex == @configtabs.size()-1]].each{|button,disabled|
@@ -191,9 +180,7 @@ HEAD
</td>
READY
}
-
- ret += "</tr></table>"
- ret += "</div>"
+ ret += "</tr></table></div>"
end
def wizzard_redirect