summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas NOEL <tnoel@entrouvert.com>2017-03-30 09:20:12 (GMT)
committerThomas NOEL <tnoel@entrouvert.com>2017-03-30 09:20:12 (GMT)
commita3b46613af238833ec5a51545f04ff4c408dbade (patch)
tree69d8e90799c552b88fe54538e5721ebf0f8d2787
parentf7451d77194fffec3eb8b9c80fcfb1361edc3067 (diff)
downloadvincennes-2014-a3b46613af238833ec5a51545f04ff4c408dbade.zip
vincennes-2014-a3b46613af238833ec5a51545f04ff4c408dbade.tar.gz
vincennes-2014-a3b46613af238833ec5a51545f04ff4c408dbade.tar.bz2
move messages in content in login page (#15692)
-rw-r--r--static/css/entrouvert.css4
-rw-r--r--templates/authentic2/login.html14
2 files changed, 16 insertions, 2 deletions
diff --git a/static/css/entrouvert.css b/static/css/entrouvert.css
index e3f5c6f..c2d767f 100644
--- a/static/css/entrouvert.css
+++ b/static/css/entrouvert.css
@@ -123,8 +123,8 @@ ul {
}
#messages .info:before {
position: relative;
- top: 7px;
- left: -7px;
+ top: -2px;
+ left: -3px;
display: inline-block;
font-family: 'Glyphicons Halflings';
font-style: normal;
diff --git a/templates/authentic2/login.html b/templates/authentic2/login.html
index d049b1f..168312b 100644
--- a/templates/authentic2/login.html
+++ b/templates/authentic2/login.html
@@ -9,6 +9,10 @@
<li class="active">Connexion</li>
{% endblock %}
+{% block messages %}
+<!-- messages are moved to the "content" block -->
+{% endblock %}
+
{% block content %}
<div>
<h2>Votre compte citoyen</h2>
@@ -22,6 +26,16 @@ auprès de nos services, d’une demande de carte de stationnement ou de demande
d’intervention du service collecte et propreté...</p> </p>
</div>
+{% if messages %}
+<div id="messages" class="messages-login">
+ <ul class="messages">
+ {% for message in messages %}
+ <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
+ {% endfor %}
+ </ul>
+</div>
+{% endif %}
+
{% for name, content in methods %}
<div id="{% if forloop.first %}left{% else %}right{% endif %}">
<div class="block">