display tokens in monospace so that there's no ambiguity

2006-01-07  Vincent Untz  <vuntz@gnome.org>

	* foundation.gnome.org/vote/vote.css:
	* foundation.gnome.org/vote/votes.wml:
	* foundation.gnome.org/vote/include/step4-commit.php: display tokens
	in monospace so that there's no ambiguity
This commit is contained in:
Vincent Untz 2006-01-07 14:58:27 +00:00 committed by Vincent Untz
parent e92459d7d3
commit aca24c3983
4 changed files with 13 additions and 2 deletions

View file

@ -1,3 +1,10 @@
2006-01-07 Vincent Untz <vuntz@gnome.org>
* foundation.gnome.org/vote/vote.css:
* foundation.gnome.org/vote/votes.wml:
* foundation.gnome.org/vote/include/step4-commit.php: display tokens
in monospace so that there's no ambiguity
2005-11-14 Vincent Untz <vuntz@gnome.org> 2005-11-14 Vincent Untz <vuntz@gnome.org>
* foundation.gnome.org/index.wml: * foundation.gnome.org/index.wml:

View file

@ -109,7 +109,7 @@ function step4_do () {
$result .= "<h2>Step 4/4 - Keep your anonymous token</h2>\n"; $result .= "<h2>Step 4/4 - Keep your anonymous token</h2>\n";
$result .= "<h3>Your vote has been received.</h3>\n"; $result .= "<h3>Your vote has been received.</h3>\n";
$result .= "<p>Please write this anonymous token somewhere:</p>\n"; $result .= "<p>Please write this anonymous token somewhere:</p>\n";
$result .= "<div class=\"votedata\"><p><strong>".$anon_token."</strong></p></div>\n"; $result .= "<div class=\"votedata\"><p><strong><span class=\"token\">".$anon_token."</span></strong></p></div>\n";
$result .= "<p>This anonymous token will enable you to verify your vote when the preliminary results will be published. Nobody, even the Membership and Elections Committee, except you knows that this token is associated with you and only you will be able to verify your vote. It is not possible to request this anonymous token later.</p>\n"; $result .= "<p>This anonymous token will enable you to verify your vote when the preliminary results will be published. Nobody, even the Membership and Elections Committee, except you knows that this token is associated with you and only you will be able to verify your vote. It is not possible to request this anonymous token later.</p>\n";
return $result; return $result;

View file

@ -52,3 +52,7 @@ table.detailedvotes tr.colorB {
background-color: #888; background-color: #888;
color: #fff; color: #fff;
} }
span.token {
font-family: monospace;
}

View file

@ -82,7 +82,7 @@ if ($display) {
$class = "colorB"; $class = "colorB";
echo "<tr class=\"".$class."\">\n"; echo "<tr class=\"".$class."\">\n";
echo "<td>".$anon_token["anon_token"]."</td>\n"; echo "<td><span class=\"token\">".$anon_token["anon_token"]."</span></td>\n";
echo "<td>"; echo "<td>";