summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-03-25 18:56:45 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-03-25 18:57:04 +0100
commitb7e85715fd5649b96a93bbf6d13f6ef71b719d8c (patch)
tree1753e08c639b83a5739c8d8696f6f39136141249
parent1fe6a52803b4d78f57f52cdbe138010cc4c00f80 (diff)
downloadPapillon-b7e85715fd5649b96a93bbf6d13f6ef71b719d8c.tar.bz2
Papillon-b7e85715fd5649b96a93bbf6d13f6ef71b719d8c.zip
Improve edit pages layout
-rw-r--r--papillon/static/styles.css10
-rw-r--r--papillon/templates/edit.html2
2 files changed, 9 insertions, 3 deletions
diff --git a/papillon/static/styles.css b/papillon/static/styles.css
index 1b8ae7d..9bba1d8 100644
--- a/papillon/static/styles.css
+++ b/papillon/static/styles.css
@@ -23,7 +23,7 @@ See the file COPYING for details.
background:white !important;
border:0px !important;
}
-
+
.new_poll{
width:100% !important;
}
@@ -184,12 +184,16 @@ color:blue;
float:right;
color:white;
background:green;
- width:15px;
- height:15px;
+ width:20px;
+ height:20px;
border-radius:25px;
text-align:center;
}
+.help_button:hover{
+ cursor: help;
+}
+
.field_label{
clear:both;
font-size:1.5em;
diff --git a/papillon/templates/edit.html b/papillon/templates/edit.html
index 5a33ebd..2dcdc73 100644
--- a/papillon/templates/edit.html
+++ b/papillon/templates/edit.html
@@ -19,6 +19,7 @@
<span class="help_button" title='{% trans "Copy this address and send it to voters who want to participate to this poll" %}'>?</span>
</div>
<input type="text" readonly value='{{ base_url }}'>
+ <a href="{{ base_url }}">{% trans "Go to the poll!" %}</a>
<div class="field_label">
<label id="">{% trans "Administration url" %}</label>
@@ -31,6 +32,7 @@
<span class="help_button" title='{% trans "Address to modify choices of the current poll." %}'>?</span>
</div>
<input type="text" readonly value='{{choices_url }}'>
+ <a href="{{ choices_url }}">{% trans "Edit choices" %}</a>
{% for field in form %}
{% if field.is_hidden %}