django-unfold 0.43.0__tar.gz → 0.45.0__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {django_unfold-0.43.0 → django_unfold-0.45.0}/PKG-INFO +5 -3
- {django_unfold-0.43.0 → django_unfold-0.45.0}/README.md +4 -2
- {django_unfold-0.43.0 → django_unfold-0.45.0}/pyproject.toml +1 -1
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/filters/admin.py +5 -5
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/filters/templates/unfold/filters/filters_date_range.html +1 -1
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/filters/templates/unfold/filters/filters_datetime_range.html +1 -1
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/filters/templates/unfold/filters/filters_numeric_range.html +1 -1
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/filters/templates/unfold/filters/filters_numeric_single.html +1 -1
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/filters/templates/unfold/filters/filters_numeric_slider.html +3 -3
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/forms/templates/unfold/forms/array.html +3 -3
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/forms/templates/unfold/forms/helpers/toolbar.html +25 -25
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/forms/widgets.py +5 -5
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/guardian/templates/admin/guardian/model/obj_perms_manage.html +1 -1
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/guardian/templates/admin/guardian/model/obj_perms_manage_group.html +2 -2
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/guardian/templates/admin/guardian/model/obj_perms_manage_user.html +2 -2
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/guardian/templates/unfold/guardian/group_form.html +8 -8
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/guardian/templates/unfold/guardian/user_form.html +8 -8
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/import_export/templates/admin/import_export/change_form.html +1 -1
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/import_export/templates/admin/import_export/export.html +4 -4
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/import_export/templates/admin/import_export/import_confirm.html +4 -4
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/import_export/templates/admin/import_export/import_errors.html +2 -2
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/import_export/templates/admin/import_export/import_form.html +2 -2
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/import_export/templates/admin/import_export/import_preview.html +5 -5
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/import_export/templates/admin/import_export/import_validation.html +8 -8
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/simple_history/templates/simple_history/object_history.html +2 -2
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/simple_history/templates/simple_history/object_history_form.html +1 -1
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/simple_history/templates/simple_history/object_history_list.html +9 -9
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/simple_history/templates/simple_history/submit_line.html +4 -4
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/forms.py +15 -2
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/settings.py +20 -7
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/sites.py +23 -8
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/static/admin/js/inlines.js +5 -3
- django_unfold-0.45.0/src/unfold/static/unfold/css/styles.css +1 -0
- django_unfold-0.45.0/src/unfold/static/unfold/js/alpine.resize.js +1 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/static/unfold/js/app.js +51 -70
- django_unfold-0.45.0/src/unfold/static/unfold/js/htmx.js +1 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/styles.css +75 -71
- django_unfold-0.45.0/src/unfold/templates/admin/actions.html +60 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/admin/app_list.html +3 -3
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/admin/auth/user/add_form.html +1 -1
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/admin/auth/user/change_password.html +2 -2
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/admin/base.html +1 -1
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/admin/change_list.html +24 -30
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/admin/change_list_results.html +40 -6
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/admin/date_hierarchy.html +1 -1
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/admin/delete_confirmation.html +7 -7
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/admin/delete_selected_confirmation.html +7 -7
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/admin/edit_inline/stacked.html +4 -4
- django_unfold-0.45.0/src/unfold/templates/admin/edit_inline/tabular.html +41 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/admin/filter.html +7 -7
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/admin/includes/fieldset.html +2 -2
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/admin/includes/object_delete_summary.html +1 -1
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/admin/login.html +15 -13
- django_unfold-0.45.0/src/unfold/templates/admin/nav_sidebar.html +7 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/admin/object_history.html +7 -7
- django_unfold-0.45.0/src/unfold/templates/admin/pagination.html +45 -0
- django_unfold-0.45.0/src/unfold/templates/admin/search_form.html +19 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/admin/submit_line.html +11 -11
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/auth/widgets/read_only_password_hash.html +1 -1
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/registration/logged_out.html +3 -3
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/registration/password_change_done.html +1 -1
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/registration/password_change_form.html +1 -1
- django_unfold-0.45.0/src/unfold/templates/unfold/components/button.html +4 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/components/card.html +4 -4
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/components/chart/cohort.html +1 -1
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/components/navigation.html +2 -2
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/components/separator.html +1 -1
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/components/table.html +6 -6
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/components/tracker.html +1 -1
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/helpers/account_links.html +6 -6
- django_unfold-0.45.0/src/unfold/templates/unfold/helpers/actions_row.html +23 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/helpers/add_link.html +1 -1
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/helpers/app_list.html +10 -10
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/helpers/app_list_default.html +10 -10
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/helpers/boolean.html +1 -1
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/helpers/breadcrumb_item.html +1 -1
- django_unfold-0.45.0/src/unfold/templates/unfold/helpers/change_list_actions.html +13 -0
- django_unfold-0.45.0/src/unfold/templates/unfold/helpers/change_list_filter.html +31 -0
- django_unfold-0.45.0/src/unfold/templates/unfold/helpers/change_list_filter_actions.html +23 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/helpers/delete_submit_line.html +2 -2
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/helpers/display_header.html +3 -3
- django_unfold-0.45.0/src/unfold/templates/unfold/helpers/edit_inline/tabular_delete.html +13 -0
- django_unfold-0.45.0/src/unfold/templates/unfold/helpers/edit_inline/tabular_error.html +8 -0
- django_unfold-0.45.0/src/unfold/templates/unfold/helpers/edit_inline/tabular_field.html +25 -0
- django_unfold-0.45.0/src/unfold/templates/unfold/helpers/edit_inline/tabular_heading.html +25 -0
- django_unfold-0.45.0/src/unfold/templates/unfold/helpers/edit_inline/tabular_row.html +27 -0
- django_unfold-0.45.0/src/unfold/templates/unfold/helpers/edit_inline/tabular_title.html +49 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/helpers/field_readonly.html +1 -1
- django_unfold-0.45.0/src/unfold/templates/unfold/helpers/field_readonly_value.html +1 -0
- django_unfold-0.45.0/src/unfold/templates/unfold/helpers/fieldset_row.html +13 -0
- django_unfold-0.45.0/src/unfold/templates/unfold/helpers/fieldset_row_checkbox.html +45 -0
- django_unfold-0.45.0/src/unfold/templates/unfold/helpers/fieldset_row_field.html +21 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/helpers/fieldsets_tabs.html +2 -2
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/helpers/header.html +1 -1
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/helpers/history.html +4 -4
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/helpers/label.html +1 -1
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/helpers/language_switch.html +3 -3
- django_unfold-0.45.0/src/unfold/templates/unfold/helpers/messages/debug.html +3 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/helpers/messages/error.html +1 -1
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/helpers/messages/errornote.html +1 -1
- django_unfold-0.45.0/src/unfold/templates/unfold/helpers/messages/info.html +3 -0
- django_unfold-0.45.0/src/unfold/templates/unfold/helpers/messages/success.html +3 -0
- django_unfold-0.45.0/src/unfold/templates/unfold/helpers/messages/warning.html +3 -0
- django_unfold-0.45.0/src/unfold/templates/unfold/helpers/navigation.html +17 -0
- django_unfold-0.45.0/src/unfold/templates/unfold/helpers/navigation_header.html +13 -0
- django_unfold-0.45.0/src/unfold/templates/unfold/helpers/pagination_ellipsis.html +3 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/helpers/search.html +5 -5
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/helpers/search_results.html +2 -2
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/helpers/site_icon.html +7 -5
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/helpers/site_logo.html +1 -1
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/helpers/submit.html +1 -1
- django_unfold-0.45.0/src/unfold/templates/unfold/helpers/tab_action.html +5 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/helpers/tab_list.html +9 -9
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/helpers/theme_switch.html +5 -5
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/helpers/userlinks.html +4 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/helpers/welcomemsg.html +7 -3
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/layouts/base_simple.html +2 -2
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/layouts/skeleton.html +11 -5
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/widgets/clearable_file_input.html +6 -6
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/widgets/clearable_file_input_small.html +7 -7
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/widgets/foreign_key_raw_id.html +1 -1
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/widgets/radio.html +1 -1
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/widgets/range.html +1 -1
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/widgets/related_widget_wrapper.html +4 -4
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/widgets/textarea_expandable.html +1 -1
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templatetags/unfold.py +104 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templatetags/unfold_list.py +9 -4
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/widgets.py +31 -28
- django_unfold-0.43.0/src/unfold/static/unfold/css/styles.css +0 -1
- django_unfold-0.43.0/src/unfold/static/unfold/js/htmx.js +0 -1
- django_unfold-0.43.0/src/unfold/templates/admin/actions.html +0 -58
- django_unfold-0.43.0/src/unfold/templates/admin/edit_inline/tabular.html +0 -184
- django_unfold-0.43.0/src/unfold/templates/admin/nav_sidebar.html +0 -14
- django_unfold-0.43.0/src/unfold/templates/admin/pagination.html +0 -39
- django_unfold-0.43.0/src/unfold/templates/admin/search_form.html +0 -17
- django_unfold-0.43.0/src/unfold/templates/unfold/change_list_filter.html +0 -57
- django_unfold-0.43.0/src/unfold/templates/unfold/components/button.html +0 -4
- django_unfold-0.43.0/src/unfold/templates/unfold/helpers/actions_row.html +0 -23
- django_unfold-0.43.0/src/unfold/templates/unfold/helpers/field_readonly_value.html +0 -1
- django_unfold-0.43.0/src/unfold/templates/unfold/helpers/fieldset_row.html +0 -81
- django_unfold-0.43.0/src/unfold/templates/unfold/helpers/messages/debug.html +0 -3
- django_unfold-0.43.0/src/unfold/templates/unfold/helpers/messages/info.html +0 -3
- django_unfold-0.43.0/src/unfold/templates/unfold/helpers/messages/success.html +0 -3
- django_unfold-0.43.0/src/unfold/templates/unfold/helpers/messages/warning.html +0 -3
- django_unfold-0.43.0/src/unfold/templates/unfold/helpers/navigation.html +0 -25
- django_unfold-0.43.0/src/unfold/templates/unfold/helpers/pagination_ellipsis.html +0 -3
- django_unfold-0.43.0/src/unfold/templates/unfold/helpers/tab_action.html +0 -5
- {django_unfold-0.43.0 → django_unfold-0.45.0}/LICENSE.md +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/__init__.py +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/admin.py +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/apps.py +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/checks.py +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/components.py +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/__init__.py +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/filters/__init__.py +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/filters/apps.py +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/filters/forms.py +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/filters/static/unfold/filters/css/nouislider.min.css +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/filters/static/unfold/filters/js/DateTimeShortcuts.js +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/filters/static/unfold/filters/js/admin-numeric-filter.js +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/filters/static/unfold/filters/js/nouislider.min.js +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/filters/static/unfold/filters/js/wNumb.min.js +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/filters/templates/unfold/filters/filters_field.html +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/forms/__init__.py +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/forms/apps.py +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/forms/static/unfold/forms/css/trix.css +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/forms/static/unfold/forms/js/trix.config.js +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/forms/static/unfold/forms/js/trix.js +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/forms/templates/unfold/forms/wysiwyg.html +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/guardian/__init__.py +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/guardian/apps.py +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/guardian/templates/admin/guardian/model/change_form.html +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/guardian/templates/admin/guardian/model/field.html +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/import_export/__init__.py +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/import_export/apps.py +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/import_export/forms.py +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/import_export/templates/admin/import_export/base.html +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/import_export/templates/admin/import_export/change_list_export.html +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/import_export/templates/admin/import_export/change_list_export_item.html +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/import_export/templates/admin/import_export/change_list_import_export.html +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/import_export/templates/admin/import_export/change_list_import_item.html +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/import_export/templates/admin/import_export/import.html +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/import_export/templates/admin/import_export/resource_fields_list.html +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/inlines/__init__.py +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/inlines/admin.py +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/inlines/apps.py +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/inlines/checks.py +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/inlines/forms.py +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/simple_history/__init__.py +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/contrib/simple_history/apps.py +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/dataclasses.py +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/decorators.py +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/exceptions.py +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/fields.py +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/static/admin/js/admin/RelatedObjectLookups.js +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/static/unfold/css/simplebar.css +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/static/unfold/fonts/inter/Inter-Bold.woff2 +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/static/unfold/fonts/inter/Inter-Medium.woff2 +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/static/unfold/fonts/inter/Inter-Regular.woff2 +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/static/unfold/fonts/inter/Inter-SemiBold.woff2 +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/static/unfold/fonts/inter/styles.css +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/static/unfold/fonts/material-symbols/Material-Symbols-Outlined.woff2 +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/static/unfold/fonts/material-symbols/styles.css +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/static/unfold/js/alpine.anchor.js +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/static/unfold/js/alpine.js +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/static/unfold/js/alpine.persist.js +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/static/unfold/js/alpine.sort.js +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/static/unfold/js/chart.js +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/static/unfold/js/select2.init.js +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/static/unfold/js/simplebar.js +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/admin/app_index.html +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/admin/base_site.html +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/admin/change_form.html +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/admin/change_form_object_tools.html +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/admin/change_list_object_tools.html +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/admin/index.html +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/components/chart/bar.html +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/components/chart/line.html +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/components/container.html +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/components/flex.html +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/components/icon.html +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/components/progress.html +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/components/text.html +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/components/title.html +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/helpers/attrs.html +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/helpers/display_label.html +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/helpers/field.html +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/helpers/form_errors.html +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/helpers/form_label.html +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/helpers/help_text.html +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/helpers/messages.html +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/helpers/pagination_current_item.html +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/layouts/base.html +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/templatetags/preserve_changelist_filters.html +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/widgets/date.html +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/widgets/radio_option.html +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/widgets/split_datetime.html +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/widgets/split_datetime_vertical.html +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/widgets/split_money.html +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/widgets/textarea.html +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/widgets/time.html +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templates/unfold/widgets/url.html +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/templatetags/__init__.py +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/typing.py +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/utils.py +0 -0
- {django_unfold-0.43.0 → django_unfold-0.45.0}/src/unfold/views.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: django-unfold
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.45.0
|
4
4
|
Summary: Modern Django admin theme for seamless interface development
|
5
5
|
Home-page: https://unfoldadmin.com
|
6
6
|
License: MIT
|
@@ -23,7 +23,7 @@ Requires-Dist: django (>=3.2)
|
|
23
23
|
Project-URL: Repository, https://github.com/unfoldadmin/django-unfold
|
24
24
|
Description-Content-Type: text/markdown
|
25
25
|
|
26
|
-

