django-unfold 0.40.0__py3-none-any.whl → 0.41.0__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. {django_unfold-0.40.0.dist-info → django_unfold-0.41.0.dist-info}/METADATA +6 -1
  2. {django_unfold-0.40.0.dist-info → django_unfold-0.41.0.dist-info}/RECORD +41 -38
  3. {django_unfold-0.40.0.dist-info → django_unfold-0.41.0.dist-info}/WHEEL +1 -1
  4. unfold/admin.py +5 -0
  5. unfold/contrib/filters/forms.py +2 -2
  6. unfold/contrib/forms/templates/unfold/forms/array.html +2 -2
  7. unfold/contrib/guardian/templates/admin/guardian/model/obj_perms_manage.html +1 -1
  8. unfold/contrib/guardian/templates/admin/guardian/model/obj_perms_manage_group.html +1 -1
  9. unfold/contrib/guardian/templates/admin/guardian/model/obj_perms_manage_user.html +1 -1
  10. unfold/contrib/import_export/templates/admin/import_export/export.html +1 -1
  11. unfold/contrib/import_export/templates/admin/import_export/import.html +1 -1
  12. unfold/contrib/simple_history/templates/simple_history/object_history_form.html +1 -1
  13. unfold/static/admin/js/inlines.js +439 -0
  14. unfold/static/unfold/css/styles.css +1 -1
  15. unfold/static/unfold/fonts/material-symbols/Material-Symbols-Outlined.woff2 +0 -0
  16. unfold/static/unfold/fonts/material-symbols/styles.css +1 -2
  17. unfold/static/unfold/js/alpine.sort.js +1 -0
  18. unfold/static/unfold/js/app.js +36 -10
  19. unfold/static/unfold/js/select2.init.js +1 -1
  20. unfold/styles.css +5 -1
  21. unfold/templates/admin/app_index.html +1 -1
  22. unfold/templates/admin/auth/user/change_password.html +1 -1
  23. unfold/templates/admin/base.html +1 -1
  24. unfold/templates/admin/change_form.html +1 -1
  25. unfold/templates/admin/change_list.html +46 -44
  26. unfold/templates/admin/delete_confirmation.html +4 -9
  27. unfold/templates/admin/delete_selected_confirmation.html +4 -8
  28. unfold/templates/admin/edit_inline/stacked.html +15 -6
  29. unfold/templates/admin/edit_inline/tabular.html +36 -19
  30. unfold/templates/admin/object_history.html +1 -1
  31. unfold/templates/admin/submit_line.html +8 -8
  32. unfold/templates/registration/password_change_done.html +1 -1
  33. unfold/templates/registration/password_change_form.html +1 -1
  34. unfold/templates/unfold/change_list_filter.html +7 -9
  35. unfold/templates/unfold/helpers/delete_submit_line.html +11 -0
  36. unfold/templates/unfold/helpers/display_header.html +8 -3
  37. unfold/templates/unfold/helpers/field_readonly_value.html +1 -1
  38. unfold/templates/unfold/helpers/fieldset_row.html +2 -0
  39. unfold/templates/unfold/layouts/skeleton.html +1 -0
  40. unfold/templates/unfold/widgets/url.html +7 -5
  41. {django_unfold-0.40.0.dist-info → django_unfold-0.41.0.dist-info}/LICENSE.md +0 -0
@@ -33,6 +33,7 @@
33
33
 
34
34
  <script src="{% static 'unfold/js/alpine.anchor.js' %}" defer></script>
35
35
  <script src="{% static 'unfold/js/alpine.persist.js' %}" defer></script>
36
+ <script src="{% static 'unfold/js/alpine.sort.js' %}" defer></script>
36
37
  <script src="{% static 'unfold/js/alpine.js' %}" defer></script>
37
38
  <script src="{% static 'unfold/js/htmx.js' %}"></script>
38
39
  <script src="{% static 'unfold/js/chart.js' %}"></script>
@@ -1,7 +1,9 @@
1
- <div class="flex flex-row gap-2 items-center">
2
- {% include "django/forms/widgets/input.html" %}
1
+ <div class="flex flex-col gap-2">
2
+ {% include "django/forms/widgets/input.html" %}
3
3
 
4
- {% if url_valid %}
5
- {{ current_label }} <a href="{{ widget.href }}" class="text-primary-600 dark:text-primary-500">{{ widget.value }}</a>
6
- {% endif %}
4
+ {% if url_valid %}
5
+ <p class="text-xs">
6
+ {{ current_label }} <a href="{{ widget.href }}" class="text-primary-600 dark:text-primary-500">{{ widget.value }}</a>
7
+ </p>
8
+ {% endif %}
7
9
  </div>