MarseyWorld/files/templates/emojis.html

64 lines
2.5 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 %}
2023-08-05 13:52:53 +00:00
2023-09-28 23:58:09 +00:00
<a class="btn btn-primary btn-block mt-3" href="/assets/emojis.zip?x={{emojis_hash}}"><i class="fas fa-down mr-2"></i>Download All Emojis</a>
2023-08-05 13:52:53 +00:00
2023-09-28 23:58:09 +00:00
<a class="btn btn-primary btn-block mt-3" href="https://rdrama.net/assets/emojis_original.zip?x={{emojis_hash}}"><i class="fas fa-down mr-2"></i>Download All Original Files</a>
2023-08-05 13:52:53 +00:00
2023-08-05 13:56:28 +00:00
<div class="d-flex align-items-center my-4">
2023-08-05 11:13:59 +00:00
<div class="dropdown dropdown-actions mx-auto">
2023-08-23 10:14:44 +00:00
<button type="button" class="btn btn-secondary dropdown-toggle" id="dropdownMenuButton" data-bs-toggle="dropdown" data-bs-display="static" style="width:min(95vw, 900px)">
2023-08-05 11:13:59 +00:00
<img loading="lazy" src="{{SITE_FULL_IMAGES}}/e/{{kind.lower()}}.webp" alt=":{{kind.lower()}}:" class="mr-2">{{kind}}
</button>
<div class="dropdown-menu" x-placement="bottom-start" style="position: absolute; will-change: transform; top: 0px; left: 0px; transform: translate3d(0px, 31px, 0px); max-height: 50vh;overflow: auto;width:min(95vw, 900px)">
{% for kind in EMOJI_KINDS %}
<a class="dropdown-item" href="/emojis/{{kind}}"><img loading="lazy" src="{{SITE_FULL_IMAGES}}/e/{{kind.lower()}}.webp" alt=":{{kind.lower()}}:" class="mr-2">{{kind}}</a>
{% endfor %}
</div>
</div>
</div>
<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 %}