beautify, hashed passwords and session ids
This commit is contained in:
parent
fbe71b389e
commit
7e4a7ad38f
5 changed files with 122 additions and 27 deletions
|
|
@ -1,15 +1,21 @@
|
|||
{% extends "base.html" %}
|
||||
{% block nav_content %}
|
||||
{% if config["upload"] %}
|
||||
<div>
|
||||
<div>
|
||||
{% if config["upload"] %}
|
||||
<form action="/{{ config["directory"] }}" enctype="multipart/form-data" method="post">
|
||||
<label class="button upload">
|
||||
<input type="file" name="file" onchange="this.form.submit()">
|
||||
Upload
|
||||
</label>
|
||||
</form>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if config["hashed_password"] %}
|
||||
<form action="/{{ config["directory"] }}" method="post">
|
||||
<input hidden type="text" name="logout">
|
||||
<input type="submit" class="button logout" value="Logout">
|
||||
</form>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
{% for f in files %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue