diff options
Diffstat (limited to '')
-rw-r--r-- | charset.rb | 2 | ||||
-rwxr-xr-x | customize.rb | 8 | ||||
-rw-r--r-- | dudle.css | 2 |
3 files changed, 7 insertions, 5 deletions
@@ -24,6 +24,7 @@ if ($cgi.include?("utf") || $cgi.cookies["utf"][0]) && !$cgi.include?("ascii") NO = CGI.escapeHTML('✘') MAYBE = CGI.escapeHTML('?') UNKNOWN = CGI.escapeHTML("–") + CROSS = CGI.escapeHTML('✘') YEARBACK = CGI.escapeHTML("↞") MONTHBACK = CGI.escapeHTML("←") @@ -39,6 +40,7 @@ else NO = CGI.escapeHTML('NO') MAYBE = CGI.escapeHTML('?') UNKNOWN = CGI.escapeHTML("-") + CROSS = CGI.escapeHTML('X') YEARBACK = CGI.escapeHTML("<<") MONTHBACK = CGI.escapeHTML("<") diff --git a/customize.rb b/customize.rb index a976452..8a9231a 100755 --- a/customize.rb +++ b/customize.rb @@ -46,12 +46,12 @@ $html << <<CHARSET <th>Description</th> </tr> CHARSET -[["Use special characters (#{UTFCHARS})","utf"], - ["Use normal strings","ascii"]].each{|description,href| +[["Use normal strings","ascii"], + ["Use special characters (#{UTFCHARS})","utf"]].each{|description,href| selected = href == (USEUTF ? "utf" : "ascii") $html << "<tr><td>" - $html << "X" if selected - $html << "</td><td>" + $html << CROSS if selected + $html << "</td><td class='charset'>" $html << "<a href='?#{href}'>" unless selected $html << description $html << "</a>" unless selected @@ -79,7 +79,7 @@ table { border: none; } -td.create_poll{ +td.create_poll, td.charset{ text-align:left; } |