mirror of
https://github.com/PurpleI2P/regi2p.git
synced 2025-01-15 09:49:56 +00:00
42 lines
2.2 KiB
Twig
42 lines
2.2 KiB
Twig
{% extends "_page.twig" %}
|
|
|
|
{% block title %}Latest hosts{% endblock %}
|
|
{% block content %}
|
|
<div class="container">
|
|
<div class="latest-hosts">
|
|
|
|
<p class="important title" align="center">
|
|
Latest added 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"><abbr title="Hover to see last seen time">Added (UTC)</abbr></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" title="{{ host.last_seen }}">{{ host.add_date }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|
|
|