Created
April 30, 2010 12:06
-
-
Save sesam/385101 to your computer and use it in GitHub Desktop.
2010-04-30.patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/web/data/templates/overview.html b/web/data/templates/overview.html | |
index 272d1df..2e8111b 100644 | |
--- a/web/data/templates/overview.html | |
+++ b/web/data/templates/overview.html | |
@@ -21,7 +21,7 @@ | |
{% for c in top_constituencies_by_amount %} | |
<tr> | |
<td><a href="{% url constituency c.slug %}">{{ c.name }}</a></td> | |
- <td>€{{ c.total|floatformat:2|intcomma }}</td> | |
+ <td class="eur">€{{ c.total|floatformat:2|intcomma }}</td> | |
</tr> | |
{% endfor %} | |
</table> | |
@@ -57,7 +57,7 @@ | |
{% for c in top_recipients %} | |
<tr> | |
<td>{{ c.name }}</td> | |
- <td>€{{ c.amount|floatformat:2|intcomma }}</td> | |
+ <td class="eur">€{{ c.amount|floatformat:2|intcomma }}</td> | |
</tr> | |
{% endfor %} | |
</table> | |
@@ -74,7 +74,7 @@ | |
{% for c in top_constituencies_by_avg %} | |
<tr> | |
<td><a href="{% url constituency c.slug %}">{{ c.name }}</a></td> | |
- <td>€{{ c.average|floatformat:2|intcomma }}</td> | |
+ <td class="eur">€{{ c.average|floatformat:2|intcomma }}</td> | |
</tr> | |
{% endfor %} | |
</table> | |
diff --git a/web/media/css/layout.css b/web/media/css/layout.css | |
index 949fc47..00450b6 100644 | |
--- a/web/media/css/layout.css | |
+++ b/web/media/css/layout.css | |
@@ -183,7 +183,7 @@ color:#FFFFFF; | |
height:20px; | |
padding:5px; | |
border:1px solid #333; | |
- width:70%; | |
+ width:10em; | |
float:left; | |
} | |
@@ -397,4 +397,8 @@ padding:0.3em 1em; | |
.comment .message { | |
float:left; | |
+} | |
+ | |
+.eur { | |
+ text-align: right; | |
} | |
\ No newline at end of file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment