2026-01-27 13:48:59 -05:00
|
|
|
{% extends "core/base.html" %}
|
|
|
|
|
|
|
|
|
|
{% block title_text %}Start a new to-do list{% endblock title_text %}
|
|
|
|
|
{% block header_text %}Start a new to-do list{% endblock header_text %}
|
|
|
|
|
|
2026-02-08 21:43:58 -05:00
|
|
|
{% block extra_header %}
|
|
|
|
|
{% url "new_list" as form_action %}
|
|
|
|
|
{% include "apps/dashboard/_partials/_form.html" with form=form form_action=form_action %}
|
|
|
|
|
{% endblock extra_header %}
|
|
|
|
|
|
|
|
|
|
{% block scripts %}
|
|
|
|
|
{% include "apps/dashboard/_partials/_scripts.html" %}
|
|
|
|
|
{% endblock scripts %}
|
2026-03-02 13:57:03 -05:00
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
{% if user.is_authenticated %}
|
|
|
|
|
<section class="theme-picker">
|
2026-03-02 15:45:12 -05:00
|
|
|
{% 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 %}
|
2026-03-03 16:10:49 -05:00
|
|
|
<span class="btn btn-disabled">×</span>
|
2026-03-02 15:45:12 -05:00
|
|
|
{% endif %}
|
|
|
|
|
</div>
|
|
|
|
|
{% endfor %}
|
2026-03-02 13:57:03 -05:00
|
|
|
</section>
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% endblock content %}
|