Sign out button
This commit is contained in:
parent
80ec3d23a6
commit
e9a24588a0
|
@ -42,12 +42,12 @@ def bills():
|
|||
@glob.app.route("/warranties")
|
||||
@flask_login.login_required
|
||||
def warranties():
|
||||
return "AAAA"
|
||||
return "Unimplemented"
|
||||
|
||||
@glob.app.route("/receipts")
|
||||
@flask_login.login_required
|
||||
def receipts():
|
||||
return "AAAA"
|
||||
return "Unimplemented"
|
||||
|
||||
@glob.app.route("/login", methods = ["GET", "POST"])
|
||||
def login():
|
||||
|
|
|
@ -11,6 +11,8 @@
|
|||
font-size: 24px;
|
||||
vertical-align: middle;
|
||||
display: table-cell;
|
||||
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.languk {
|
||||
|
@ -55,9 +57,18 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="col">
|
||||
<div class="rndblock"> <!-- OR INCLUDE BACKGROUND TEXTURE -->
|
||||
<div class="rndblock" data-toggle="dropdown" aria-expanded="false"> <!-- OR INCLUDE BACKGROUND TEXTURE -->
|
||||
{{ current_user.firstname[0]|upper }} <!-- FIRST CHAR OF USER -->
|
||||
</div>
|
||||
<ul class="dropdown-menu">
|
||||
<li>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<a href="{{ url_for('logout') }}">Sign out</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
|
@ -12,7 +12,7 @@
|
|||
<th scope="col">Payment to</th>
|
||||
<th scope="col">Description</th>
|
||||
<th scope="col" style="width: 120px">Sum</th>
|
||||
<th scope="col" style="width: 120px">KID</th>
|
||||
<th scope="col" style="width: 220px">KID</th>
|
||||
<th scope="col" style="width: 120px">Date Due</th>
|
||||
<th scope="col" style="width: 150px">Payment status</th>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in New Issue
Block a user