forked from crunk/distribusi-verse
54 lines
1.5 KiB
HTML
54 lines
1.5 KiB
HTML
{% 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 %}
|