1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-17 18:36:39 +02:00

feat(admin-plugin): update admin themes layout #211

This commit is contained in:
Awilum
2020-02-14 23:29:07 +03:00
parent 1c3f5a2993
commit 3d5c3c808e

View File

@@ -24,17 +24,17 @@
<tbody>
{% for key, theme in themes_list %}
<tr>
<td class="w-1 text-center {% if key == registry.settings.theme and theme.enabled == true %}{% else %}opacity-50{% endif %}">
<td class="w-1 text-center {% if key == registry.flextype.theme and theme.enabled == true %}{% else %}opacity-50{% endif %}">
<i class="icon">{{ icon('fas fa-palette') }}</i>
</td>
<td class="pl-0">
<td class="pl-0 {% if key == registry.flextype.theme and theme.enabled == true %}{% else %}opacity-50{% endif %}">
<a href="{{ path_for('admin.templates.index') }}?theme={{ key }}">{{ theme.name }}</a>
</td>
<td class="{% if key == registry.settings.theme and theme.enabled == true %}{% else %}opacity-50{% endif %}">{{ theme.description }}</td>
<td class="{% if key == registry.settings.theme and theme.enabled == true %}{% else %}opacity-50{% endif %}">
<td class="{% if key == registry.flextype.theme and theme.enabled == true %}{% else %}opacity-50{% endif %}">{{ theme.description }}</td>
<td class="{% if key == registry.flextype.theme and theme.enabled == true %}{% else %}opacity-50{% endif %}">
<a href="{{ theme.author.url }}" target="_blank">{{ theme.author.name }}</a>
</td>
<td class="{% if key == registry.settings.theme and theme.enabled == true %}{% else %}opacity-50{% endif %}">{{ theme.version }}</td>
<td class="{% if key == registry.flextype.theme and theme.enabled == true %}{% else %}opacity-50{% endif %}">{{ theme.version }}</td>
<td class="text-right">
<button type="button" class="js-dropdown-btn" data-dropdown="dropdown-{{ key }}">
<i class="icon">{{ icon('fas fa-ellipsis-h') }}</i>