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.
|
|
|
{% extends "layouts/default.html" %}
|
|
|
|
{% block title %}Manage you archive.{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<h1>Dashboard</h1>
|
|
|
|
<div>
|
|
|
|
{% if roles.logged-in %}
|
|
|
|
<a href="/dashboard">Dashboard</a>
|
|
|
|
<a href="/user/edit">Edit Account</a>
|
|
|
|
<form action="/logout" method="post">
|
|
|
|
<input required type="hidden" name="AUTHENTICITY-TOKEN" value="{{token}}">
|
|
|
|
<input type="submit" value="logout">
|
|
|
|
</form>
|
|
|
|
<form action="/user/delete" method="post">
|
|
|
|
<input required type="hidden" name="AUTHENTICITY-TOKEN" value="{{token}}">
|
|
|
|
<input type="submit" value="Delete Account">
|
|
|
|
</form>
|
|
|
|
<a href="/create/page">Create Page</a>
|
|
|
|
{% if roles.administrator %}
|
|
|
|
<a href="/site-settings">Site Settings</a>
|
|
|
|
<a href="/users">Users</a>
|
|
|
|
{% endif %}
|
|
|
|
{% else %}
|
|
|
|
<a href="/">Home</a>
|
|
|
|
<a href="/login">Log-in</a>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endblock %}
|