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.
 
 
 
 
 
 

46 lines
1.3 KiB

{% 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="/create/archive-entry">Create Archive Entry</a> |
<a href="/user/archive">Manage Archive</a> |
<a href="/user/pages">Manage Pages</a> |
<a href="/storage/manage">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>Name</label>
<input required type="text" name="FILE-NAME">
<input required type="file" name="STORAGE-FILE">
<input type="submit" value="Upload File"/>
</form>
<h2>Multi-File Upload</h2>
<form action="/storage/multi-upload" method="POST"
enctype="multipart/form-data">
<input required type="hidden"
name="AUTHENTICITY-TOKEN"
value="{{token}}">
<p><em>
(Warning: This will overwrite any files stored on the
server with the same name.)
</em></p>
<input required type="file"
name="STORAGE-FILES" multiple>
<input type="submit" value="Upload Files"/>
</form>
</div>
{% endblock %}