Fixed notifications VAPID
Build and Publish / Build and Publish Docker Image (push) Successful in 5m11s

This commit is contained in:
Ultradesu
2026-08-08 11:45:29 +01:00
parent d6e6075469
commit 2d43600066
5 changed files with 116 additions and 33 deletions
+20
View File
@@ -55,6 +55,19 @@
</div>
{% endfor %}
</div>
{% if total_pages > 1 %}
<nav class="media-pagination" aria-label="Pagination">
{% if page > 1 %}
<a class="button is-small" href="/admin/media?lang={{ lang.code() }}&page={{ page - 1 }}{% if filter_client_id > 0 %}&client_id={{ filter_client_id }}{% endif %}"></a>
{% endif %}
{% for p in 1..=total_pages %}
<a class="button is-small{% if p == page %} is-link{% endif %}" href="/admin/media?lang={{ lang.code() }}&page={{ p }}{% if filter_client_id > 0 %}&client_id={{ filter_client_id }}{% endif %}">{{ p }}</a>
{% endfor %}
{% if page < total_pages %}
<a class="button is-small" href="/admin/media?lang={{ lang.code() }}&page={{ page + 1 }}{% if filter_client_id > 0 %}&client_id={{ filter_client_id }}{% endif %}"></a>
{% endif %}
</nav>
{% endif %}
{% endif %}
<style>
@@ -101,6 +114,13 @@
.media-info {
padding: 0.6rem 0.75rem;
}
.media-pagination {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 0.35rem;
margin-top: 1.25rem;
}
.media-meta {
display: flex;
justify-content: space-between;