-
-
Notifications
You must be signed in to change notification settings - Fork 62
Expand file tree
/
Copy pathindex.html
More file actions
24 lines (23 loc) · 762 Bytes
/
index.html
File metadata and controls
24 lines (23 loc) · 762 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{% extends 'admin/master.html' %}
{% block body %}
{{ super() }}
<div class='container'>
<div>
<div>
<h1>Welcome!</h1>
{% if not current_user.is_authenticated %}
<h3>Please log in to continue</h3>
<br>
<a class='btn btn-primary' href="{{ url_for('security.login') }}">login</a>
</p>
<br>
{% endif %}
{% if current_user.is_authenticated %}
<h3>You have successfully logged in.</h3>
<p>You now have access to the administrator view.</p>
<a href="{{ url_for('security.logout') }}">Log out</a>
{% endif %}
</div>
</div>
</div>
{% endblock body %}