forked from MarseyWorld/MarseyWorld
49 lines
1.8 KiB
HTML
49 lines
1.8 KiB
HTML
{% extends "default.html" %}
|
|
{% block pagetitle %}Marseys{% endblock %}
|
|
{% block pagetype %}marseys{% endblock %}
|
|
{% block content %}
|
|
<div class="overflow-x-auto mt-3"><table class="table table-striped mb-5">
|
|
<thead class="bg-primary text-white">
|
|
<tr>
|
|
<th class="disable-sort-click" {% if sort=="name" %}disabled{% endif %}><a href="?sort=name">Name</a></th>
|
|
<th class="disable-sort-click">Marsey</th>
|
|
<th class="disable-sort-click" {% if sort=="usage" %}disabled{% endif %}><a href="/marseys">Usage</a></th>
|
|
{% if FEATURES['ASSET_SUBMISSIONS'] %}
|
|
<th class="disable-sort-click" {% if sort=="author" %}disabled{% endif %}><a href="?sort=author">Author</a></th>
|
|
{% endif %}
|
|
<th class="disable-sort-click" {% if sort=="added_on" %}disabled{% endif %}><a href="?sort=added_on">Added on</a></th>
|
|
{% if FEATURES['ASSET_SUBMISSIONS'] %}
|
|
<th class="disable-sort-click">Original File</th>
|
|
{% endif %}
|
|
</tr>
|
|
</thead>
|
|
<tbody id="marseys-table">
|
|
{% for marsey, user in marseys %}
|
|
<tr>
|
|
<td>{{marsey.name}}</td>
|
|
<td><img class="marsey" loading="lazy" data-bs-toggle="tooltip" alt=":#{{marsey.name}}:" title=":{{marsey.name}}:" src="/e/{{marsey.name}}.webp"></td>
|
|
<td>{{marsey.count}}</td>
|
|
{% if FEATURES['ASSET_SUBMISSIONS'] %}
|
|
<td>{% include "user_in_table.html" %}</td>
|
|
{% endif %}
|
|
<td data-sort-key="{{marsey.created_utc or 0}}" {% if marsey.created_utc != None %}data-time="{{marsey.created_utc}}"{% endif %}></td>
|
|
{% if FEATURES['ASSET_SUBMISSIONS'] %}
|
|
<td>
|
|
{% if marsey.og %}
|
|
<a href="{{SITE_FULL_IMAGES}}/asset_submissions/emojis/original/{{marsey.og}}">{{marsey.og}}</a>
|
|
{% endif %}
|
|
</td>
|
|
{% endif %}
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
|
|
{% endblock %}
|
|
|
|
{% block pagenav %}
|
|
{% if request.path != "/marseys/all" %}
|
|
{% include "pagination.html" %}
|
|
{% endif %}
|
|
{% endblock %}
|