rainbox.email/views/backend/mailboxes.njk

48 lines
1.5 KiB
Plaintext
Raw Normal View History

2020-07-27 16:02:09 +02:00
{% extends 'layouts/base.njk' %}
{% set title = app.name + ' - Backend' %}
{% block body %}
<div class="container">
2020-07-30 11:07:31 +02:00
{{ macros.breadcrumb('Mailboxes', [
{title: 'Backend', link: route('backend')}
]) }}
<h1>Mailbox manager</h1>
2020-07-27 16:02:09 +02:00
<section class="panel">
2020-07-30 11:20:31 +02:00
<h2><i data-feather="mail"></i> Mailboxes</h2>
2020-07-27 16:02:09 +02:00
<table class="data-table">
<thead>
<tr>
<th>#</th>
<th>User name</th>
<th>Name</th>
<th>Identities</th>
<th>Owned domains</th>
2020-07-30 11:20:31 +02:00
<th>Actions</th>
2020-07-27 16:02:09 +02:00
</tr>
</thead>
<tbody>
{% for box in mailboxes %}
<tr>
<td>{{ box.id }}</td>
<td>{{ box.username }}</td>
2020-07-30 11:20:31 +02:00
<td>{{ box.name }}</td>
2020-07-27 16:02:09 +02:00
<td>{{ box.identity_count }}</td>
<td>{{ box.domain_count }}</td>
2020-07-30 11:20:31 +02:00
<td class="actions">
<a href="{{ route('backend-mailbox', box.id) }}" class="button">
<i data-feather="edit-2"></i> <span class="tip">Edit</span>
</a>
</td>
2020-07-27 16:02:09 +02:00
</tr>
{% endfor %}
</tbody>
</table>
</section>
</div>
2020-11-02 22:16:51 +01:00
{% endblock %}