2023-01-27 12:24:39 +00:00
|
|
|
{% extends "default.html" %}
|
2023-02-21 20:18:41 +00:00
|
|
|
{% block pagetitle %}DM Images{% endblock %}
|
2023-01-27 12:24:39 +00:00
|
|
|
{% block content %}
|
|
|
|
<h2>DM Images</h2>
|
|
|
|
<div class="overflow-x-auto">
|
|
|
|
<table class="table table-striped mb-5">
|
|
|
|
<thead class="bg-primary text-white">
|
|
|
|
<tr>
|
|
|
|
<th>Image</th>
|
|
|
|
<th>Sender</th>
|
|
|
|
<th>Sent To</th>
|
2023-02-22 17:21:16 +00:00
|
|
|
<th>At</th>
|
2023-01-27 12:24:39 +00:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
|
|
|
|
{% for item in items %}
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<a href="{{item[0]}}" target="_blank">
|
2023-03-12 13:02:31 +00:00
|
|
|
<img alt="{{item[0]}}" src="{{item[0]}}" loading="lazy" class="dm_img">
|
2023-01-27 12:24:39 +00:00
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
{% if item[1] != "Unknown" %}
|
|
|
|
<a href="/id/{{item[2]}}">
|
|
|
|
<img loading="lazy" src="/pp/{{item[2]}}">
|
|
|
|
@{{item[1]}}
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
{% if item[1] != "Unknown" %}
|
2023-01-28 08:47:52 +00:00
|
|
|
{% if item[3] == "Modmail" %}
|
|
|
|
Modmail
|
|
|
|
{% else %}
|
|
|
|
<a href="/id/{{item[4]}}">
|
|
|
|
<img loading="lazy" src="/pp/{{item[4]}}">
|
|
|
|
@{{item[3]}}
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
2023-01-27 12:24:39 +00:00
|
|
|
{% endif %}
|
|
|
|
</td>
|
2023-02-22 17:21:16 +00:00
|
|
|
<td {% if item[5] %}data-time="{{item[5]}}"{% endif %}></td>
|
2023-01-27 12:24:39 +00:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|
2023-02-22 14:36:52 +00:00
|
|
|
|
|
|
|
{% block pagenav %}
|
|
|
|
<nav>
|
|
|
|
<ul class="pagination pagination-sm py-3 pl-3 mb-0">
|
|
|
|
{% if page>1 %}
|
|
|
|
<li class="page-item">
|
|
|
|
<small><a class="page-link" href="?page={{page-1}}" tabindex="-1">Prev</a></small>
|
|
|
|
</li>
|
|
|
|
{% else %}
|
|
|
|
<li class="page-item disabled"><span class="page-link">Prev</span></li>
|
|
|
|
{% endif %}
|
|
|
|
{% if next_exists %}
|
|
|
|
<li class="page-item">
|
|
|
|
<small><a class="page-link" href="?page={{page+1}}">Next</a></small>
|
|
|
|
</li>
|
|
|
|
{% else %}
|
|
|
|
<li class="page-item disabled"><span class="page-link">Next</span></li>
|
|
|
|
{% endif %}
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
{% endblock %}
|