|
27
27
|
|
28
28
|
## Unfold Django Admin Theme
|
29
29
|
|
@@ -64,8 +64,10 @@ Have you decided to start using Unfold but don’t have time to make the switch
|
|
64
64
|
- **Environment label**: Distinguishes between environments by displaying a label.
|
65
65
|
- **Nonrelated inlines**: Displays nonrelated models as inlines in the change form.
|
66
66
|
- **Favicons**: Built-in support for configuring various site favicons.
|
67
|
-
- **
|
67
|
+
- **Themes:** Allows customization of color scheme, background color, border radius, and more.
|
68
|
+
- **Font colors:** Adjusts font colors for better readability.
|
68
69
|
- **Changeform modes:** Displays fields in compressed mode in the change form.
|
70
|
+
- **Language switcher:** Change language directly from the admin area.
|
69
71
|
- **Parallel admin**: Supports [running the default admin](https://unfoldadmin.com/blog/migrating-django-admin-unfold/?utm_medium=github&utm_source=unfold) alongside Unfold.
|
70
72
|
- **Third party packages:** Default support for multiple popular applications.
|
71
73
|
- **Configuration:** Most basic options can be changed in `settings.py`.
|
@@ -1,4 +1,4 @@
|
|
1
|
-

|
2
2
|
|
3
3
|
## Unfold Django Admin Theme
|
4
4
|
|
@@ -39,8 +39,10 @@ Have you decided to start using Unfold but don’t have time to make the switch
|
|
39
39
|
- **Environment label**: Distinguishes between environments by displaying a label.
|
40
40
|
- **Nonrelated inlines**: Displays nonrelated models as inlines in the change form.
|
41
41
|
- **Favicons**: Built-in support for configuring various site favicons.
|
42
|
-
- **
|
42
|
+
- **Themes:** Allows customization of color scheme, background color, border radius, and more.
|
43
|
+
- **Font colors:** Adjusts font colors for better readability.
|
43
44
|
- **Changeform modes:** Displays fields in compressed mode in the change form.
|
45
|
+
- **Language switcher:** Change language directly from the admin area.
|
44
46
|
- **Parallel admin**: Supports [running the default admin](https://unfoldadmin.com/blog/migrating-django-admin-unfold/?utm_medium=github&utm_source=unfold) alongside Unfold.
|
45
47
|
- **Third party packages:** Default support for multiple popular applications.
|
46
48
|
- **Configuration:** Most basic options can be changed in `settings.py`.
|
@@ -80,7 +80,7 @@ class TextFilter(admin.SimpleListFilter):
|
|
80
80
|
{
|
81
81
|
"form": self.form_class(
|
82
82
|
name=self.parameter_name,
|
83
|
-
label=_("By {
|
83
|
+
label=_("By %(filter_title)s") % {"filter_title": self.title},
|
84
84
|
data={self.parameter_name: self.value()},
|
85
85
|
),
|
86
86
|
},
|
@@ -103,7 +103,7 @@ class FieldTextFilter(ValueMixin, admin.FieldListFilter):
|
|
103
103
|
return (
|
104
104
|
{
|
105
105
|
"form": self.form_class(
|
106
|
-
label=_("By {
|
106
|
+
label=_("By %(filter_title)s") % {"filter_title": self.title},
|
107
107
|
name=self.lookup_kwarg,
|
108
108
|
data={self.lookup_kwarg: self.value()},
|
109
109
|
),
|
@@ -120,7 +120,7 @@ class DropdownFilter(admin.SimpleListFilter):
|
|
120
120
|
return (
|
121
121
|
{
|
122
122
|
"form": self.form_class(
|
123
|
-
label=_("By {
|
123
|
+
label=_("By %(filter_title)s") % {"filter_title": self.title},
|
124
124
|
name=self.parameter_name,
|
125
125
|
choices=[self.all_option, *self.lookup_choices],
|
126
126
|
data={self.parameter_name: self.value()},
|
@@ -147,7 +147,7 @@ class ChoicesDropdownFilter(ValueMixin, DropdownMixin, admin.ChoicesFieldListFil
|
|
147
147
|
|
148
148
|
yield {
|
149
149
|
"form": self.form_class(
|
150
|
-
label=_("By {
|
150
|
+
label=_("By %(filter_title)s") % {"filter_title": self.title},
|
151
151
|
name=self.lookup_kwarg,
|
152
152
|
choices=choices,
|
153
153
|
data={self.lookup_kwarg: self.value()},
|
@@ -164,7 +164,7 @@ class RelatedDropdownFilter(ValueMixin, DropdownMixin, admin.RelatedFieldListFil
|
|
164
164
|
def choices(self, changelist: ChangeList):
|
165
165
|
yield {
|
166
166
|
"form": self.form_class(
|
167
|
-
label=_("By {
|
167
|
+
label=_("By %(filter_title)s") % {"filter_title": self.title},
|
168
168
|
name=self.lookup_kwarg,
|
169
169
|
choices=[self.all_option, *self.lookup_choices],
|
170
170
|
data={self.lookup_kwarg: self.value()},
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{% load i18n %}
|
2
2
|
|
3
3
|
{% with choices.0 as choice %}
|
4
|
-
<div class="flex flex-col
|
4
|
+
<div class="flex flex-col">
|
5
5
|
<h3 class="font-semibold mb-2 text-font-important-light dark:text-font-important-dark">{% blocktrans with filter_title=title %}By {{ filter_title }}{% endblocktrans %}</h3>
|
6
6
|
|
7
7
|
<div class="flex flex-col space-y-4">
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{% load i18n %}
|
2
2
|
|
3
3
|
{% with choices.0 as choice %}
|
4
|
-
<div class="flex flex-col
|
4
|
+
<div class="flex flex-col">
|
5
5
|
<h3 class="font-semibold mb-2 text-font-important-light dark:text-font-important-dark">{% blocktrans with filter_title=title %}By {{ filter_title }}{% endblocktrans %}</h3>
|
6
6
|
|
7
7
|
<div class="flex flex-col space-y-4">
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{% load i18n %}
|
2
2
|
|
3
3
|
{% with choices.0 as choice %}
|
4
|
-
<div class="flex flex-col
|
4
|
+
<div class="flex flex-col">
|
5
5
|
<h3 class="font-semibold mb-2 text-font-important-light dark:text-font-important-dark">{% blocktrans with filter_title=title %}By {{ filter_title }}{% endblocktrans %}</h3>
|
6
6
|
|
7
7
|
<div class="flex flex-row gap-4">
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{% load i18n %}
|
2
2
|
|
3
3
|
{% with choices.0 as choice %}
|
4
|
-
<div class="flex flex-col
|
4
|
+
<div class="flex flex-col">
|
5
5
|
<h3 class="font-semibold mb-2 text-font-important-light dark:text-font-important-dark">{% blocktrans with filter_title=title %}By {{ filter_title }}{% endblocktrans %}</h3>
|
6
6
|
|
7
7
|
{% for field in choice.form %}
|
@@ -2,18 +2,18 @@
|
|
2
2
|
{% load l10n %}
|
3
3
|
|
4
4
|
{% with choices.0 as choice %}
|
5
|
-
<div class="admin-numeric-filter-wrapper
|
5
|
+
<div class="admin-numeric-filter-wrapper">
|
6
6
|
<h3 class="font-semibold mb-2 text-font-important-light dark:text-font-important-dark">
|
7
7
|
{% blocktrans with filter_title=title %}By {{ filter_title }}{% endblocktrans %}
|
8
8
|
</h3>
|
9
9
|
|
10
10
|
{% if choice.min is not None and choice.max is not None and choice.step %}
|
11
11
|
<div class="admin-numeric-filter-slider-tooltips">
|
12
|
-
<span class="admin-numeric-filter-slider-tooltip-from border cursor-not-allowed flex flex-grow flex-row items-center mr-auto rounded
|
12
|
+
<span class="admin-numeric-filter-slider-tooltip-from border cursor-not-allowed flex flex-grow flex-row items-center mr-auto rounded shadow-sm px-3 py-2 w-full dark:bg-base-900 dark:border-base-700 dark:text-font-default-dark">
|
13
13
|
{{ choice.value_from }}
|
14
14
|
</span>
|
15
15
|
|
16
|
-
<span class="admin-numeric-filter-slider-tooltip-to border cursor-not-allowed flex flex-grow flex-row items-center rounded
|
16
|
+
<span class="admin-numeric-filter-slider-tooltip-to border cursor-not-allowed flex flex-grow flex-row items-center rounded shadow-sm px-3 py-2 w-full dark:bg-base-900 dark:border-base-700 dark:text-font-default-dark">
|
17
17
|
{{ choice.value_to }}
|
18
18
|
</span>
|
19
19
|
</div>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
{% include widget.template_name %}
|
8
8
|
{% endwith %}
|
9
9
|
|
10
|
-
<a x-on:click="$el.parentElement.remove()" class="bg-white border cursor-pointer flex items-center h-9.5 justify-center ml-2 rounded shadow-sm shrink-0 text-red-600 text-sm w-9.5 dark:bg-
|
10
|
+
<a x-on:click="$el.parentElement.remove()" class="bg-white border border-base-200 cursor-pointer flex items-center h-9.5 justify-center ml-2 rounded shadow-sm shrink-0 text-red-600 text-sm w-9.5 dark:bg-base-900 dark:border-base-700 dark:text-red-500">
|
11
11
|
<span class="material-symbols-outlined text-sm">delete</span>
|
12
12
|
</a>
|
13
13
|
</div>
|
@@ -19,14 +19,14 @@
|
|
19
19
|
{% include template.template_name %}
|
20
20
|
{% endwith %}
|
21
21
|
|
22
|
-
<a x-on:click="items.splice(index, 1)" class="bg-white border cursor-pointer flex items-center h-9.5 justify-center ml-2 rounded shadow-sm shrink-0 text-red-600 text-sm w-9.5 dark:bg-
|
22
|
+
<a x-on:click="items.splice(index, 1)" class="bg-white border border-base-200 cursor-pointer flex items-center h-9.5 justify-center ml-2 rounded shadow-sm shrink-0 text-red-600 text-sm w-9.5 dark:bg-base-900 dark:border-base-700 dark:text-red-500">
|
23
23
|
<span class="material-symbols-outlined text-sm">delete</span>
|
24
24
|
</a>
|
25
25
|
</div>
|
26
26
|
</template>
|
27
27
|
|
28
28
|
<div class="flex flex-row">
|
29
|
-
<div x-on:click="items.push({ key: new Date().getTime()})" class="bg-primary-600 border border-transparent cursor-pointer font-medium inline-block px-3 py-2 rounded
|
29
|
+
<div x-on:click="items.push({ key: new Date().getTime()})" class="bg-primary-600 border border-transparent cursor-pointer font-medium inline-block px-3 py-2 rounded text-center text-sm text-white w-full lg:w-auto">
|
30
30
|
{% trans "Add new item" %}
|
31
31
|
</div>
|
32
32
|
</div>
|
@@ -1,26 +1,26 @@
|
|
1
1
|
{% load i18n %}
|
2
2
|
|
3
3
|
<template id="trix-toolbar">
|
4
|
-
<div class="bg-
|
5
|
-
<div data-trix-button-group="text-tools" class="bg-white border border-md flex flex-row rounded
|
4
|
+
<div class="bg-base-50 flex flex-row flex-wrap border group-[.errors]:border-t-red-600 gap-4 group-[.errors]:border-x-red-600 px-3 py-2 relative rounded rounded-b-none shadow-sm w-full dark:bg-white/[.02] dark:border-base-700 dark:group-[.errors]:border-t-red-500 dark:group-[.errors]:border-x-red-500">
|
5
|
+
<div data-trix-button-group="text-tools" class="bg-white border border-md flex flex-row rounded shadow-sm shrink-0 dark:bg-base-900 dark:border-base-700 dark:text-font-default-dark">
|
6
6
|
{% spaceless %}
|
7
|
-
<button type="button" data-trix-attribute="p" data-trix-key="p" title="{% trans "Paragraph" %}" tabindex="-1" class="border-r cursor-pointer flex items-center h-8 justify-center transition-colors w-8 hover:text-primary-600 dark:border-
|
7
|
+
<button type="button" data-trix-attribute="p" data-trix-key="p" title="{% trans "Paragraph" %}" tabindex="-1" class="border-r cursor-pointer flex items-center h-8 justify-center transition-colors w-8 hover:text-primary-600 dark:border-base-700">
|
8
8
|
<span class="material-symbols-outlined">format_paragraph</span>
|
9
9
|
</button>
|
10
10
|
|
11
|
-
<button type="button" data-trix-attribute="underlined" data-trix-key="u" title="{% trans "Underlined" %}" tabindex="-1" class="border-r cursor-pointer flex items-center h-8 justify-center transition-colors w-8 hover:text-primary-600 dark:border-
|
11
|
+
<button type="button" data-trix-attribute="underlined" data-trix-key="u" title="{% trans "Underlined" %}" tabindex="-1" class="border-r cursor-pointer flex items-center h-8 justify-center transition-colors w-8 hover:text-primary-600 dark:border-base-700">
|
12
12
|
<span class="material-symbols-outlined">format_underlined</span>
|
13
13
|
</button>
|
14
14
|
|
15
|
-
<button type="button" data-trix-attribute="bold" data-trix-key="b" title="{% trans "Bold" %}" tabindex="-1" class="border-r cursor-pointer flex items-center h-8 justify-center transition-colors w-8 hover:text-primary-600 dark:border-
|
15
|
+
<button type="button" data-trix-attribute="bold" data-trix-key="b" title="{% trans "Bold" %}" tabindex="-1" class="border-r cursor-pointer flex items-center h-8 justify-center transition-colors w-8 hover:text-primary-600 dark:border-base-700">
|
16
16
|
<span class="material-symbols-outlined">format_bold</span>
|
17
17
|
</button>
|
18
18
|
|
19
|
-
<button type="button" data-trix-attribute="italic" data-trix-key="i" title="{% trans "Italic" %}" tabindex="-1" class="border-r cursor-pointer flex items-center h-8 justify-center transition-colors w-8 hover:text-primary-600 dark:border-
|
19
|
+
<button type="button" data-trix-attribute="italic" data-trix-key="i" title="{% trans "Italic" %}" tabindex="-1" class="border-r cursor-pointer flex items-center h-8 justify-center transition-colors w-8 hover:text-primary-600 dark:border-base-700">
|
20
20
|
<span class="material-symbols-outlined">format_italic</span>
|
21
21
|
</button>
|
22
22
|
|
23
|
-
<button type="button" data-trix-attribute="strike" title="{% trans "Strike" %}" tabindex="-1" class="border-r cursor-pointer flex items-center h-8 justify-center transition-colors w-8 hover:text-primary-600 dark:border-
|
23
|
+
<button type="button" data-trix-attribute="strike" title="{% trans "Strike" %}" tabindex="-1" class="border-r cursor-pointer flex items-center h-8 justify-center transition-colors w-8 hover:text-primary-600 dark:border-base-700">
|
24
24
|
<span class="material-symbols-outlined">format_strikethrough</span>
|
25
25
|
</button>
|
26
26
|
|
@@ -30,45 +30,45 @@
|
|
30
30
|
{% endspaceless %}
|
31
31
|
</div>
|
32
32
|
|
33
|
-
<div data-trix-button-group="block-headings" class="bg-white border border-md flex flex-row rounded
|
33
|
+
<div data-trix-button-group="block-headings" class="bg-white border border-md flex flex-row rounded shadow-sm dark:bg-base-900 dark:border-base-700 dark:text-font-default-dark">
|
34
34
|
{% spaceless %}
|
35
|
-
<button type="button" data-trix-attribute="heading1" title="{% trans "Heading" %} 1" tabindex="-1" class="border-r cursor-pointer flex items-center h-8 justify-center transition-colors w-8 hover:text-primary-600 dark:border-
|
35
|
+
<button type="button" data-trix-attribute="heading1" title="{% trans "Heading" %} 1" tabindex="-1" class="border-r cursor-pointer flex items-center h-8 justify-center transition-colors w-8 hover:text-primary-600 dark:border-base-700">
|
36
36
|
<span class="material-symbols-outlined">format_h1</span>
|
37
37
|
</button>
|
38
38
|
|
39
|
-
<button type="button" data-trix-attribute="heading2" title="{% trans "Heading" %} 2" tabindex="-1" class="border-r cursor-pointer flex items-center h-8 justify-center transition-colors w-8 hover:text-primary-600 dark:border-
|
39
|
+
<button type="button" data-trix-attribute="heading2" title="{% trans "Heading" %} 2" tabindex="-1" class="border-r cursor-pointer flex items-center h-8 justify-center transition-colors w-8 hover:text-primary-600 dark:border-base-700">
|
40
40
|
<span class="material-symbols-outlined">format_h2</span>
|
41
41
|
</button>
|
42
42
|
|
43
|
-
<button type="button" data-trix-attribute="heading3" title="{% trans "Heading" %} 3" tabindex="-1" class="border-r cursor-pointer flex items-center h-8 justify-center transition-colors w-8 hover:text-primary-600 dark:border-
|
43
|
+
<button type="button" data-trix-attribute="heading3" title="{% trans "Heading" %} 3" tabindex="-1" class="border-r cursor-pointer flex items-center h-8 justify-center transition-colors w-8 hover:text-primary-600 dark:border-base-700">
|
44
44
|
<span class="material-symbols-outlined">format_h3</span>
|
45
45
|
</button>
|
46
46
|
|
47
|
-
<button type="button" data-trix-attribute="heading4" title="{% trans "Heading" %} 4" tabindex="-1" class="cursor-pointer flex items-center h-8 justify-center transition-colors w-8 hover:text-primary-600 dark:border-
|
47
|
+
<button type="button" data-trix-attribute="heading4" title="{% trans "Heading" %} 4" tabindex="-1" class="cursor-pointer flex items-center h-8 justify-center transition-colors w-8 hover:text-primary-600 dark:border-base-700">
|
48
48
|
<span class="material-symbols-outlined">format_h4</span>
|
49
49
|
</button>
|
50
50
|
{% endspaceless %}
|
51
51
|
</div>
|
52
52
|
|
53
|
-
<div data-trix-button-group="block-tools" class="bg-white border border-md flex flex-row rounded
|
53
|
+
<div data-trix-button-group="block-tools" class="bg-white border border-md flex flex-row rounded shadow-sm dark:bg-base-900 dark:border-base-700 dark:text-font-default-dark">
|
54
54
|
{% spaceless %}
|
55
|
-
<button type="button" data-trix-attribute="quote" title="{% trans "Quote" %}" tabindex="-1" class="border-r cursor-pointer flex items-center h-8 justify-center transition-colors w-8 hover:text-primary-600 dark:border-
|
55
|
+
<button type="button" data-trix-attribute="quote" title="{% trans "Quote" %}" tabindex="-1" class="border-r cursor-pointer flex items-center h-8 justify-center transition-colors w-8 hover:text-primary-600 dark:border-base-700">
|
56
56
|
<span class="material-symbols-outlined">format_quote</span>
|
57
57
|
</button>
|
58
58
|
|
59
|
-
<button type="button" data-trix-attribute="code" title="{% trans "Code" %}" tabindex="-1" class="border-r cursor-pointer flex items-center h-8 justify-center transition-colors w-8 hover:text-primary-600 dark:border-
|
59
|
+
<button type="button" data-trix-attribute="code" title="{% trans "Code" %}" tabindex="-1" class="border-r cursor-pointer flex items-center h-8 justify-center transition-colors w-8 hover:text-primary-600 dark:border-base-700">
|
60
60
|
<span class="material-symbols-outlined">code</span>
|
61
61
|
</button>
|
62
62
|
|
63
|
-
<button type="button" data-trix-attribute="bullet" title="{% trans "Unordered list" %}" tabindex="-1" class="border-r cursor-pointer flex items-center h-8 justify-center transition-colors w-8 hover:text-primary-600 dark:border-
|
63
|
+
<button type="button" data-trix-attribute="bullet" title="{% trans "Unordered list" %}" tabindex="-1" class="border-r cursor-pointer flex items-center h-8 justify-center transition-colors w-8 hover:text-primary-600 dark:border-base-700">
|
64
64
|
<span class="material-symbols-outlined">format_list_bulleted</span>
|
65
65
|
</button>
|
66
66
|
|
67
|
-
<button type="button" data-trix-attribute="number" title="{% trans "Ordered list" %}" tabindex="-1" class="border-r cursor-pointer flex items-center h-8 justify-center transition-colors w-8 hover:text-primary-600 dark:border-
|
67
|
+
<button type="button" data-trix-attribute="number" title="{% trans "Ordered list" %}" tabindex="-1" class="border-r cursor-pointer flex items-center h-8 justify-center transition-colors w-8 hover:text-primary-600 dark:border-base-700">
|
68
68
|
<span class="material-symbols-outlined">format_list_numbered</span>
|
69
69
|
</button>
|
70
70
|
|
71
|
-
<button type="button" data-trix-action="increaseNestingLevel" title="{% trans "Indent increase" %}" tabindex="-1" class="border-r cursor-pointer flex items-center h-8 justify-center transition-colors w-8 hover:text-primary-600 dark:border-
|
71
|
+
<button type="button" data-trix-action="increaseNestingLevel" title="{% trans "Indent increase" %}" tabindex="-1" class="border-r cursor-pointer flex items-center h-8 justify-center transition-colors w-8 hover:text-primary-600 dark:border-base-700">
|
72
72
|
<span class="material-symbols-outlined">format_indent_increase</span>
|
73
73
|
</button>
|
74
74
|
|
@@ -79,8 +79,8 @@
|
|
79
79
|
</div>
|
80
80
|
|
81
81
|
<div class="lg:ml-auto">
|
82
|
-
<div data-trix-button-group="history-tools" class="bg-white border border-md flex flex-row rounded
|
83
|
-
<button type="button" data-trix-action="undo" data-trix-key="z" title="{% trans "Undo" %}" tabindex="-1" class="border-r cursor-pointer flex items-center h-8 justify-center transition-colors w-8 hover:text-primary-600 dark:border-
|
82
|
+
<div data-trix-button-group="history-tools" class="bg-white border border-md flex flex-row rounded shadow-sm dark:bg-base-900 dark:border-base-700 dark:text-font-default-dark">
|
83
|
+
<button type="button" data-trix-action="undo" data-trix-key="z" title="{% trans "Undo" %}" tabindex="-1" class="border-r cursor-pointer flex items-center h-8 justify-center transition-colors w-8 hover:text-primary-600 dark:border-base-700">
|
84
84
|
<span class="material-symbols-outlined">undo</span>
|
85
85
|
</button>
|
86
86
|
|
@@ -90,16 +90,16 @@
|
|
90
90
|
</div>
|
91
91
|
|
92
92
|
<div data-trix-dialogs>
|
93
|
-
<div class="absolute bg-white border-b -bottom-px left-0 px-4 py-2 right-0 shadow-sm translate-y-full dark:bg-
|
93
|
+
<div class="absolute bg-white border-b -bottom-px left-0 px-4 py-2 right-0 shadow-sm translate-y-full dark:bg-base-900 dark:border-base-700" data-trix-dialog="href" data-trix-dialog-attribute="href">
|
94
94
|
<div class="flex flex-row">
|
95
|
-
<input type="url" name="href" class="border bg-white font-medium px-3 rounded
|
95
|
+
<input type="url" name="href" class="border bg-white font-medium px-3 rounded shadow-sm text-base-500 text-sm focus:ring focus:ring-primary-300 focus:border-primary-600 focus:outline-none group-[.errors]:border-red-600 group-[.errors]:focus:ring-red-200 dark:bg-base-900 dark:border-base-700 dark:text-font-default-dark dark:focus:ring-primary-600/30 dark:group-[.errors]:border-red-500 dark:group-[.errors]:focus:ring-red-600/40" placeholder="{% trans "Enter an URL" %}" required data-trix-input>
|
96
96
|
|
97
|
-
<div class="bg-white border border-md flex flex-row ml-4 rounded
|
98
|
-
<button type="button" data-trix-method="setAttribute" title="{% trans "Link" %}" class="border-r cursor-pointer flex items-center h-8 justify-center text-
|
97
|
+
<div class="bg-white border border-md flex flex-row ml-4 rounded shadow-sm dark:bg-base-900 dark:border-base-700 dark:text-font-default-dark">
|
98
|
+
<button type="button" data-trix-method="setAttribute" title="{% trans "Link" %}" class="border-r cursor-pointer flex items-center h-8 justify-center text-base-400 transition-colors w-8 hover:text-primary-600 dark:border-base-700">
|
99
99
|
<span class="material-symbols-outlined">link</span>
|
100
100
|
</button>
|
101
101
|
|
102
|
-
<button type="button" data-trix-method="removeAttribute" title="{% trans "Unlink" %}" class="cursor-pointer flex items-center h-8 justify-center text-
|
102
|
+
<button type="button" data-trix-method="removeAttribute" title="{% trans "Unlink" %}" class="cursor-pointer flex items-center h-8 justify-center text-base-400 transition-colors w-8 hover:text-primary-600 dark:border-base-700">
|
103
103
|
<span class="material-symbols-outlined">link_off</span>
|
104
104
|
</button>
|
105
105
|
</div>
|
@@ -14,18 +14,18 @@ from unfold.widgets import (
|
|
14
14
|
WYSIWYG_CLASSES = [
|
15
15
|
*PROSE_CLASSES,
|
16
16
|
"border",
|
17
|
-
"border-
|
17
|
+
"border-base-200",
|
18
18
|
"border-t-0",
|
19
19
|
"group-[.errors]:border-red-600",
|
20
20
|
"max-w-none",
|
21
21
|
"p-4",
|
22
|
-
"rounded-b
|
22
|
+
"rounded-b",
|
23
23
|
"rounded-t-none",
|
24
|
-
"text-
|
24
|
+
"text-base-500",
|
25
25
|
"w-full",
|
26
26
|
"focus:outline-none",
|
27
|
-
"dark:border-
|
28
|
-
"dark:text-
|
27
|
+
"dark:border-base-700",
|
28
|
+
"dark:text-base-300",
|
29
29
|
"dark:group-[.errors]:border-red-500",
|
30
30
|
]
|
31
31
|
|
@@ -32,7 +32,7 @@
|
|
32
32
|
{% endif %}{% endblock %}
|
33
33
|
|
34
34
|
{% block content %}
|
35
|
-
<div class="border border-
|
35
|
+
<div class="border border-base-200 overflow-hidden rounded p-3 shadow-sm dark:border-base-800">
|
36
36
|
<form method="post">
|
37
37
|
{% csrf_token %}
|
38
38
|
|
@@ -44,7 +44,7 @@
|
|
44
44
|
|
45
45
|
{% include "unfold/helpers/field.html" with field=form.permissions %}
|
46
46
|
|
47
|
-
<div class="bg-
|
47
|
+
<div class="bg-base-50 border-t flex flex-row -m-3 p-3 dark:bg-white/[.02] dark:border-base-800">
|
48
48
|
<div class="ml-auto">
|
49
49
|
{% trans "Save" as title %}
|
50
50
|
{% include "unfold/helpers/submit.html" with title=title %}
|
@@ -33,7 +33,7 @@
|
|
33
33
|
{% endif %}{% endblock %}
|
34
34
|
|
35
35
|
{% block content %}
|
36
|
-
<div class="border border-
|
36
|
+
<div class="border border-base-200 overflow-hidden rounded p-3 shadow-sm dark:border-base-800">
|
37
37
|
<form method="post">
|
38
38
|
{% csrf_token %}
|
39
39
|
|
@@ -45,7 +45,7 @@
|
|
45
45
|
|
46
46
|
{% include "unfold/helpers/field.html" with field=form.permissions %}
|
47
47
|
|
48
|
-
<div class="bg-
|
48
|
+
<div class="bg-base-50 border-t flex flex-row -m-3 p-3 dark:bg-white/[.02] dark:border-base-800">
|
49
49
|
<div class="ml-auto">
|
50
50
|
{% trans "Save" as title %}
|
51
51
|
{% include "unfold/helpers/submit.html" with title=title %}
|
@@ -8,7 +8,7 @@
|
|
8
8
|
</h2>
|
9
9
|
|
10
10
|
{% if groups_perms.items %}
|
11
|
-
<table id="group-permissions" class="border-
|
11
|
+
<table id="group-permissions" class="border-base-200 border-spacing-none border-separate mb-6 w-full lg:border lg:rounded lg:shadow-sm lg:dark:border-base-800">
|
12
12
|
<thead class="hidden lg:table-header-group text-font-important-light dark:text-font-important-dark">
|
13
13
|
<tr>
|
14
14
|
<th class="align-middle font-semibold px-3 py-2 text-left">
|
@@ -29,15 +29,15 @@
|
|
29
29
|
|
30
30
|
<tbody>
|
31
31
|
{% for group, group_perms in groups_perms.items %}
|
32
|
-
<tr class="block border mb-3 rounded
|
33
|
-
<th class="align-middle flex border-t border-
|
32
|
+
<tr class="block border mb-3 rounded shadow-sm lg:table-row lg:border-none lg:mb-0 lg:shadow-none dark:border-base-800">
|
33
|
+
<th class="align-middle flex border-t border-base-200 font-normal px-3 py-2 text-left before:flex before:capitalize before:content-[attr(data-label)] before:items-center before:mr-auto first:border-t-0 lg:before:hidden lg:first:border-t lg:py-3 lg:table-cell dark:border-base-800" data-label="{% trans "User" %}">
|
34
34
|
<span>
|
35
35
|
{{ group }}
|
36
36
|
</span>
|
37
37
|
</th>
|
38
38
|
|
39
39
|
{% for perm in model_perms %}
|
40
|
-
<td class="align-middle flex border-t border-
|
40
|
+
<td class="align-middle flex border-t border-base-200 font-normal px-3 py-2 text-left before:flex before:capitalize before:content-[attr(data-label)] before:items-center before:mr-auto first:border-t-0 lg:before:hidden lg:first:border-t lg:py-3 lg:table-cell dark:border-base-800" data-label="{{ perm.name }}">
|
41
41
|
{% if perm.codename in group_perms %}
|
42
42
|
{% include "unfold/helpers/boolean.html" with value=True %}
|
43
43
|
{% else %}
|
@@ -46,8 +46,8 @@
|
|
46
46
|
</td>
|
47
47
|
{% endfor %}
|
48
48
|
|
49
|
-
<td class="align-middle flex border-t border-
|
50
|
-
<a href="group-manage/{{ group.id|safe }}/" class="hover:text-
|
49
|
+
<td class="align-middle flex border-t border-base-200 font-normal px-3 py-2 text-right before:flex before:capitalize before:content-[attr(data-label)] before:items-center before:mr-auto first:border-t-0 lg:before:hidden lg:first:border-t lg:py-3 lg:table-cell dark:border-base-800" data-label="{% trans "Action" %}">
|
50
|
+
<a href="group-manage/{{ group.id|safe }}/" class="hover:text-base-700 dark:hover:text-white">
|
51
51
|
{% trans "Edit" %}
|
52
52
|
</a>
|
53
53
|
</td>
|
@@ -57,12 +57,12 @@
|
|
57
57
|
</table>
|
58
58
|
{% endif %}
|
59
59
|
|
60
|
-
<div class="border border-
|
60
|
+
<div class="border border-base-200 overflow-hidden rounded p-3 shadow-sm dark:border-base-800">
|
61
61
|
{% for field in group_form %}
|
62
62
|
{% include "admin/guardian/model/field.html" %}
|
63
63
|
{% endfor %}
|
64
64
|
|
65
|
-
<div class="bg-
|
65
|
+
<div class="bg-base-50 border-t flex flex-row -m-3 p-3 dark:bg-white/[.02] dark:border-base-800">
|
66
66
|
<div class="ml-auto">
|
67
67
|
{% trans "Manage group" as title %}
|
68
68
|
{% include "unfold/helpers/submit.html" with title=title name="submit_manage_group" %}
|
@@ -8,7 +8,7 @@
|
|
8
8
|
</h2>
|
9
9
|
|
10
10
|
{% if users_perms.items %}
|
11
|
-
<table id="user-permissions" class="border-
|
11
|
+
<table id="user-permissions" class="border-base-200 border-spacing-none border-separate mb-6 w-full lg:border lg:rounded lg:shadow-sm lg:dark:border-base-800">
|
12
12
|
<thead class="hidden lg:table-header-group text-font-important-light dark:text-font-important-dark">
|
13
13
|
<tr>
|
14
14
|
<th class="align-middle font-semibold px-3 py-2 text-left">
|
@@ -29,15 +29,15 @@
|
|
29
29
|
|
30
30
|
<tbody>
|
31
31
|
{% for user, user_perms in users_perms.items %}
|
32
|
-
<tr class="block border mb-3 rounded
|
33
|
-
<th class="align-middle flex border-t border-
|
32
|
+
<tr class="block border mb-3 rounded shadow-sm lg:table-row lg:border-none lg:mb-0 lg:shadow-none dark:border-base-800">
|
33
|
+
<th class="align-middle flex border-t border-base-200 font-normal px-3 py-2 text-left before:flex before:capitalize before:content-[attr(data-label)] before:items-center before:mr-auto first:border-t-0 lg:before:hidden lg:first:border-t lg:py-3 lg:table-cell dark:border-base-800" data-label="{% trans "User" %}">
|
34
34
|
<span>
|
35
35
|
{{ user }}
|
36
36
|
</span>
|
37
37
|
</th>
|
38
38
|
|
39
39
|
{% for perm in model_perms %}
|
40
|
-
<td class="align-middle flex border-t border-
|
40
|
+
<td class="align-middle flex border-t border-base-200 font-normal px-3 py-2 text-left before:flex before:capitalize before:content-[attr(data-label)] before:items-center before:mr-auto first:border-t-0 lg:before:hidden lg:first:border-t lg:py-3 lg:table-cell dark:border-base-800" data-label="{{ perm.name }}">
|
41
41
|
{% if perm.codename in user_perms %}
|
42
42
|
{% include "unfold/helpers/boolean.html" with value=True %}
|
43
43
|
{% else %}
|
@@ -46,8 +46,8 @@
|
|
46
46
|
</td>
|
47
47
|
{% endfor %}
|
48
48
|
|
49
|
-
<td class="align-middle flex border-t border-
|
50
|
-
<a href="user-manage/{{ user.id|safe }}/" class="hover:text-
|
49
|
+
<td class="align-middle flex border-t border-base-200 font-normal px-3 py-2 text-right before:flex before:capitalize before:content-[attr(data-label)] before:items-center before:mr-auto first:border-t-0 lg:before:hidden lg:first:border-t lg:py-3 lg:table-cell dark:border-base-800" data-label="{% trans "Action" %}">
|
50
|
+
<a href="user-manage/{{ user.id|safe }}/" class="hover:text-base-700 dark:hover:text-white">
|
51
51
|
{% trans "Edit" %}
|
52
52
|
</a>
|
53
53
|
</td>
|
@@ -57,12 +57,12 @@
|
|
57
57
|
</table>
|
58
58
|
{% endif %}
|
59
59
|
|
60
|
-
<div class="border border-
|
60
|
+
<div class="border border-base-200 overflow-hidden rounded p-3 shadow-sm dark:border-base-800">
|
61
61
|
{% for field in user_form %}
|
62
62
|
{% include "admin/guardian/model/field.html" %}
|
63
63
|
{% endfor %}
|
64
64
|
|
65
|
-
<div class="bg-
|
65
|
+
<div class="bg-base-50 border-t flex flex-row -m-3 p-3 dark:bg-white/[.02] dark:border-base-800">
|
66
66
|
<div class="ml-auto">
|
67
67
|
{% trans "Manage user" as title %}
|
68
68
|
{% include "unfold/helpers/submit.html" with title=title name="submit_manage_user" %}
|
@@ -5,6 +5,6 @@
|
|
5
5
|
{{ block.super }}
|
6
6
|
|
7
7
|
{% if show_change_form_export %}
|
8
|
-
<input type="submit" value="{% translate 'Export' %}" name="_export-item" class="bg-white text-
|
8
|
+
<input type="submit" value="{% translate 'Export' %}" name="_export-item" class="bg-white text-base-500 border cursor-pointer flex font-medium items-center px-3 py-2 mr-3 rounded shadow-sm text-sm dark:bg-base-900 dark:border dark:border-base-700 dark:text-font-default-dark">
|
9
9
|
{% endif %}
|
10
10
|
{% endblock %}
|
@@ -37,7 +37,7 @@
|
|
37
37
|
{% csrf_token %}
|
38
38
|
|
39
39
|
{% if form.initial.export_items %}
|
40
|
-
<p class="bg-blue-50 mb-4 text-blue-500 px-3 py-3 rounded
|
40
|
+
<p class="bg-blue-50 mb-4 text-blue-500 px-3 py-3 rounded text-sm dark:bg-blue-500/20 dark:border-blue-500/10">
|
41
41
|
{% blocktranslate count len=form.initial.export_items|length %}
|
42
42
|
Export {{ len }} selected item.
|
43
43
|
{% plural %}
|
@@ -52,11 +52,11 @@
|
|
52
52
|
|
53
53
|
{{ form.non_field_errors }}
|
54
54
|
|
55
|
-
<fieldset class="border border-
|
55
|
+
<fieldset class="border border-base-200 mb-4 rounded pt-3 px-3 shadow-sm dark:border-base-800">
|
56
56
|
{% for field in form.visible_fields %}
|
57
57
|
<div {% if field.field.is_selectable_field %}class="selectable-field-export-row" resource-index="{{ field.field.resource_index }}"{% endif %}>
|
58
58
|
{% if field.field.initial_field %}
|
59
|
-
<p class="block font-medium mb-2 text-
|
59
|
+
<p class="block font-medium mb-2 text-base-900 text-sm dark:text-base-200">
|
60
60
|
{% trans "This exporter will export the following fields" %}
|
61
61
|
</p>
|
62
62
|
{% endif %}
|
@@ -75,7 +75,7 @@
|
|
75
75
|
{% endfor %}
|
76
76
|
</fieldset>
|
77
77
|
|
78
|
-
<button type="submit" class="bg-primary-600 border border-transparent font-medium px-3 py-2 rounded
|
78
|
+
<button type="submit" class="bg-primary-600 border border-transparent font-medium px-3 py-2 rounded text-sm text-white">
|
79
79
|
{% translate 'Submit' %}
|
80
80
|
</button>
|
81
81
|
</form>
|
@@ -1,17 +1,17 @@
|
|
1
1
|
{% load admin_urls i18n import_export_tags %}
|
2
2
|
|
3
3
|
{% block confirm_import_form %}
|
4
|
-
<form action="{% url opts|admin_urlname:"process_import" %}" method="post" class="border border-
|
4
|
+
<form action="{% url opts|admin_urlname:"process_import" %}" method="post" class="border border-base-200 mb-8 rounded shadow-sm dark:border-base-800">
|
5
5
|
{% csrf_token %}
|
6
6
|
|
7
7
|
{{ confirm_form.as_p }}
|
8
8
|
|
9
|
-
<p class="font-semibold p-4 text-sm text-
|
9
|
+
<p class="font-semibold p-4 text-sm text-base-900 dark:text-base-100">
|
10
10
|
{% trans "Below is a preview of data to be imported. If you are satisfied with the results, click 'Confirm import'" %}
|
11
11
|
</p>
|
12
12
|
|
13
|
-
<div class="border-t border-
|
14
|
-
<button type="submit" class="bg-primary-600 border border-transparent font-medium ml-auto px-3 py-2 rounded
|
13
|
+
<div class="border-t border-base-200 flex flex-row px-4 py-3 dark:border-base-800">
|
14
|
+
<button type="submit" class="bg-primary-600 border border-transparent font-medium ml-auto px-3 py-2 rounded text-sm text-white">
|
15
15
|
{% translate 'Confirm import' %}
|
16
16
|
</button>
|
17
17
|
</div>
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{% load i18n %}
|
2
2
|
|
3
3
|
{% block errors %}
|
4
|
-
<hr class="dark:border-
|
4
|
+
<hr class="dark:border-base-800 my-8">
|
5
5
|
|
6
6
|
<ul>
|
7
7
|
{% for error in result.base_errors %}
|
@@ -26,7 +26,7 @@
|
|
26
26
|
</div>
|
27
27
|
</div>
|
28
28
|
|
29
|
-
<div class="block border leading-relaxed mb-4 rounded p-4 traceback dark:border-
|
29
|
+
<div class="block border border-base-200 leading-relaxed mb-4 rounded p-4 traceback dark:border-base-800 dark:text-font-default-dark " x-show="open">
|
30
30
|
{{ error.traceback|linebreaks }}
|
31
31
|
</div>
|
32
32
|
</li>
|