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.
 
 
 
 
 
 

58 lines
1.7 KiB

{% extends "layouts/default.html" %}
{% block title %}Manage the site's archive.{% endblock %}
{% block content %}
<div class="be-main">
<div class="be-dashboard-section">
<h1>Archive Index</h1>
<div class="be-section-controls">
<a class="be-gui-link"
title="Click to add a new archive entry"
href="/create/archive-entry">
<img alt="New Archive Entry"
src="/images/icons/add-circle.png">
Create Entry
</a>
</div>
<div class="be-section-entries">
{% for entry in archive-entries %}
<div class="be-section-entry">
<div class="be-section-image-title">
<img alt="{{entry.title}}"
src="/storage/thumb/archive/{{entry.slug}}">
<p>{{entry.title}}</p>
</div>
<div class="be-entry-controls">
<a class="be-gui-link-no-text"
href="/view/archive/{{entry.slug}}">
<img alt="{{entry.title}}"
src="/images/icons/view-entry.png">
</a>
<a class="be-gui-link-no-text"
href="/edit/archive/{{entry.slug}}">
<img alt="{{entry.title}}"
src="/images/icons/edit-entry.png">
</a>
{% if roles.administrator %}
<form action="/archive/delete/entry"
method="post">
<input required type="hidden"
name="AUTHENTICITY-TOKEN"
value="{{token}}">
<input required type="hidden"
name="slug"
value="{{entry.slug}}">
<button class="be-gui-button-no-text"
title="Click to delete '{{entry.title}}'"
type="submit">
<img alt="Rename {{entry.title}}"
src="/images/icons/delete-entry.png">
</button>
</form>
{% endif %}
</div>
</div>
{% endfor %}
</div>
</div>
</div>
{% endblock %}