CSS style for spacing.
This commit is contained in:
parent
1a80d443ed
commit
729ea29bf7
@ -23,6 +23,13 @@
|
|||||||
body {
|
body {
|
||||||
margin-top: 50px;
|
margin-top: 50px;
|
||||||
}
|
}
|
||||||
|
label, input {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
label {
|
||||||
|
margin-right: 10px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
@ -65,8 +72,8 @@
|
|||||||
{% if user.is_authenticated %}
|
{% if user.is_authenticated %}
|
||||||
<form id="LougoutForm" action="{% url 'logout' %}" method="POST" class="form-inline my-2 my-lg-0">
|
<form id="LougoutForm" action="{% url 'logout' %}" method="POST" class="form-inline my-2 my-lg-0">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<label style="color: Gray">{{ user.username }} </label>
|
<label style="color: Gray">{{ user.username }}</label>
|
||||||
<a href="#" onclick="document.getElementById('LougoutForm').submit();">Log Out</a>
|
<label><a href="#" onclick="document.getElementById('LougoutForm').submit();">Log Out</a></label>
|
||||||
</form>
|
</form>
|
||||||
<a href="{% url 'password_change' %}">Change Password</a>
|
<a href="{% url 'password_change' %}">Change Password</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
Loading…
Reference in New Issue
Block a user