CSS style for spacing.

This commit is contained in:
Chris GIACOFEI 2024-06-03 13:19:35 -04:00
parent 1a80d443ed
commit 729ea29bf7

View File

@ -23,6 +23,13 @@
body {
margin-top: 50px;
}
label, input {
display: block;
}
label {
margin-right: 10px;
}
</style>
</head>
<body>
@ -65,8 +72,8 @@
{% if user.is_authenticated %}
<form id="LougoutForm" action="{% url 'logout' %}" method="POST" class="form-inline my-2 my-lg-0">
{% csrf_token %}
<label style="color: Gray">{{ user.username }}&nbsp;&nbsp;&nbsp;</label>
<a href="#" onclick="document.getElementById('LougoutForm').submit();">Log Out</a>
<label style="color: Gray">{{ user.username }}</label>
<label><a href="#" onclick="document.getElementById('LougoutForm').submit();">Log Out</a></label>
</form>
<a href="{% url 'password_change' %}">Change Password</a>
{% else %}