mirror of
https://github.com/PurpleI2P/regi2p.git
synced 2025-01-15 09:49:56 +00:00
49 lines
2.3 KiB
Twig
49 lines
2.3 KiB
Twig
{% extends "_page.twig" %}
|
|
|
|
{% block title %}Alive hosts{% endblock %}
|
|
{% block content %}
|
|
<div class="container">
|
|
<div class="alive-hosts">
|
|
<p class="important title" align="center">
|
|
Alive domains
|
|
</p>
|
|
|
|
<table class="table">
|
|
<thead class="table__head">
|
|
<tr class="table__row">
|
|
<th class="table__cell">Domain</th>
|
|
<th class="table__cell"><abbr title="Address Helper">AH</abbr></th>
|
|
<th class="table__cell"><abbr title="Base32 address">B32</abbr></th>
|
|
<th class="table__cell table__cell_full-b32">Full Base32</th>
|
|
<th class="table__cell table__cell_date">Last seen (UTC)</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="table__body">
|
|
{% for host in hosts %}
|
|
<tr class="table__row">
|
|
{% if host.host|length > 24 %}
|
|
<td class="table__cell table__cell_long-ass"><a href="http://{{ host.host }}/" rel="external nofollow noopener noreferrer" target="_blank">{{ host.host|slice(0, 23) }}…</a></td>
|
|
{% else %}
|
|
<td class="table__cell table__cell_long-ass"><a href="http://{{ host.host }}/" rel="external nofollow noopener noreferrer" target="_blank">{{ host.host }}</a></td>
|
|
{% endif %}
|
|
<td class="table__cell table__cell_center-bold"><a href="http://{{ host.host }}/?i2paddresshelper={{ host.base64 }}" rel="external nofollow noopener noreferrer" target="_blank">A</a></td>
|
|
<td class="table__cell table__cell_center-bold"><a href="http://{{ host.base32 }}.b32.i2p/" rel="external nofollow noopener noreferrer" target="_blank">B</a></td>
|
|
<td class="table__cell table__cell_full-b32 table__cell_long-ass">{{ host.base32 }}</td>
|
|
<td class="table__cell table__cell_date">{{ host.last_seen }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
|
|
{% if total > 1 %}
|
|
{% include "_pagination.twig" with {
|
|
total,
|
|
current,
|
|
url: "/alive/"
|
|
} only %}
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|
|
|