Added logout button to image view.

This commit is contained in:
2023-08-23 22:01:09 -04:00
parent 72513f2f6d
commit 01cebe36ed
2 changed files with 14 additions and 0 deletions

View File

@@ -88,6 +88,10 @@ body {
margin-right: 2em; margin-right: 2em;
} }
.ml-4 {
margin-left: 4em;
}
.ml-2 { .ml-2 {
margin-left: 2em; margin-left: 2em;
} }

View File

@@ -26,6 +26,16 @@
<img src="{% static 'imgs/back.png' %}" class="small-nav-icon"> <img src="{% static 'imgs/back.png' %}" class="small-nav-icon">
</a> </a>
</td> </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> </tr>
</table> </table>