summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authoretienne2008-12-05 16:06:47 +0000
committeretienne2008-12-05 16:06:47 +0000
commit23de64513f703edc914a77787a804d322fc86b05 (patch)
tree79fc59f580bd17d0d6a8f8bbb5c81cfe1a2f1b5d /templates
parente14d2f0f7d9d985d61ede02813abf04dff8e35ff (diff)
Update of the CSS
Diffstat (limited to 'templates')
-rw-r--r--templates/category.html5
-rw-r--r--templates/main.html7
2 files changed, 9 insertions, 3 deletions
diff --git a/templates/category.html b/templates/category.html
index 4a2189c..f649565 100644
--- a/templates/category.html
+++ b/templates/category.html
@@ -7,7 +7,10 @@
{% if polls %}<h2>{%trans "Polls"%}</h2>{%endif%}
{% for poll in polls %}
-<p><a href='/papillon/poll/{{poll.base_url}}'>{{poll.name}}</a> {{poll.description}}</p>
+<div class='poll-description'>
+ <p><a href='/papillon/poll/{{poll.base_url}}'>{{poll.name}}</a></p>
+ <p>{{poll.description}}</p>
+</div>
{% endfor %}
{% endblock %}
diff --git a/templates/main.html b/templates/main.html
index 59adba7..6c1e09d 100644
--- a/templates/main.html
+++ b/templates/main.html
@@ -4,11 +4,14 @@
{% block content %}
{% if error %}<p class='error'>{{error}}</p>{%endif%}
<h2><a href='edit/0'>{%trans "Create a poll"%}</a></h2>
-<p>{% trans "Create a new sondage for take a decision, find a date for a meeting, etc." %}</p>
+<p>{% trans "Create a new sondage for take a decision, find a date for a meeting, etc." %} <a href='edit/0'>{% trans "Create it!" %}</a></p>
{% if polls %}<h2>{%trans "Polls"%}</h2>{%endif%}
{% for poll in polls %}
-<p><a href='poll/{{poll.base_url}}'>{{poll.name}}</a> {{poll.description}}</p>
+<div class='poll-description'>
+ <p><a href='/papillon/poll/{{poll.base_url}}'>{{poll.name}}</a></p>
+ <p>{{poll.description}}</p>
+</div>
{% endfor %}
{% if categories %}<h2>{%trans "Categories"%}</h2>{% endif %}