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
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<input
|
||||
id="id_text"
|
||||
name="text"
|
||||
class="form-control form-control-lg{% if form.errors %} is-invalid{% endif %}"
|
||||
class="form-control form-control-lg{% if form.errors.text %} is-invalid{% endif %}"
|
||||
placeholder="Enter a to-do item"
|
||||
value="{{ form.text.value | default:'' }}"
|
||||
aria-describedby="id_text_feedback"
|
||||
|
||||
@@ -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">🔒</span>
|
||||
</div>
|
||||
<div class="theme-picker-item">
|
||||
<div class="swatch theme-sheol locked"></div>
|
||||
<span class="btn btn-disabled">🔒</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">🔒</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</section>
|
||||
{% endif %}
|
||||
{% endblock content %}
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
|
||||
{% block content %}
|
||||
<div class="row justify-content-center">
|
||||
<small>List created by: <span id="id_list_owner">{{ list.owner.email }}</span></small>
|
||||
<div class="col-lg-6">
|
||||
<small>List created by: <span id="id_list_owner">{{ list.owner.email }}</span></small>
|
||||
<table id="id_list_table" class="table">
|
||||
{% for item in list.item_set.all %}
|
||||
<tr><td>{{ forloop.counter }}. {{ item.text }}</td></tr>
|
||||
@@ -29,12 +29,12 @@
|
||||
<input
|
||||
id="id_recipient"
|
||||
name="recipient"
|
||||
class="form-control form-control-lg{% if form.errors %} is-invalid{% endif %}"
|
||||
class="form-control form-control-lg{% if form.errors.recipient %} is-invalid{% endif %}"
|
||||
placeholder="friend@example.com"
|
||||
aria-describedby="id_recipient_feedback"
|
||||
required
|
||||
/>
|
||||
{% if form.errors %}
|
||||
{% if form.errors.recipient %}
|
||||
<div id="id_recipient_feedback" class="invalid-feedback">
|
||||
{{ form.errors.recipient.0 }}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user