Implement Web Assets' theme system and selection, and add 'light' theme #118

Merged
Márton Lente merged 97 commits from martonlente/extensions-website:ui/theme-light into main 2024-05-08 14:20:07 +02:00
2 changed files with 16 additions and 15 deletions
Showing only changes of commit f8fe358397 - Show all commits

View File

@ -68,10 +68,10 @@
</li>
</ul>
{% endif %}
</div>
</div>
{# Author/admin tools can be added here in an extending template #}
{% block admin %}{% endblock admin %}
</div>
{# Author/admin tools can be added here in an extending template #}
{% block admin %}{% endblock admin %}
</div>
</div>
{% endwith %}

View File

@ -2,16 +2,17 @@
{% load i18n %}
{% block admin %}
<div class="ext-card-admin p-3">
<div>
<a href="{{ extension.get_manage_url }}" class="btn btn-sm">
<i class="i-edit"></i>
<span>{% trans 'Edit' %}</span>
</a>
</div>
<div>
{% include "common/components/status.html" with object=extension %}
</div>
<div class="cards-item-extra ext-card-admin pt-3">
<ul class="w-100">
<li class="d-flex justify-content-between me-0 w-100">
<a href="{{ extension.get_manage_url }}" class="btn btn-sm">
<i class="i-edit"></i>
<span>{% trans 'Edit' %}</span>
</a>
<div class="align-items-center d-flex">
{% include "common/components/status.html" with object=extension class="badge-tag" %}
</div>
</li>
</ul>
</div>
{% endblock admin %}