From ed2ab8aec512c1dfd6e5f940d7a9e6f73a3964e8 Mon Sep 17 00:00:00 2001 From: etienne Date: Wed, 17 Dec 2008 00:07:14 +0000 Subject: Corrections for W3C validation --- static/styles.css | 18 +++++++++--------- templates/createOrEdit.html | 35 ++++++++++++++++++----------------- templates/vote.html | 8 ++++---- 3 files changed, 31 insertions(+), 30 deletions(-) diff --git a/static/styles.css b/static/styles.css index e707971..7907805 100644 --- a/static/styles.css +++ b/static/styles.css @@ -65,7 +65,7 @@ text-decoration:None; } h2 a:hover{ -color:grey; +color:#808080; } h3{ @@ -79,7 +79,7 @@ text-decoration:None; } h3 a:hover{ -color:grey; +color:#808080; } p{ @@ -122,11 +122,11 @@ background-position:top right; #header{ text-align:right; font-size:11px; -color:grey; +color:#808080; } #header #languages a{ -color:grey; +color:#808080; padding-right:6px; text-decoration:none; } @@ -134,12 +134,12 @@ text-decoration:none; #footer{ text-align:center; font-size:11px; -color:grey; +color:#808080; margin:6px; } #footer a{ -color:grey; +color:#808080; text-decoration:none; } @@ -247,7 +247,7 @@ background-color:#ced3e1; } tr.highlighted_voter td{ -background-color:grey; +background-color:#808080; color:white; } @@ -264,7 +264,7 @@ margin:2px; .poll-description{ margin:4px; padding:4px; -border:1px solid lightgrey; +border:1px solid #d3d3d3; } .poll-description p{ @@ -282,7 +282,7 @@ padding:0; .comments li{ margin:4px; padding:4px; -border:1px solid lightgrey; +border:1px solid #d3d3d3; } .comments .author{ diff --git a/templates/createOrEdit.html b/templates/createOrEdit.html index 2158527..1e52ee1 100644 --- a/templates/createOrEdit.html +++ b/templates/createOrEdit.html @@ -7,8 +7,8 @@ {% endif %} {% if error %}

{{ error }}

{% endif %}

{% if new %}{% trans "New poll" %}{% else %}{% trans "Edit poll" %}{% endif %}

- +
{% if not new %} @@ -23,27 +23,27 @@ {% endif %} - - + + - + - + {% if not new %} {% if categories %} - + {% endif %} - - + - -
{% if new %}{% else %}{{poll.author.name}}{% endif %}{% trans "Author name" %}{% if new %}{% else %}{{poll.author.name}}{% endif %} {% trans "Name, firstname or nickname of the author" %}
{% if new %}{% else %}{% endif %} {% trans "Global name to present the poll" %}
{% if new %}{% else %}{% endif %} {% trans "Precise description of the poll" %}
- @@ -54,7 +54,7 @@
- @@ -63,9 +63,9 @@
{% trans "Poll category" %} {% if new %} - {% for category in categories %}{% endfor %} {%else%}{{poll.category.name}} @@ -74,8 +74,8 @@
{% if new %}{% trans "Poll type" %}{% if new %}{% else %}{{type_name}}{% endif %} {% trans "Type of the poll:" %} @@ -96,13 +96,12 @@ {% endif %}
+ {% if not new %}

{% trans "Choices" %}

+{% if choices %}
- {% if choices %} @@ -114,15 +113,17 @@ - {% endif %} +
{% trans "Up/down" %}{% trans "Label" %}{% trans "Limit" %}{% trans "Delete?"%}
+{% endif %} -
+ + -
{%trans "Limited to"%} {%trans "vote(s)"%}{% trans "Setting a new choice. Optionally you can set a limit of vote for this choice. This limit is usefull for limited resources allocation." %}
+ {% endif %} {% endblock %} diff --git a/templates/vote.html b/templates/vote.html index 56edfda..e270f02 100644 --- a/templates/vote.html +++ b/templates/vote.html @@ -98,18 +98,18 @@ - + - +
{%endif%}
    {%for comment in comments%}
  • {{comment.author_name}}, {{comment.date|date:_("DATETIME_FORMAT")}} :

    -
    {{comment.text}}
    {%endfor%} - +
    {{comment.text}}
  • {%endfor%} +
{%endif%} {% endblock %} \ No newline at end of file -- cgit v1.2.3