File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55{% block content %}
66< h1 > Edit {{ state.group.acronym }} chair</ h1 >
77
8- {% if form.errors %}< h3 > Please correct the following errors</ h3 > {% endif %}
8+ {% if form.errors %}< div class =" info-message-error " > Please correct the following errors</ div > {% endif %}
99
1010< form action ="" method ="post "> {% csrf_token %}
1111< table >
Original file line number Diff line number Diff line change 55{% block content %}
66< h1 > Edit {{ state.group.acronym }} members</ h1 >
77
8- {% if form.errors %}< h3 > Please correct the following errors</ h3 > {% endif %}
8+ {% if form.errors %}< div class =" info-message-error " > Please correct the following errors</ div > {% endif %}
99
1010< form action ="" method ="post "> {% csrf_token %}
1111< table >
Original file line number Diff line number Diff line change 22
33{% block title %}Edit {{ group.acronym }} public key{% endblock %}
44
5- {% block morecss %}
6- div.info-message-success { border: 1px solid green; background-color: #eeffbb; padding: 5px 10px; margin: 1em 0px; color: green; }
7- div.info-message-warning { border: 1px dashed red; background-color: #ffeeaa; padding: 1em 2em; margin: 1em 0px; }
8-
9- {% endblock morecss %}
10-
11-
125{% block content %}
136< h1 > Edit {{ group.acronym }} public key</ h1 >
147
158{% if message %}
169< div class ="info-message-{{ message.0 }} "> {{ message.1 }}</ div >
1710{% endif %}
1811
19- {% if form.errors %}< h3 > Please correct the following errors</ h3 > {% endif %}
12+ {% if form.errors %}< div class =" info-message-error " > Please correct the following errors</ div > {% endif %}
2013
2114< form enctype ="multipart/form-data " action ="" method ="post "> {% csrf_token %}
2215< table >
Original file line number Diff line number Diff line change @@ -194,3 +194,7 @@ form table .help {
194194
195195.ballot-content h2 .ad-ballot-comment { background : # 2647A0 ; color : # fff ; padding : 2px 4px ; font-size : 108% ; margin-top : 0 ;}
196196
197+ /* Message types */
198+ div .info-message-success { border : 1px solid green; background-color : # eeffbb ; padding : 5px 10px ; margin : 1em 0px ; color : green; }
199+ div .info-message-warning { border : 1px dashed red; background-color : # ffeeaa ; padding : 1em 2em ; margin : 1em 0px ; }
200+ div .info-message-error { border : 1px solid red; background-color : # ffeebb ; padding : 5px 10px ; margin : 1em 0px ; color : red; }
You can’t perform that action at this time.
0 commit comments