File tree Expand file tree Collapse file tree 5 files changed +22
-19
lines changed Expand file tree Collapse file tree 5 files changed +22
-19
lines changed Original file line number Diff line number Diff line change 76
76
{% endif %}
77
77
< div class ="dropdown-divider "> </ div >
78
78
< a class ="dropdown-item logout-link " href ="{% url 'account_logout' %} ">
79
- Log out</ a >
79
+ Log out</ a >
80
80
</ div >
81
81
</ li >
82
82
{% else %}
114
114
{% endif %}
115
115
{% block messages_block %}
116
116
{% if messages %}
117
+ < div class ="mt-2 ">
117
118
{% for message in messages %}
118
- < div class ="alert {% if message.tags %}
119
- alert-{% ifequal message.tags 'error' %}danger{% else %}{{ message.tags }}{% endifequal %}
120
- {% endif %} ">
121
- {{ message }}</ div >
119
+ < div class ="alert {% if message.tags %}
120
+ alert-{% ifequal message.tags 'error' %}danger{% else %}{{ message.tags }}{% endifequal %}
121
+ {% endif %} ">
122
+ {{ message }}
123
+ </ div >
122
124
{% endfor %}
125
+ </ div >
123
126
{% endif %}
124
127
{% endblock messages_block %}
125
128
Original file line number Diff line number Diff line change 11
11
Username
12
12
{% endif %}
13
13
</ div >
14
- </ div >
15
-
14
+ </ div >
Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ $(function () {
77
77
parsleyForm ( 'form' ) ;
78
78
79
79
$ ( '.logout-link' ) . click ( function ( e ) {
80
+ console . log ( "Clicked logout link" ) ;
80
81
e . preventDefault ( ) ;
81
82
82
83
$ . post ( $ ( this ) . attr ( 'href' ) , function ( ) {
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ body.oh-proj-template > main > div.container {
162
162
}
163
163
164
164
.navbar.navbar-open-humans {
165
- background-color : #fff ;
165
+ background-color : white ;
166
166
border-radius : 0px ;
167
167
border : 0px ;
168
168
border-bottom : 1px solid $oh-teal-light ;
@@ -198,7 +198,7 @@ body.oh-proj-template > main > div.container {
198
198
/* Button styles */
199
199
200
200
.btn-default {
201
- background-color : #fff ;
201
+ background-color : white ;
202
202
border : 2px solid $oh-teal-dark ;
203
203
color : $oh-teal-dark ;
204
204
@@ -210,7 +210,7 @@ body.oh-proj-template > main > div.container {
210
210
}
211
211
212
212
.btn-primary-hollow {
213
- background-color : #fff ;
213
+ background-color : white ;
214
214
border : 2px solid $oh-orange ;
215
215
color : $oh-teal-dark ;
216
216
@@ -224,12 +224,12 @@ body.oh-proj-template > main > div.container {
224
224
.btn-primary {
225
225
background-color : $oh-orange ;
226
226
border : 2px solid $oh-orange ;
227
- color : #fff ;
227
+ color : white ;
228
228
229
229
& :hover , & :focus {
230
- background-color : #f7763e ;
231
- border-color : #f7763e ;
232
- color : #fff ;
230
+ background-color : $oh-orange-dark ;
231
+ border-color : $oh-orange-dark ;
232
+ color : white ;
233
233
}
234
234
}
235
235
You can’t perform that action at this time.
0 commit comments