themes initialized! many new partials and scss integrations across most templates; core.settings contains COMPRESS test fallback; apps.dashboard.views updated for new alerts and styling
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Disco DeDisco
2026-03-02 15:45:12 -05:00
parent e142e5d4d7
commit eebc355f95
12 changed files with 446 additions and 28 deletions

View File

@@ -15,21 +15,19 @@
{% block content %}
{% if user.is_authenticated %}
<section class="theme-picker">
<div class="theme-picker-item">
<div class="swatch theme-default{% if user_theme == 'theme-default' %} active{% endif %}"></div>
<form method="POST" action="{% url 'set_theme' %}">
{% csrf_token %}
<button type="submit" name="theme" value="theme-default" class="btn btn-confirm">OK</button>
</form>
</div>
<div class="theme-picker-item">
<div class="swatch theme-nirvana locked"></div>
<span class="btn btn-disabled">&#x1F512;</span>
</div>
<div class="theme-picker-item">
<div class="swatch theme-sheol locked"></div>
<span class="btn btn-disabled">&#x1F512;</span>
</div>
{% for theme in themes %}
<div class="theme-picker-item">
<div class="swatch {{ theme.name }}{% if user_theme == theme.name %} active{% endif %}{% if theme.locked %} locked{% endif %}"></div>
{% if not theme.locked %}
<form method="POST" action="{% url 'set_theme' %}">
{% csrf_token %}
<button type="submit" name="theme" value="{{ theme.name }}" class="btn btn-confirm">OK</button>
</form>
{% else %}
<span class="btn btn-disabled">&#x1F512;</span>
{% endif %}
</div>
{% endfor %}
</section>
{% endif %}
{% endblock content %}