You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.0 KiB
HTML
42 lines
1.0 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}
|
|
Alias list
|
|
{% endblock %}
|
|
|
|
{% block subtitle %}
|
|
{{ domain.name }}
|
|
{% endblock %}
|
|
|
|
{% block main_action %}
|
|
<a class="btn btn-primary" href="{{ url_for('alias_create', domain_name=domain.name) }}">Add alias</a>
|
|
{% endblock %}
|
|
|
|
{% block box %}
|
|
<table class="table table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<th>Actions</th>
|
|
<th>Address</th>
|
|
<th>Destination</th>
|
|
<th>Comment</th>
|
|
<th>Created</th>
|
|
<th>Last edit</th>
|
|
</tr>
|
|
{% for alias in domain.aliases %}
|
|
<tr>
|
|
<td>
|
|
<a href="{{ url_for('alias_edit', alias=alias.get_id()) }}" title="Edit"><i class="fa fa-pencil"></i></a>
|
|
<a href="{{ url_for('alias_delete', alias=alias.get_id()) }}" title="Delete"><i class="fa fa-trash"></i></a>
|
|
</td>
|
|
<td>{{ alias }}</td>
|
|
<td>{{ alias.destination or '-' }}</td>
|
|
<td>{{ alias.comment or '' }}</td>
|
|
<td>{{ alias.created_at }}</td>
|
|
<td>{{ alias.updated_at or '' }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% endblock %}
|