2023-11-29 22:12:55 +13:00
|
|
|
{% extends "base.html" %}
|
|
|
|
{% from 'bootstrap/form.html' import render_form %}
|
|
|
|
|
|
|
|
{% block app_content %}
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-12 col-md-8 position-relative main_pane">
|
|
|
|
<nav aria-label="breadcrumb" id="breadcrumb_nav" title="Navigation">
|
|
|
|
<ol class="breadcrumb">
|
|
|
|
<li class="breadcrumb-item"><a href="/">{{ _('Home') }}</a></li>
|
|
|
|
<li class="breadcrumb-item active">Domains</li>
|
|
|
|
</ol>
|
|
|
|
</nav>
|
2024-02-02 16:52:23 +13:00
|
|
|
{% if search == '' %}
|
2023-11-29 22:12:55 +13:00
|
|
|
<h1 class="mt-2">{{ _('All known domains') }}</h1>
|
2024-02-02 16:52:23 +13:00
|
|
|
{% else %}
|
|
|
|
<h1 class="mt-2">{{ _('Domains containing %(search)s', search=search) }}</h1>
|
|
|
|
{% endif %}
|
|
|
|
<form method="get"><input type="search" name="search" value="{{ search }}" placeholder="{{ _('Search') }}" autofocus></form>
|
|
|
|
<table class="table table-striped">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>{{ _('Domain') }}</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2023-11-29 22:12:55 +13:00
|
|
|
{% for domain in domains %}
|
2024-02-02 16:52:23 +13:00
|
|
|
<tr>
|
|
|
|
<th><a href="{{ url_for('domain.show_domain', domain_id=domain.id) }}">{{ domain.name }}</a></th>
|
|
|
|
</tr>
|
2023-11-29 22:12:55 +13:00
|
|
|
{% endfor %}
|
2024-02-02 16:52:23 +13:00
|
|
|
</tbody>
|
|
|
|
</table>
|
2024-02-02 16:58:30 +13:00
|
|
|
<nav aria-label="Pagination" class="mt-4" role="navigation">
|
|
|
|
{% if prev_url %}
|
|
|
|
<a href="{{ prev_url }}" class="btn btn-primary" rel="nofollow">
|
|
|
|
<span aria-hidden="true">←</span> {{ _('Previous page') }}
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
|
|
|
{% if next_url %}
|
|
|
|
<a href="{{ next_url }}" class="btn btn-primary" rel="nofollow">
|
|
|
|
{{ _('Next page') }} <span aria-hidden="true">→</span>
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
|
|
|
</nav>
|
2023-11-29 22:12:55 +13:00
|
|
|
</div>
|
|
|
|
|
2024-01-28 21:38:04 +13:00
|
|
|
<aside class="col-12 col-md-4 side_pane" role="complementary">
|
2023-11-29 22:12:55 +13:00
|
|
|
|
2024-01-28 21:38:04 +13:00
|
|
|
</aside>
|
2023-11-29 22:12:55 +13:00
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|