You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1.5 KiB
54 lines
1.5 KiB
3 years ago
|
{% extends "base.html" %}
|
||
|
{% block main %}
|
||
|
<div id="buttons">
|
||
|
{% if not current_user.is_authenticated %}
|
||
|
<div class="signin">
|
||
|
<a href="/login">
|
||
|
<input type="button" name="button" value="Sign in"></input>
|
||
|
</a>
|
||
|
</div>
|
||
|
<div class="signin">
|
||
|
<a href="/register">
|
||
|
<input type="button" name="button" value="Register"></input>
|
||
|
</a>
|
||
|
</div>
|
||
|
{% else %}
|
||
|
<div class="distribusi">
|
||
|
<a href="/distribusi">
|
||
|
<input type="button" name="button" value="Distribusi"></input>
|
||
|
</a>
|
||
|
</div>
|
||
|
<div class="logout">
|
||
|
<a href="/logout">
|
||
|
<input type="button" name="button" value="Logout"></input>
|
||
|
</a>
|
||
|
</div>
|
||
|
{% endif %}
|
||
|
</div>
|
||
|
<div class="maincontent">
|
||
|
<!-- a div with all the distribusis listed in the distribusiverse -->
|
||
|
<div id="distribusiverse" class="maincontent">
|
||
|
<h2>List of distribusis</h2>
|
||
|
<form method="POST" enctype="multipart/form-data" action="{{ url_for('theme') }}">
|
||
|
{{ admindistribusiform.csrf_token }}
|
||
|
<fieldset class="button required multiselect delete">
|
||
|
{{ admindistribusiform.delete }}
|
||
|
</fieldset>
|
||
|
</form>
|
||
|
</div>
|
||
|
|
||
|
<div id="distribusiverse" class="maincontent">
|
||
|
<h2>List of users</h2>
|
||
|
<form method="POST" enctype="multipart/form-data" action="{{ url_for('theme') }}">
|
||
|
{{ adminuserform.csrf_token }}
|
||
|
<fieldset class="button required multiselect update">
|
||
|
{{ adminuserform.update }}
|
||
|
</fieldset>
|
||
|
<fieldset class="button required multiselect delete">
|
||
|
{{ adminuserform.delete }}
|
||
|
</fieldset>
|
||
|
</form>
|
||
|
</div>
|
||
|
|
||
|
{% endblock %}
|