CSS style for spacing.
This commit is contained in:
parent
1a80d443ed
commit
729ea29bf7
@ -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 }} </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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user