MarseyWorld/files/templates/emojis.html

46 lines
1.3 KiB
HTML
Raw Normal View History

2022-01-12 02:42:26 +00:00
{% extends "default.html" %}
2023-07-04 21:40:00 +00:00
{% block pagetitle %}Emojis{% endblock %}
{% block pagetype %}emojis{% endblock %}
2022-01-12 02:42:26 +00:00
{% block content %}
<div class="overflow-x-auto mt-3"><table class="table table-striped mb-5">
2022-01-02 20:20:13 +00:00
<thead class="bg-primary text-white">
<tr>
<th>#</th>
<th>Name</th>
2023-07-04 21:40:00 +00:00
<th>Emoji</th>
<th>Usage</th>
{% if FEATURES['ASSET_SUBMISSIONS'] %}
<th>Author</th>
{% endif %}
<th>Added on</th>
{% if FEATURES['ASSET_SUBMISSIONS'] %}
<th class="disable-sort-click">Original File</th>
2022-09-14 10:55:35 +00:00
{% endif %}
2022-01-02 20:20:13 +00:00
</tr>
</thead>
2023-07-04 21:40:00 +00:00
<tbody id="emojis-table">
{% for emoji in emojis %}
<tr>
<td>{{loop.index}}</td>
2023-07-04 21:40:00 +00:00
<td>{{emoji.name}}</td>
<td><img class="emoji" loading="lazy" data-bs-toggle="tooltip" alt=":#{{emoji.name}}:" title=":{{emoji.name}}:" src="{{SITE_FULL_IMAGES}}/e/{{emoji.name}}.webp"></td>
2023-07-04 21:40:00 +00:00
<td>{{emoji.count}}</td>
{% if FEATURES['ASSET_SUBMISSIONS'] %}
2023-07-04 21:40:00 +00:00
{% set user = emoji.user %}
2022-12-11 16:24:15 +00:00
<td>{% include "user_in_table.html" %}</td>
{% endif %}
2023-07-04 21:40:00 +00:00
<td data-sort-key="{{emoji.created_utc or 0}}" {% if emoji.created_utc != None %}data-time="{{emoji.created_utc}}"{% endif %}></td>
{% if FEATURES['ASSET_SUBMISSIONS'] %}
<td>
2023-07-04 21:40:00 +00:00
{% if emoji.og %}
<a href="{{SITE_FULL_IMAGES}}/asset_submissions/emojis/original/{{emoji.og}}">{{emoji.og}}</a>
{% endif %}
</td>
{% endif %}
</tr>
{% endfor %}
2022-01-02 20:20:13 +00:00
</tbody>
2022-01-12 02:42:26 +00:00
</table>
2022-12-10 10:40:34 +00:00
2022-10-27 15:43:48 +00:00
{% endblock %}