Added logout button to image view.
This commit is contained in:
@@ -88,6 +88,10 @@ body {
|
||||
margin-right: 2em;
|
||||
}
|
||||
|
||||
.ml-4 {
|
||||
margin-left: 4em;
|
||||
}
|
||||
|
||||
.ml-2 {
|
||||
margin-left: 2em;
|
||||
}
|
||||
|
@@ -26,6 +26,16 @@
|
||||
<img src="{% static 'imgs/back.png' %}" class="small-nav-icon">
|
||||
</a>
|
||||
</td>
|
||||
|
||||
<!-- Logout button. -->
|
||||
<td>
|
||||
<form method="post" action="{% url 'logout' %}" class="ml-4">
|
||||
{% csrf_token %}
|
||||
<button type="submit" class="clear-btn">
|
||||
<img src="{% static 'imgs/boot.png' %}" class="small-nav-icon">
|
||||
</button>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
Reference in New Issue
Block a user