accrete 0.0.143__py3-none-any.whl → 0.0.144__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- accrete/contrib/log/admin.py +1 -1
- accrete/contrib/system_mail/tasks.py +4 -5
- accrete/contrib/ui/__init__.py +15 -14
- accrete/contrib/ui/filter.py +22 -13
- accrete/contrib/ui/response.py +540 -0
- accrete/contrib/ui/static/css/accrete.css +69 -12
- accrete/contrib/ui/static/css/accrete.css.map +1 -1
- accrete/contrib/ui/static/css/accrete.scss +370 -300
- accrete/contrib/ui/templates/ui/content.html +0 -0
- accrete/contrib/ui/templates/ui/content_right.html +2 -2
- accrete/contrib/ui/templates/ui/detail.html +11 -0
- accrete/contrib/ui/templates/ui/filter/filter.html +5 -5
- accrete/contrib/ui/templates/ui/filter/query_tags.html +1 -1
- accrete/contrib/ui/templates/ui/layout.html +69 -64
- accrete/contrib/ui/templates/ui/list.html +21 -19
- accrete/contrib/ui/templates/ui/list_update.html +9 -3
- accrete/contrib/ui/templates/ui/message.html +1 -1
- accrete/contrib/ui/templates/ui/modal.html +41 -32
- accrete/contrib/ui/templates/ui/table_row_update.html +2 -2
- accrete/contrib/ui/templates/ui/templatetags/field.html +19 -6
- accrete/contrib/ui/templates/ui/widgets/model_search_select.html +7 -7
- accrete/contrib/ui/templates/ui/widgets/model_search_select_multi.html +3 -3
- accrete/contrib/ui/templatetags/ui.py +24 -2
- accrete/contrib/user/templates/user/password_forgotten.html +1 -0
- accrete/contrib/user/templates/user/user_preferences.html +43 -0
- accrete/contrib/user/views.py +36 -37
- accrete/migrations/0008_alter_member_access_groups_and_more.py +23 -0
- accrete/utils/__init__.py +1 -0
- accrete/utils/forms.py +11 -3
- accrete/utils/views.py +1 -2
- accrete/views.py +2 -3
- {accrete-0.0.143.dist-info → accrete-0.0.144.dist-info}/METADATA +2 -2
- {accrete-0.0.143.dist-info → accrete-0.0.144.dist-info}/RECORD +35 -33
- accrete/contrib/ui/context.py +0 -123
- accrete/contrib/ui/static/css/.sass-cache/15adf1eed05371361b08787c918a7f18fc15be79/accrete.scssc +0 -0
- accrete/contrib/ui/utils.py +0 -88
- accrete/contrib/user/templates/user/user_form.html +0 -58
- {accrete-0.0.143.dist-info → accrete-0.0.144.dist-info}/WHEEL +0 -0
- {accrete-0.0.143.dist-info → accrete-0.0.144.dist-info}/licenses/LICENSE +0 -0
@@ -1,58 +0,0 @@
|
|
1
|
-
{% extends 'ui/layout.html' %}
|
2
|
-
{% load i18n %}
|
3
|
-
|
4
|
-
{% block header_left_buttons %}
|
5
|
-
<button class="button is-light" hx-get="{% url 'user:change_password' %}" hx-target="body" hx-swap="beforeend">
|
6
|
-
<span>{% translate 'Change Password' %}</span>
|
7
|
-
</button>
|
8
|
-
<button class="button is-light" hx-get="{% url 'user:change_email' %}" hx-target="body" hx-swap="beforeend">
|
9
|
-
<span>{% translate 'Change E-Mail' %}</span>
|
10
|
-
</button>
|
11
|
-
{% endblock %}
|
12
|
-
|
13
|
-
{% block content_left %}
|
14
|
-
<form id="user-form" hx-post="{% url 'user:detail' %}" hx-trigger="change changed" hx-select="#user-form" hx-swap="outerHTML" hx-select-oob="#navbar-user-name">
|
15
|
-
{% csrf_token %}
|
16
|
-
<div class="columns m-0">
|
17
|
-
<div class="column is-6">
|
18
|
-
{% if form.save_error or form.non_field_errors %}
|
19
|
-
<div class="notification is-danger is-light">
|
20
|
-
{{ form.save_error|default_if_none:'' }}
|
21
|
-
{{ form.non_field_errors|default_if_none:'' }}
|
22
|
-
</div>
|
23
|
-
{% endif %}
|
24
|
-
<label class="label">
|
25
|
-
{{ form.username.label }}
|
26
|
-
{{ form.username }}
|
27
|
-
<span class="has-text-danger is-size-7">{{ form.username.errors }}</span>
|
28
|
-
</label>
|
29
|
-
<label class="label">
|
30
|
-
{{ form.first_name.label }}
|
31
|
-
{{ form.first_name }}
|
32
|
-
<span class="has-text-danger is-size-7">{{ form.first_name.errors }}</span>
|
33
|
-
</label>
|
34
|
-
<label class="label">
|
35
|
-
{{ form.last_name.label }}
|
36
|
-
{{ form.last_name }}
|
37
|
-
<span class="has-text-danger is-size-7">{{ form.last_name.errors }}</span>
|
38
|
-
</label>
|
39
|
-
<label class="label">
|
40
|
-
{% translate 'E-Mail' %}
|
41
|
-
<div class="field has-addons">
|
42
|
-
<p class="control input has-text-weight-normal">{{ user.email }}</p>
|
43
|
-
</div>
|
44
|
-
</label>
|
45
|
-
<label class="label">
|
46
|
-
{{ form.language_code.label }}
|
47
|
-
{{ form.language_code }}
|
48
|
-
<span class="has-text-danger is-size-7">{{ form.language_code.errors }}</span>
|
49
|
-
</label>
|
50
|
-
<label class="label">
|
51
|
-
{{ form.theme.label }}
|
52
|
-
{{ form.theme }}
|
53
|
-
<span class="has-text-danger is-size-7">{{ form.theme.errors }}</span>
|
54
|
-
</label>
|
55
|
-
</div>
|
56
|
-
</div>
|
57
|
-
</form>
|
58
|
-
{% endblock %}
|
File without changes
|
File without changes
|