portal/list: adds view pages for distribution lists

closes: #17
This commit is contained in:
Iain Learmonth 2022-08-17 13:05:56 +01:00
parent 92ea4d527b
commit 1b93938a8e
4 changed files with 62 additions and 3 deletions

View file

@ -0,0 +1,16 @@
{% extends "base.html.j2" %}
{% from 'bootstrap5/form.html' import render_form %}
{% from "tables.html.j2" import proxies_table %}
{% block content %}
<h1 class="h2 mt-3">Distribution Lists</h1>
<h2 class="h3">
{{ list.url() }}
<a href="{{ list.url() }}" class="btn btn-secondary btn-sm" target="_bypass"
rel="noopener noreferer">⎋</a>
</h2>
<div style="border: 1px solid #666;" class="p-3">
{{ render_form(form) }}
</div>
{% endblock %}