2022-12-13 02:42:40 +01:00
|
|
|
{% extends "base/frame.twig" %}
|
|
|
|
{% block stylesheets %}
|
2023-01-08 23:28:25 +01:00
|
|
|
<link rel="stylesheet" type="text/css" href="/assets/css/back/start.css?=qwert">
|
2022-12-13 02:42:40 +01:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block main %}
|
2023-01-17 05:17:22 +01:00
|
|
|
<section role="members-index">
|
2022-12-13 02:42:40 +01:00
|
|
|
|
2023-01-17 05:17:22 +01:00
|
|
|
{% if options.mode == "index" %}
|
|
|
|
<h1>Members</h1>
|
|
|
|
<h2>Manage member accounts</h2>
|
|
|
|
<a href="/den/members/edit/{{ options.you }}">Edit Profile</a>
|
|
|
|
|
|
|
|
|
<a href="/den/members/add">Add Members</a>
|
|
|
|
<h3>Current Members</h3>
|
|
|
|
{% for member in options.list.members %}
|
|
|
|
{% if member.role != 1 %}
|
|
|
|
<a href="/den/members/edit/{{ member.id }}">{{ member.handle }}</a>
|
|
|
|
<br>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% endfor %}
|
|
|
|
{% elseif options.mode == "add" %}
|
|
|
|
<h1>Add Member</h1>
|
|
|
|
{{ include("forms/add-member-form.twig") }}
|
|
|
|
|
|
|
|
{% elseif options.mode == "edit" %}
|
|
|
|
<h1>Edit Member</h1>
|
|
|
|
{{ include("forms/edit-member.twig") }}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
</section>
|
|
|
|
{% endblock %}
|