Public archive for the Return to Ritherdon project.
https://www.nicolaellisandritherdon.com
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.
31 lines
1017 B
31 lines
1017 B
{% extends "layouts/default.html" %} |
|
{% block title %}Manage you archive.{% endblock %} |
|
{% block content %} |
|
<h1>Dashboard</h1> |
|
<div> |
|
<a href="/create/page">Create Page</a> |
|
<a href="/user/pages">Manage Pages</a> |
|
<a href="/storage/files">Manage Files</a> |
|
{% if roles.administrator %} |
|
<a href="/users">Manage Users</a> |
|
{% endif %} |
|
</div> |
|
|
|
<div> |
|
<h2>File Upload</h2> |
|
<form action="/storage/upload" method="POST" enctype="multipart/form-data"> |
|
<input required type="hidden" name="AUTHENTICITY-TOKEN" value="{{token}}"> |
|
<label>Single File Upload</label> |
|
<input required type="file" name="STORAGE-FILE"> |
|
<input type="submit" value="Upload File"/> |
|
</form> |
|
|
|
<form action="/storage/multi-upload" method="POST" enctype="multipart/form-data"> |
|
<input required type="hidden" name="AUTHENTICITY-TOKEN" value="{{token}}"> |
|
<label>Multi-File Upload</label> |
|
<input required type="file" name="STORAGE-FILES" multiple> |
|
<input type="submit" value="Upload Files"/> |
|
</form> |
|
</div> |
|
|
|
{% endblock %}
|
|
|