forked from MarseyWorld/MarseyWorld
46 lines
1.3 KiB
HTML
46 lines
1.3 KiB
HTML
{% extends "default.html" %}
|
|
{% block pagetitle %}Emojis{% endblock %}
|
|
{% block pagetype %}emojis{% 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>#</th>
|
|
<th>Name</th>
|
|
<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>
|
|
{% endif %}
|
|
</tr>
|
|
</thead>
|
|
<tbody id="emojis-table">
|
|
{% for emoji in emojis %}
|
|
<tr>
|
|
<td>{{loop.index}}</td>
|
|
<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>
|
|
<td>{{emoji.count}}</td>
|
|
{% if FEATURES['ASSET_SUBMISSIONS'] %}
|
|
{% set user = emoji.user %}
|
|
<td>{% include "user_in_table.html" %}</td>
|
|
{% endif %}
|
|
<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>
|
|
{% if emoji.og %}
|
|
<a href="{{SITE_FULL_IMAGES}}/asset_submissions/emojis/original/{{emoji.og}}">{{emoji.og}}</a>
|
|
{% endif %}
|
|
</td>
|
|
{% endif %}
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
|
|
{% endblock %}
|