django-unfold 0.63.0__py3-none-any.whl → 0.64.0__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.
- {django_unfold-0.63.0.dist-info → django_unfold-0.64.0.dist-info}/METADATA +1 -1
- {django_unfold-0.63.0.dist-info → django_unfold-0.64.0.dist-info}/RECORD +55 -51
- unfold/admin.py +1 -1
- unfold/contrib/constance/templates/admin/constance/change_list.html +0 -18
- unfold/contrib/filters/templates/unfold/filters/filters_numeric_slider.html +1 -1
- unfold/contrib/guardian/templates/admin/guardian/model/obj_perms_manage.html +0 -24
- unfold/contrib/guardian/templates/admin/guardian/model/obj_perms_manage_group.html +0 -26
- unfold/contrib/guardian/templates/admin/guardian/model/obj_perms_manage_user.html +0 -26
- unfold/contrib/import_export/templates/admin/import_export/export.html +0 -23
- unfold/contrib/import_export/templates/admin/import_export/import.html +0 -23
- unfold/contrib/simple_history/templates/simple_history/object_history_form.html +1 -33
- unfold/contrib/simple_history/templates/simple_history/object_history_list.html +0 -1
- unfold/dataclasses.py +8 -0
- unfold/settings.py +28 -22
- unfold/sites.py +120 -43
- unfold/static/unfold/css/styles.css +1 -1
- unfold/static/unfold/js/app.js +147 -9
- unfold/styles.css +32 -32
- unfold/templates/admin/app_index.html +0 -18
- unfold/templates/admin/auth/user/change_password.html +1 -26
- unfold/templates/admin/base.html +0 -16
- unfold/templates/admin/change_form.html +0 -33
- unfold/templates/admin/change_list.html +0 -19
- unfold/templates/admin/change_list_results.html +2 -2
- unfold/templates/admin/delete_confirmation.html +0 -21
- unfold/templates/admin/delete_selected_confirmation.html +0 -22
- unfold/templates/admin/index.html +0 -2
- unfold/templates/admin/object_history.html +0 -24
- unfold/templates/registration/password_change_done.html +0 -17
- unfold/templates/registration/password_change_form.html +0 -17
- unfold/templates/unfold/components/navigation.html +2 -2
- unfold/templates/unfold/components/table.html +55 -9
- unfold/templates/unfold/helpers/boolean.html +6 -6
- unfold/templates/unfold/helpers/command.html +53 -0
- unfold/templates/unfold/helpers/command_history.html +54 -0
- unfold/templates/unfold/helpers/command_results.html +50 -0
- unfold/templates/unfold/helpers/header_back_button.html +10 -2
- unfold/templates/unfold/helpers/header_title.html +11 -0
- unfold/templates/unfold/helpers/label.html +1 -1
- unfold/templates/unfold/helpers/navigation_header.html +2 -2
- unfold/templates/unfold/helpers/search.html +40 -22
- unfold/templates/unfold/helpers/search_results.html +2 -2
- unfold/templates/unfold/helpers/shortcut.html +1 -1
- unfold/templates/unfold/helpers/site_dropdown.html +1 -1
- unfold/templates/unfold/helpers/tab_items.html +15 -33
- unfold/templates/unfold/helpers/tab_list.html +1 -1
- unfold/templates/unfold/helpers/welcomemsg.html +6 -18
- unfold/templates/unfold/layouts/base_simple.html +0 -6
- unfold/templates/unfold/layouts/skeleton.html +4 -1
- unfold/templates/unfold/layouts/unauthenticated.html +0 -2
- unfold/templatetags/unfold.py +141 -0
- unfold/utils.py +25 -10
- unfold/views.py +4 -1
- {django_unfold-0.63.0.dist-info → django_unfold-0.64.0.dist-info}/LICENSE.md +0 -0
- {django_unfold-0.63.0.dist-info → django_unfold-0.64.0.dist-info}/WHEEL +0 -0
@@ -1,5 +1,5 @@
|
|
1
1
|
unfold/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
unfold/admin.py,sha256=
|
2
|
+
unfold/admin.py,sha256=KJdeGky2GPW-haq9B81c_UdbZt05Ievky9tt2z6apsA,7454
|
3
3
|
unfold/apps.py,sha256=SlBXPYrUd2uXn67qFbRvbXSUk3XFWrF4-5WELgDCvho,381
|
4
4
|
unfold/checks.py,sha256=e5HEhbXRcu3FwZDT_d-IbimeVpjJ6jgCUPXWvsUjEw0,2601
|
5
5
|
unfold/components.py,sha256=vqkQzseYUvLXDohmTVAlbKopALjyX4WA9yglvdfhqu4,1283
|
@@ -7,7 +7,7 @@ unfold/contrib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
7
|
unfold/contrib/constance/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
8
8
|
unfold/contrib/constance/apps.py,sha256=636jGQ_C15fp5WRccmuSeZCZ4GOQ2PhXSEe4769uqrQ,139
|
9
9
|
unfold/contrib/constance/settings.py,sha256=SuEMNoEHjCiC3TrdQirKP6Uw17nuTaReKOTGiFjgAR4,785
|
10
|
-
unfold/contrib/constance/templates/admin/constance/change_list.html,sha256=
|
10
|
+
unfold/contrib/constance/templates/admin/constance/change_list.html,sha256=F1vjLZ4WBnpJY_teCioCbr9EuBmXEuYZsGxsARqFT0U,2366
|
11
11
|
unfold/contrib/constance/templates/admin/constance/includes/results_list.html,sha256=icFkvds6H96GeeJZFTmWw74Ze4TwBX9GGUPltkg16qA,3663
|
12
12
|
unfold/contrib/filters/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
13
13
|
unfold/contrib/filters/admin/__init__.py,sha256=7pooAoA2Y9MbBL_RTJBZeIAwV5ECrOvMbe0_egoHfew,1663
|
@@ -33,7 +33,7 @@ unfold/contrib/filters/templates/unfold/filters/filters_datetime_range.html,sha2
|
|
33
33
|
unfold/contrib/filters/templates/unfold/filters/filters_field.html,sha256=UTlSZlpg-gAc_a-EJLLF0NI_ofuSHQ2kMMoAs99nL2E,164
|
34
34
|
unfold/contrib/filters/templates/unfold/filters/filters_numeric_range.html,sha256=TnklQxXhe17UaImoiHahhtN6d1xVdXt2dhIMQESJY68,661
|
35
35
|
unfold/contrib/filters/templates/unfold/filters/filters_numeric_single.html,sha256=uELVrDzFgmzGwkm37SpZeXXbfpijDnSBIJVtf6evWjM,598
|
36
|
-
unfold/contrib/filters/templates/unfold/filters/filters_numeric_slider.html,sha256=
|
36
|
+
unfold/contrib/filters/templates/unfold/filters/filters_numeric_slider.html,sha256=ihRdegeKkP2R3XQ_Z3_wujkjnc7ZByGqhfuDw4zjtNU,1880
|
37
37
|
unfold/contrib/forms/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
38
38
|
unfold/contrib/forms/apps.py,sha256=Di0TMzVuRpVxLG-8Bjdq5ALCSf5r7u2xVhD0jU6H5Sc,132
|
39
39
|
unfold/contrib/forms/static/unfold/forms/css/trix/LICENSE,sha256=-g0UVDdcvHcBvBPZFsOuceYTuK5xgyFkHmeOCUCTk8Q,1053
|
@@ -49,9 +49,9 @@ unfold/contrib/guardian/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG
|
|
49
49
|
unfold/contrib/guardian/apps.py,sha256=ObJqwh4vHxkD4XfduP5IQAiYiWZxsXUOUqF1_R1GsRI,136
|
50
50
|
unfold/contrib/guardian/templates/admin/guardian/model/change_form.html,sha256=FSJc4MYYWyzZAy8Ay0b7Ov-cUo-oELHOM5fQehM54Lg,403
|
51
51
|
unfold/contrib/guardian/templates/admin/guardian/model/field.html,sha256=V9ZgmYiIQAFy3GC464y0iBOHm3SDvEEymbuhT3S0qKU,296
|
52
|
-
unfold/contrib/guardian/templates/admin/guardian/model/obj_perms_manage.html,sha256=
|
53
|
-
unfold/contrib/guardian/templates/admin/guardian/model/obj_perms_manage_group.html,sha256=
|
54
|
-
unfold/contrib/guardian/templates/admin/guardian/model/obj_perms_manage_user.html,sha256=
|
52
|
+
unfold/contrib/guardian/templates/admin/guardian/model/obj_perms_manage.html,sha256=aF697XjelSYYhXOq8Z9ks2HUDVIONoMaI5kAhKokLZI,317
|
53
|
+
unfold/contrib/guardian/templates/admin/guardian/model/obj_perms_manage_group.html,sha256=SdMQodNHtWxosbzt_lDGfQ1n3Ub3FxQsKS8qSsak05I,1096
|
54
|
+
unfold/contrib/guardian/templates/admin/guardian/model/obj_perms_manage_user.html,sha256=pS9muGOUhCV0UYvZSIeTEfbNcWbxjQSGDDkPXbMyifo,1095
|
55
55
|
unfold/contrib/guardian/templates/unfold/guardian/group_form.html,sha256=2wDcr-6dBGdEhfo18Yrcht1Oo872DnQCvOKFRkiFc2M,3956
|
56
56
|
unfold/contrib/guardian/templates/unfold/guardian/user_form.html,sha256=JqYF7HiIqEK_-t_rBQgin8ZPrihL1FxkPDOnG0tuf_o,3945
|
57
57
|
unfold/contrib/import_export/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -64,8 +64,8 @@ unfold/contrib/import_export/templates/admin/import_export/change_list_export_it
|
|
64
64
|
unfold/contrib/import_export/templates/admin/import_export/change_list_import.html,sha256=QTbp4m-XKKWFbnBotslw1Dw7O1fUWnFTDtAIymzOMDw,164
|
65
65
|
unfold/contrib/import_export/templates/admin/import_export/change_list_import_export.html,sha256=JdKd6P2Ot9Ou4yg4CywTauuE1UiTz_mRvDwlx3vj3LI,229
|
66
66
|
unfold/contrib/import_export/templates/admin/import_export/change_list_import_item.html,sha256=XUuRxnsx9YQbKvW-E_JGl_ha7kpTSGSoRefOTTizuX0,233
|
67
|
-
unfold/contrib/import_export/templates/admin/import_export/export.html,sha256=
|
68
|
-
unfold/contrib/import_export/templates/admin/import_export/import.html,sha256=
|
67
|
+
unfold/contrib/import_export/templates/admin/import_export/export.html,sha256=fZs4nAhTod50azFKr1C5SffA_j9aU1M8C5kgQpuADSo,2428
|
68
|
+
unfold/contrib/import_export/templates/admin/import_export/import.html,sha256=ze7b9i20nHJksccf14i0sv8By_D8oOvTExAyTX3Z9-s,1091
|
69
69
|
unfold/contrib/import_export/templates/admin/import_export/import_confirm.html,sha256=VeGgT1hDunN5c9ijeOvkIezdAmkrsABt5bAnyg5Mu8c,879
|
70
70
|
unfold/contrib/import_export/templates/admin/import_export/import_errors.html,sha256=tgGPoNea7JtuqwVuh-a2TSip7lM8inJvgcVfrsYB_FA,1805
|
71
71
|
unfold/contrib/import_export/templates/admin/import_export/import_form.html,sha256=GkivtNDO5IKuVxwPK1pD0czUsuuXWHGjk2dETO-1pZg,1002
|
@@ -83,10 +83,10 @@ unfold/contrib/location_field/templates/location_field/map_widget.html,sha256=HX
|
|
83
83
|
unfold/contrib/simple_history/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
84
84
|
unfold/contrib/simple_history/apps.py,sha256=eF_KVYb60CAnGgWk2Z1YKYGfgA3TJBMr229qI7e2pgU,153
|
85
85
|
unfold/contrib/simple_history/templates/simple_history/object_history.html,sha256=unZQE70be7cK6v0YPlITFeaosmiLt3kiei-pmmCjBg0,1711
|
86
|
-
unfold/contrib/simple_history/templates/simple_history/object_history_form.html,sha256=
|
87
|
-
unfold/contrib/simple_history/templates/simple_history/object_history_list.html,sha256=
|
86
|
+
unfold/contrib/simple_history/templates/simple_history/object_history_form.html,sha256=TuQ_Fwrefjo3p9A-2asBxVq9bRJ9j5r11Jy-uS7K0TU,751
|
87
|
+
unfold/contrib/simple_history/templates/simple_history/object_history_list.html,sha256=kMtxD5II32etsk05IArxe_wGvVjrizMVVH8uRl5RjR0,6816
|
88
88
|
unfold/contrib/simple_history/templates/simple_history/submit_line.html,sha256=PEoPmWcWiiBIMs6XtXcoXswDtxp3FgntR3maieLDt4Y,1618
|
89
|
-
unfold/dataclasses.py,sha256=
|
89
|
+
unfold/dataclasses.py,sha256=pvzhMrJIC80zbTnH075PmFeJEEnSjzgvaxQGTfCEpYg,826
|
90
90
|
unfold/decorators.py,sha256=jPiYFy1p0WGFn68VZhAZkYCPDF7argb9SDFaH6aemHk,4922
|
91
91
|
unfold/enums.py,sha256=9sTfyEycMWeoGPBa-ft6ZhQGnW1vkFg108RMBVf9nko,187
|
92
92
|
unfold/exceptions.py,sha256=gcCj1ox61E137bk_0Cqy4YC3SttdPgB-fiJUqpmyHSE,43
|
@@ -99,13 +99,13 @@ unfold/mixins/base_model_admin.py,sha256=PyTZSxF6tIcs20VlMCX08tFnB0ORU0VXvgcPArk
|
|
99
99
|
unfold/overrides.py,sha256=ERVY9boZiXgjDYcTEZcIp7KWoeBZ45VM_zN31yAOjyQ,2922
|
100
100
|
unfold/paginator.py,sha256=bZiEY-1kqZy_6CYGs9fHo6WntMgpnFCH-LJPoXkEESk,533
|
101
101
|
unfold/sections.py,sha256=Lcg3xCZ76fqjm4vD4x7YdE5VsbTKluL-sX5QTEBlHxA,2379
|
102
|
-
unfold/settings.py,sha256=
|
103
|
-
unfold/sites.py,sha256=
|
102
|
+
unfold/settings.py,sha256=o_yjhM1OgW2KSrae4oeUqjLw3lI9HZ1lkKGUW4nuC4Q,3432
|
103
|
+
unfold/sites.py,sha256=CgHmH9ozko-_WSW54gmZ3HBDbmekKVyVOmefFO10adY,20320
|
104
104
|
unfold/static/admin/js/admin/RelatedObjectLookups.js,sha256=ubKKhWmX_QborwPnaLHuQshTwQw6tK1pAViWdKIjw4E,9222
|
105
105
|
unfold/static/admin/js/inlines.js,sha256=UXtFzCWHZWIJbxRghlNsNsz8HuRHjcaH1Mvb5e6uJms,16222
|
106
106
|
unfold/static/unfold/css/simplebar/LICENSE,sha256=okNJf6UFl2NrEiC4iqORNBa16IKgUgV88acdcl9FbtY,1081
|
107
107
|
unfold/static/unfold/css/simplebar/simplebar.css,sha256=5LLaEM11pKi6JFCOLt4XKuZxTpT9rpdq_tNlaQytFlU,4647
|
108
|
-
unfold/static/unfold/css/styles.css,sha256=
|
108
|
+
unfold/static/unfold/css/styles.css,sha256=PqqGUjW6Dj1k2Nd4R0yoS7hCD5BUgmmUZxDifB4pCEI,159736
|
109
109
|
unfold/static/unfold/fonts/inter/Inter-Bold.woff2,sha256=-oiBJ7baAVtlVp8DUfO1w5GtkokElR8cIOn4RiqNleo,114840
|
110
110
|
unfold/static/unfold/fonts/inter/Inter-Medium.woff2,sha256=D_PpRhThST61VjFP0keubEqFp3g7TMhr5TmUDPg_Kkg,114348
|
111
111
|
unfold/static/unfold/fonts/inter/Inter-Regular.woff2,sha256=4G9rG8VTqupORmgCPtCrChRxKcMQf1Ebx9A9NhsK4IU,111268
|
@@ -121,7 +121,7 @@ unfold/static/unfold/js/alpine/alpine.js,sha256=PtHu0lJIiSHfZeNj1nFd6wTX-Squ255S
|
|
121
121
|
unfold/static/unfold/js/alpine/alpine.persist.js,sha256=jFBwr6faTqqhp3sVi4_VTxJ0FpaF9YGZN1ZGLl_5QYM,837
|
122
122
|
unfold/static/unfold/js/alpine/alpine.resize.js,sha256=mXR2L6neT584cfNLY5_imDq5DKjW1noXys7fhb1yxY4,703
|
123
123
|
unfold/static/unfold/js/alpine/alpine.sort.js,sha256=q6LxgConwu8M8R03mZSBcsKwJv6fF7oomP8sqLxVQ0w,37891
|
124
|
-
unfold/static/unfold/js/app.js,sha256=
|
124
|
+
unfold/static/unfold/js/app.js,sha256=F7xblFopfjmdEAttR0ShM8yzE2g_mGWt1mPuh8e-Cj4,13454
|
125
125
|
unfold/static/unfold/js/chart/LICENSE,sha256=QahKosq6ZF-WahjZwgVrc-bTqB2AvABGvAARomNNTM4,1093
|
126
126
|
unfold/static/unfold/js/chart/chart.js,sha256=22W6cFERR-CElMOKRgMMicueMVP0Vf7FBEBYH8Z8tCk,200633
|
127
127
|
unfold/static/unfold/js/htmx/LICENSE,sha256=09JFb3ZBTyRWEEZg69Za_xwEzXlmuUK9q9Y_PNsxajg,642
|
@@ -129,38 +129,38 @@ unfold/static/unfold/js/htmx/htmx.js,sha256=acrv0NqSJpBm5yXX_hdeJrnVDJYuMFZFnAxH
|
|
129
129
|
unfold/static/unfold/js/select2.init.js,sha256=E1BhZ_a16_wxMb3zFq346HIrzvfQz8PRSB_o5CH_i2E,1196
|
130
130
|
unfold/static/unfold/js/simplebar/LICENSE,sha256=okNJf6UFl2NrEiC4iqORNBa16IKgUgV88acdcl9FbtY,1081
|
131
131
|
unfold/static/unfold/js/simplebar/simplebar.js,sha256=t-uG1FAD6ZoiMeN--wac0XRS7SxoDVG6zvRnGuEp7X8,27176
|
132
|
-
unfold/styles.css,sha256
|
132
|
+
unfold/styles.css,sha256=c62G1eNFzth-br50OZIl8vBMOWK_6myffjHt1JFj08I,21231
|
133
133
|
unfold/templates/admin/actions.html,sha256=iuuubcAILkOoYBgV6cpXqFIyZUh4zMqyFp0JaDFlPKU,3096
|
134
|
-
unfold/templates/admin/app_index.html,sha256=
|
134
|
+
unfold/templates/admin/app_index.html,sha256=hcXcaEwqKYTaClnGzlBEsTzy3YJn_37AiFs4YVbvX8A,585
|
135
135
|
unfold/templates/admin/app_list.html,sha256=-DEZKFdmkdTq3rix_cgZurPZ1r8PHg5pBL3i7ZtzVdI,2972
|
136
136
|
unfold/templates/admin/auth/user/add_form.html,sha256=-_YY4guGdAbw2rCskrQfRAAvQF2XzVHt5UMI0fsLDm4,337
|
137
|
-
unfold/templates/admin/auth/user/change_password.html,sha256=
|
138
|
-
unfold/templates/admin/base.html,sha256=
|
137
|
+
unfold/templates/admin/auth/user/change_password.html,sha256=3NIopJ8JFN4iv428kUTqRthZvmden9sb0-D7AKohRjA,1577
|
138
|
+
unfold/templates/admin/base.html,sha256=CuttiTMMtEiPNIEv4VXt27UGITgqPZaz5V8BJlBEOdk,1663
|
139
139
|
unfold/templates/admin/base_site.html,sha256=UOsecaCycpyn_ygJNIKO7MQtDFJuHv--r83-mzaVY30,300
|
140
|
-
unfold/templates/admin/change_form.html,sha256=
|
140
|
+
unfold/templates/admin/change_form.html,sha256=zjcJ-aB4hES_3-YJdRXhp7GWzuOk_yQ7UoyYBu-5sno,4491
|
141
141
|
unfold/templates/admin/change_form_object_tools.html,sha256=eyeH-i2HgEM0Yi-OJA2D1VnKJyC19A_my1IDGxxoP8Y,593
|
142
|
-
unfold/templates/admin/change_list.html,sha256=
|
142
|
+
unfold/templates/admin/change_list.html,sha256=aesNLu_b4j90Q08nWpMlVembYuH0TMGhwO7DJMMrSsI,4503
|
143
143
|
unfold/templates/admin/change_list_object_tools.html,sha256=cmMiT2nT20Ph5yfpj9aHPr76Z-JP4aSXp0o-Rnad28s,147
|
144
|
-
unfold/templates/admin/change_list_results.html,sha256=
|
144
|
+
unfold/templates/admin/change_list_results.html,sha256=NZmqOajOP9-TSJSUZxU7z-6_cpJX8rgrcvPoQfehMb8,8193
|
145
145
|
unfold/templates/admin/date_hierarchy.html,sha256=A-sIqBKzZTMqSn3NSHORIL1yTEAqhj4Atff0OvWtqT0,1413
|
146
|
-
unfold/templates/admin/delete_confirmation.html,sha256=
|
147
|
-
unfold/templates/admin/delete_selected_confirmation.html,sha256=
|
146
|
+
unfold/templates/admin/delete_confirmation.html,sha256=0vHhrbUAOW8CXfkEB20JoA9qV5xRbyb5xGc1jpWcrN4,3661
|
147
|
+
unfold/templates/admin/delete_selected_confirmation.html,sha256=mtRZyZH5xBRk60KktA8PZviAeI3yOH34cS_FDHaZOu0,3401
|
148
148
|
unfold/templates/admin/edit_inline/stacked.html,sha256=EpTG-HPExprnY833xeFcqY8qTOnNXvDHYicgl2NkIZI,8628
|
149
149
|
unfold/templates/admin/edit_inline/tabular.html,sha256=DtXaKC_0HEKPIphbqiykixQa1cRrEYcnLV7I3VlynhU,3020
|
150
150
|
unfold/templates/admin/filter.html,sha256=DEyrLgCWuncS1O1WR0vlt1evGQFvKoZV2pABkHzSoGU,2039
|
151
151
|
unfold/templates/admin/includes/fieldset.html,sha256=UWcatsmHzfdcjZP58P94YL7BI3F-CP-BgYi2uC7FSb4,1471
|
152
152
|
unfold/templates/admin/includes/object_delete_summary.html,sha256=FgwfapZCKWtnFtTHqh1MRuxxLot4bAw92WCcR_V8ImI,444
|
153
|
-
unfold/templates/admin/index.html,sha256=
|
153
|
+
unfold/templates/admin/index.html,sha256=n9uEm32hjM3g5d2hkjRlgwcYcAcmVw6nBVS__h8BIRU,539
|
154
154
|
unfold/templates/admin/login.html,sha256=E963dlzjZlkNc6WPJg9DiqijWAhRp1QLVCxFHkRca3g,2468
|
155
155
|
unfold/templates/admin/nav_sidebar.html,sha256=xvCaXOamXawmf80NhE0OwjjjuNwoyoePS--lsdqDeIE,772
|
156
|
-
unfold/templates/admin/object_history.html,sha256=
|
156
|
+
unfold/templates/admin/object_history.html,sha256=4S9xpBtywUdFPUmvAuH2lMOG6jxCFZ-rFZYnhbajkRw,3726
|
157
157
|
unfold/templates/admin/pagination.html,sha256=-9kjc_lKEeqvDVHMrnTfnlXDxMSkM8GNRGZGuI9D8os,912
|
158
158
|
unfold/templates/admin/search_form.html,sha256=7ckco8llu5paptroZgr3jZw54DtowX-NiwFvxsCV898,1713
|
159
159
|
unfold/templates/admin/submit_line.html,sha256=9FDZ5HOfiJG11HSMtA4rfqjKe3ucC-_OChpx1CGTLac,4626
|
160
160
|
unfold/templates/auth/widgets/read_only_password_hash.html,sha256=MlaNXJ2PLEbv8Nd01BBp-AQEfMB13LNxD_DzRemXhCg,775
|
161
161
|
unfold/templates/registration/logged_out.html,sha256=ytjIz3abnpERwUp1F8zn89HyrimSrb9wgUna3Iz0CJE,1202
|
162
|
-
unfold/templates/registration/password_change_done.html,sha256=
|
163
|
-
unfold/templates/registration/password_change_form.html,sha256
|
162
|
+
unfold/templates/registration/password_change_done.html,sha256=TjzRQ476BNkz3To2S7MhEXxA-zoqCI8Op_FjY0cRod0,364
|
163
|
+
unfold/templates/registration/password_change_form.html,sha256=E9fRkSh7n5N7UQIy0oWpcvI1mVPQ0nYGlBrM_WTi9kw,1517
|
164
164
|
unfold/templates/unfold/components/button.html,sha256=RlNNIa_JmcsNFH151ECHkbB2TxpgeCPRh-eW1Bc0Xtk,933
|
165
165
|
unfold/templates/unfold/components/card.html,sha256=fwko37u8KJIDQwiD2v8RoVuvZu8qBPyPl2TambOcFnc,1349
|
166
166
|
unfold/templates/unfold/components/chart/bar.html,sha256=nDdDCUXvFd793OpNgNPQo0vBmvYngMsQyPHVTf1vfOw,297
|
@@ -169,10 +169,10 @@ unfold/templates/unfold/components/chart/line.html,sha256=DHaZUFTlCs5cX7ioYdTzoN
|
|
169
169
|
unfold/templates/unfold/components/container.html,sha256=WBk1rGHnTsObi3pJCpL3dfFAUQ2abDmokU0Lee7R9CI,83
|
170
170
|
unfold/templates/unfold/components/flex.html,sha256=_hBsQLJ6-7MfEfXNp5Wy-ykNtPMnnNg_io2IMGegn3s,134
|
171
171
|
unfold/templates/unfold/components/icon.html,sha256=Qlhcf41FOwNVJ-nvA0RJ_Dn6JW6PUFXO6tOR3Xtf6e8,99
|
172
|
-
unfold/templates/unfold/components/navigation.html,sha256=
|
172
|
+
unfold/templates/unfold/components/navigation.html,sha256=0imW9pQs9kUZy2iROeAsGJDXC5tMRq9ABRcN85fJPeQ,866
|
173
173
|
unfold/templates/unfold/components/progress.html,sha256=5D9z7PDo68jI_33e-MVPM0V3tywswn5fWc_x39XKQ_4,972
|
174
174
|
unfold/templates/unfold/components/separator.html,sha256=yvHywT_MFkx5dNC2K53OFHRGxLDsEjRpptujXyGeoTY,168
|
175
|
-
unfold/templates/unfold/components/table.html,sha256=
|
175
|
+
unfold/templates/unfold/components/table.html,sha256=5Ghmaw3mHhKOlBKKRBfhmSx0-HkRx1sHpX6NDItgdv4,7911
|
176
176
|
unfold/templates/unfold/components/text.html,sha256=-GjxvdiaBQIaNfPSzT6SSIwnc3R27FkSDQMoF3FDPso,102
|
177
177
|
unfold/templates/unfold/components/title.html,sha256=aMYSO30ybFYqPnqwlJVh2uNmcgnVrRycZkHTjJTjpX8,171
|
178
178
|
unfold/templates/unfold/components/tracker.html,sha256=krlvsb06lpfdOIANsyrBOoLq1sgv6rXUGr-7MmP5Le0,292
|
@@ -182,11 +182,14 @@ unfold/templates/unfold/helpers/add_link.html,sha256=vd-oy-xMIDiVmFVvwDL3-S360hO
|
|
182
182
|
unfold/templates/unfold/helpers/app_list.html,sha256=baydU9R_xmH9pWgs8B7PUcwTWcLxHDhD1ehs75c5PD0,5879
|
183
183
|
unfold/templates/unfold/helpers/app_list_default.html,sha256=0TR2ZTy0KUqa6YR8IgihA_4RQqBIFOroYpRHHIyD4H8,4015
|
184
184
|
unfold/templates/unfold/helpers/attrs.html,sha256=Mwpj72kuwYj8hOT3J2T8qx6f1r_4xwwaS1slHA-82jI,166
|
185
|
-
unfold/templates/unfold/helpers/boolean.html,sha256=
|
185
|
+
unfold/templates/unfold/helpers/boolean.html,sha256=GyLsuvfp7SJSvwdN_wkruuL6yf3Rpb6zWl_WycTC8a8,811
|
186
186
|
unfold/templates/unfold/helpers/breadcrumb_item.html,sha256=9T6ojN7LOXIlgwSwlIwHgy5U22eQYtarCqcmzsQIoPU,201
|
187
187
|
unfold/templates/unfold/helpers/change_list_actions.html,sha256=xuFMZel6kH014H9sl0hKvQo7LP0UxwlhFQHIUeyQxVM,643
|
188
188
|
unfold/templates/unfold/helpers/change_list_filter.html,sha256=WwU-AG4U5qZQ_sFs1z_jaaYBWqIv3ASmtKIQIhAp2gs,1908
|
189
189
|
unfold/templates/unfold/helpers/change_list_filter_actions.html,sha256=K99hHgpCLaAHxv-eqIf4nOUfq6CeTQHekEeudKTRYME,2036
|
190
|
+
unfold/templates/unfold/helpers/command.html,sha256=59bqXiyIpcK6mU-Qcu_tiJWcG5ZXRdFtYjQyJ40TXwI,2815
|
191
|
+
unfold/templates/unfold/helpers/command_history.html,sha256=AB5elGPyY51aHuaWnwXddZmdcSadcqBOzdzjYqR4lfU,2866
|
192
|
+
unfold/templates/unfold/helpers/command_results.html,sha256=nmdU8QEF68tYIOgt5pPmNPq4pQ_fCtNIOSPeunsadvs,2708
|
190
193
|
unfold/templates/unfold/helpers/delete_submit_line.html,sha256=7SNS0axGytvUih9KxtOzy9ZC5rwG9u99iQxlnUZQfdE,700
|
191
194
|
unfold/templates/unfold/helpers/display_dropdown.html,sha256=IpOy8-hww4arAVjPIRsHrip30J3IEd2p-2BzD3BjIaA,2906
|
192
195
|
unfold/templates/unfold/helpers/display_header.html,sha256=2u-5Vc3mA6rS3ZlOWm3WRNLUX1wmZy4OSmGY2mdPZYs,1714
|
@@ -208,10 +211,11 @@ unfold/templates/unfold/helpers/fieldsets_tabs.html,sha256=F-s-4imtLbp2IYad3lFcD
|
|
208
211
|
unfold/templates/unfold/helpers/form_errors.html,sha256=mrv2_J7RPcLfVtoN1UHh3rfUyOSZpHl67wk1UGqtPcY,266
|
209
212
|
unfold/templates/unfold/helpers/form_label.html,sha256=7FfaXfviQmqKpsA1E7NSwM8rJiMNLl9e73XQram0Pfs,249
|
210
213
|
unfold/templates/unfold/helpers/header.html,sha256=cHAPz7niLLQDQbrZpURZS1hiA8OYLzkGaqnYzjgv8aE,1151
|
211
|
-
unfold/templates/unfold/helpers/header_back_button.html,sha256=
|
214
|
+
unfold/templates/unfold/helpers/header_back_button.html,sha256=FsgC8ULfm7U3a9-uxY_ebdgKFh-Pecc-9_hgenkHKdU,734
|
215
|
+
unfold/templates/unfold/helpers/header_title.html,sha256=-H3x6au-ZmMV1Y-HDeOs66MsL0XGKwQxYRnmDGuR268,510
|
212
216
|
unfold/templates/unfold/helpers/help_text.html,sha256=fDsSptYt6aPO3xPdMgbpwaINaF1FGFmaOb_1FiS_Bsg,118
|
213
217
|
unfold/templates/unfold/helpers/history.html,sha256=qxfCZxFIyl91qDpxfwozhmyVFZwULysA8Y_2H8XJ7bM,1937
|
214
|
-
unfold/templates/unfold/helpers/label.html,sha256=
|
218
|
+
unfold/templates/unfold/helpers/label.html,sha256=miawI37nl0totKxNekRvImHWOG2Og91ozBOny43y8C4,905
|
215
219
|
unfold/templates/unfold/helpers/language_form.html,sha256=Ve1qfIcL4DV6cxYfhqGkC_KghDjNyEB8j3hYts1S34M,708
|
216
220
|
unfold/templates/unfold/helpers/language_switch.html,sha256=vZiYutLOWChHUQRw1OaHIYVhfzl84-BfZq14FUCKvuo,1225
|
217
221
|
unfold/templates/unfold/helpers/messages/debug.html,sha256=OIWKZp04zxWPmVaKZaEtzrikZq1kVruncYRKiKrHWds,153
|
@@ -222,7 +226,7 @@ unfold/templates/unfold/helpers/messages/success.html,sha256=UWHpRJTvVhXiYC9-AvJ
|
|
222
226
|
unfold/templates/unfold/helpers/messages/warning.html,sha256=UldycPr8wdyp5vdjlkfs_yHCEvNg9PgspyzTALAjdDY,161
|
223
227
|
unfold/templates/unfold/helpers/messages.html,sha256=SYVGFWdL1ZhFamxnZ6ZJUvs9GKITYpY4fvdebBlSprU,1003
|
224
228
|
unfold/templates/unfold/helpers/navigation.html,sha256=U9cMmw3ETMI88zqHvSf5VQkMehcU6YfLKTcH1CmS4fY,554
|
225
|
-
unfold/templates/unfold/helpers/navigation_header.html,sha256=
|
229
|
+
unfold/templates/unfold/helpers/navigation_header.html,sha256=cs15HJiGtGh7tZzizJfh8ioS5vmRu5gmqW_oBkViKy0,1381
|
226
230
|
unfold/templates/unfold/helpers/pagination.html,sha256=cvD4Jtw1YeKcgvWuY10iyM9Qjs52iokskzYG3TLscyY,375
|
227
231
|
unfold/templates/unfold/helpers/pagination_current_item.html,sha256=4cZ2KLVcP0Y7xuGyXgexDQ07r94cgM5Gnmtv11dkRPQ,69
|
228
232
|
unfold/templates/unfold/helpers/pagination_default.html,sha256=pseTrqaG5EOn_IpCy0GXNht3ickSkZYJ4lJaocZeI6A,496
|
@@ -230,27 +234,27 @@ unfold/templates/unfold/helpers/pagination_ellipsis.html,sha256=8g0KUUKtqRkXx_EB
|
|
230
234
|
unfold/templates/unfold/helpers/pagination_infinite.html,sha256=QyHcYb36CeuiwpukC0Y553UC4LU2tPolGos-0mh7WP0,557
|
231
235
|
unfold/templates/unfold/helpers/pagination_inline.html,sha256=mMiqoYTmLjN2DFoen46EWHyP-b61staMG6WiaZn-YxI,1889
|
232
236
|
unfold/templates/unfold/helpers/popup_header.html,sha256=IDR9B0OO6v6TvJggeof-OMGJ4cYK2INStU_2a1AlWfM,1325
|
233
|
-
unfold/templates/unfold/helpers/search.html,sha256=
|
234
|
-
unfold/templates/unfold/helpers/search_results.html,sha256=
|
235
|
-
unfold/templates/unfold/helpers/shortcut.html,sha256=
|
237
|
+
unfold/templates/unfold/helpers/search.html,sha256=Fpft3UmIH2EVI3_Jt66-ot42eTGj90cU5kns8XNHe5k,3070
|
238
|
+
unfold/templates/unfold/helpers/search_results.html,sha256=9FXx8fiByx0K2o8x2y8n0Wv-9kRUWk0y2PYu9raK1es,833
|
239
|
+
unfold/templates/unfold/helpers/shortcut.html,sha256=K71_vp9qvY5gSsTgDP-9rivneSKAP5uWbfUnIpiwMBM,217
|
236
240
|
unfold/templates/unfold/helpers/site_branding.html,sha256=_hhWQZqUrMYGqRJRpeANjbRJPfCROPZkQLZLV7FiRk8,268
|
237
|
-
unfold/templates/unfold/helpers/site_dropdown.html,sha256=
|
241
|
+
unfold/templates/unfold/helpers/site_dropdown.html,sha256=vQC7UZDVxIWJMGBD5qHLMGA9Cza3DTMDY2Z9n9EV60M,985
|
238
242
|
unfold/templates/unfold/helpers/site_icon.html,sha256=q9YynbaAZsEXKXT3SDZy54iSdjUwR6i2vo0AFyllGQ0,1490
|
239
243
|
unfold/templates/unfold/helpers/site_logo.html,sha256=S_QJoT2qh0xw0ciaKxoT4GJ6QIH5eqgRSC0abbWWkOI,423
|
240
244
|
unfold/templates/unfold/helpers/submit.html,sha256=6bfZ7V2PTJfSXGg4K3IEZ42oREkMdAVjfP8yaM8Tu0k,226
|
241
245
|
unfold/templates/unfold/helpers/tab_action.html,sha256=mJd87_2qkSNQEwDZZCDkvll5ZbizBkPxWFnBR-kH89o,3431
|
242
246
|
unfold/templates/unfold/helpers/tab_actions.html,sha256=koe4D-vm7PRPqZ4FPjo3KEfWARebcpt1KuUJ7oa7PK4,685
|
243
|
-
unfold/templates/unfold/helpers/tab_items.html,sha256=
|
244
|
-
unfold/templates/unfold/helpers/tab_list.html,sha256=
|
247
|
+
unfold/templates/unfold/helpers/tab_items.html,sha256=GE1-5pC6CZShn666AxpZ548mfs3lKWzMkrBedjaKJfo,1945
|
248
|
+
unfold/templates/unfold/helpers/tab_list.html,sha256=7Jy4QrGfmKq4ORBi9w_Wya_b2QJZOZndvILDaM1unBc,386
|
245
249
|
unfold/templates/unfold/helpers/theme_switch.html,sha256=Y46KKpULH_G-fKQuc5LzfSB7Pubcgj_dBJPRMwZoWxE,2408
|
246
250
|
unfold/templates/unfold/helpers/unauthenticated_header.html,sha256=nBTHKonEmR87zMAivl48E4c1xOVcTujodn6H9rAf_6U,601
|
247
251
|
unfold/templates/unfold/helpers/unauthenticated_title.html,sha256=GRPqdhpPdxYG4o3DNB1uBE0V1IFotVqeviCW-znGDNE,416
|
248
252
|
unfold/templates/unfold/helpers/userlinks.html,sha256=bJRDQXQ_0XgxLpfmZoNgU9xpn4X6T6LOAgEmzepFXOI,740
|
249
|
-
unfold/templates/unfold/helpers/welcomemsg.html,sha256=
|
253
|
+
unfold/templates/unfold/helpers/welcomemsg.html,sha256=DECz-YhlRcXd_iShyGHld5ofOOp8z1vXcDWs9x_vvTU,1635
|
250
254
|
unfold/templates/unfold/layouts/base.html,sha256=e9T-vuPvrySHf23LLwRuTQXUg0Q4x-6gmT_yXghqc-I,278
|
251
|
-
unfold/templates/unfold/layouts/base_simple.html,sha256
|
252
|
-
unfold/templates/unfold/layouts/skeleton.html,sha256=
|
253
|
-
unfold/templates/unfold/layouts/unauthenticated.html,sha256=
|
255
|
+
unfold/templates/unfold/layouts/base_simple.html,sha256=-Q5h4oTDCc2_d1WbCE7gST2u6GlS7_sXpP1KoghzgUw,1060
|
256
|
+
unfold/templates/unfold/layouts/skeleton.html,sha256=hkCClXksW5IQVN95WPfmOa6h6iARM-hhjXqMQzNcNSg,4858
|
257
|
+
unfold/templates/unfold/layouts/unauthenticated.html,sha256=b1yVJZThOw30SF580BTKzj5TJsIsR3lGBJ5jqtFsXuM,983
|
254
258
|
unfold/templates/unfold/templatetags/preserve_changelist_filters.html,sha256=sx2jUhogNY4emBhY8PqxQ6mXifbXQb_IQI9Hd0boJI0,111
|
255
259
|
unfold/templates/unfold/widgets/clearable_file_input.html,sha256=8dXZnc6z2D2K08hqHsQwR5UJffcIRnmYBT02zmCOr9A,2191
|
256
260
|
unfold/templates/unfold/widgets/clearable_file_input_small.html,sha256=zhnaDz72mJgMrq-nCPCMuR5tEJaFVfJyOJUAzR6tQWc,2624
|
@@ -293,13 +297,13 @@ unfold/templates/unfold_crispy/uni_form.html,sha256=l9UNCUrIycgJ0p_B6qhtO_YxdARy
|
|
293
297
|
unfold/templates/unfold_crispy/whole_uni_form.html,sha256=ufXRKCIGqkqKFOsh166rpKUnHpFMyBV4eYUCRhs3iws,475
|
294
298
|
unfold/templates/unfold_crispy/whole_uni_formset.html,sha256=CYksfG2hRUdi5n691KW2ih-FfBxpOU4qVBfbOvcu1zs,873
|
295
299
|
unfold/templatetags/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
296
|
-
unfold/templatetags/unfold.py,sha256=
|
300
|
+
unfold/templatetags/unfold.py,sha256=_OtD5JmyPA4G28fZRFEkfBQMUq8giNumjqFP8AhvCjI,22550
|
297
301
|
unfold/templatetags/unfold_list.py,sha256=WWQSCM4QmQMr8YddA4krFztuuUXo2y28RA7jZfOiewE,14415
|
298
302
|
unfold/typing.py,sha256=i7LM2LiwYTAjT5-OLDUPVn5b9X-DMmHnjlZG2toWwSE,692
|
299
|
-
unfold/utils.py,sha256=
|
300
|
-
unfold/views.py,sha256=
|
303
|
+
unfold/utils.py,sha256=NAm3NJGJCefvg-jsoBnwdnTzyweuB2UikWIewuyDH0A,6641
|
304
|
+
unfold/views.py,sha256=iICsveQVxeXSKKr8MfJbq82nOpLLNlGYoJox7SEHFcA,1572
|
301
305
|
unfold/widgets.py,sha256=Af4eZWRxhOxxDpyxz-jC5DD_JNvZ0NSvJirVJOQcA_8,24687
|
302
|
-
django_unfold-0.
|
303
|
-
django_unfold-0.
|
304
|
-
django_unfold-0.
|
305
|
-
django_unfold-0.
|
306
|
+
django_unfold-0.64.0.dist-info/LICENSE.md,sha256=Ltk_quRyyvV3J5v3brtOqmibeZSw2Hrb8bY1W3ya0Ik,1077
|
307
|
+
django_unfold-0.64.0.dist-info/METADATA,sha256=JGB6Mbkdj80aeZmVtCEjxtgN9YajavujnKkDu-jldu8,9998
|
308
|
+
django_unfold-0.64.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
309
|
+
django_unfold-0.64.0.dist-info/RECORD,,
|
unfold/admin.py
CHANGED
@@ -129,7 +129,7 @@ class ModelAdmin(BaseModelAdminMixin, ActionModelAdminMixin, BaseModelAdmin):
|
|
129
129
|
|
130
130
|
action_detail_urls = [
|
131
131
|
path(
|
132
|
-
f"<path:object_id>/{action.path}
|
132
|
+
f"<path:object_id>/{action.path}",
|
133
133
|
wrap(action.method),
|
134
134
|
name=action.action_name,
|
135
135
|
)
|
@@ -10,24 +10,6 @@
|
|
10
10
|
<script type="text/javascript" src="{% static 'admin/js/constance.js' %}"></script>
|
11
11
|
{% endblock %}
|
12
12
|
|
13
|
-
{% block breadcrumbs %}
|
14
|
-
<div class="px-4">
|
15
|
-
<div class="container mb-6 mx-auto -my-3 lg:mb-12">
|
16
|
-
<ul class="flex flex-wrap">
|
17
|
-
{% url 'admin:index' as link %}
|
18
|
-
{% trans 'Home' as name %}
|
19
|
-
{% include 'unfold/helpers/breadcrumb_item.html' with link=link name=name %}
|
20
|
-
|
21
|
-
{% url 'admin:app_list' app_label=opts.app_label as link %}
|
22
|
-
{% include 'unfold/helpers/breadcrumb_item.html' with link=link name=opts.app_config.verbose_name %}
|
23
|
-
|
24
|
-
{% include 'unfold/helpers/breadcrumb_item.html' with link='' name=opts.verbose_name_plural|capfirst %}
|
25
|
-
</ul>
|
26
|
-
</div>
|
27
|
-
</div>
|
28
|
-
{% endblock %}
|
29
|
-
|
30
|
-
|
31
13
|
{% block content %}
|
32
14
|
<div id="content-main" class="constance">
|
33
15
|
<div id="changelist" class="flex flex-col gap-8 w-full">
|
@@ -26,7 +26,7 @@
|
|
26
26
|
</div>
|
27
27
|
{% else %}
|
28
28
|
<div class="admin-numeric-filter-slider-error dark:text-font-default-dark">
|
29
|
-
<p>
|
29
|
+
<p class="border border-base-300 border-dashed leading-[36px] h-[38px] rounded-default text-center dark:border-base-700">
|
30
30
|
{% trans 'Not enough data.' %}
|
31
31
|
</p>
|
32
32
|
</div>
|
@@ -2,30 +2,6 @@
|
|
2
2
|
|
3
3
|
{% load admin_urls i18n guardian_tags %}
|
4
4
|
|
5
|
-
{% block breadcrumbs %}{% if not is_popup %}
|
6
|
-
<div class="px-4">
|
7
|
-
<div class="container mb-6 mx-auto -my-3 lg:mb-12">
|
8
|
-
<ul class="flex flex-wrap">
|
9
|
-
{% url 'admin:index' as link %}
|
10
|
-
{% trans 'Home' as name %}
|
11
|
-
{% include 'unfold/helpers/breadcrumb_item.html' with link=link name=name %}
|
12
|
-
|
13
|
-
{% url 'admin:app_list' app_label=opts.app_label as link %}
|
14
|
-
{% include 'unfold/helpers/breadcrumb_item.html' with link=link name=opts.app_config.verbose_name %}
|
15
|
-
|
16
|
-
{% url opts|admin_urlname:'changelist' as link %}
|
17
|
-
{% include 'unfold/helpers/breadcrumb_item.html' with link=link name=opts.verbose_name_plural|capfirst %}
|
18
|
-
|
19
|
-
{% url opts|admin_urlname:'change' object.pk|admin_urlquote as link %}
|
20
|
-
{% include 'unfold/helpers/breadcrumb_item.html' with link=link name=original|truncatewords:'18' %}
|
21
|
-
|
22
|
-
{% trans 'Object permissions' as name %}
|
23
|
-
{% include 'unfold/helpers/breadcrumb_item.html' with link='' name=name %}
|
24
|
-
</ul>
|
25
|
-
</div>
|
26
|
-
</div>
|
27
|
-
{% endif %}{% endblock %}
|
28
|
-
|
29
5
|
{% block content %}
|
30
6
|
{% include "unfold/guardian/user_form.html" %}
|
31
7
|
|
@@ -5,32 +5,6 @@
|
|
5
5
|
{{ form.media }}
|
6
6
|
{% endblock %}
|
7
7
|
|
8
|
-
{% block breadcrumbs %}{% if not is_popup %}
|
9
|
-
<div class="px-4">
|
10
|
-
<div class="container mb-6 mx-auto -my-3 lg:mb-12">
|
11
|
-
<ul class="flex flex-wrap">
|
12
|
-
{% url 'admin:index' as link %}
|
13
|
-
{% trans 'Home' as name %}
|
14
|
-
{% include 'unfold/helpers/breadcrumb_item.html' with link=link name=name %}
|
15
|
-
|
16
|
-
{% url 'admin:app_list' app_label=opts.app_label as link %}
|
17
|
-
{% include 'unfold/helpers/breadcrumb_item.html' with link=link name=opts.app_config.verbose_name %}
|
18
|
-
|
19
|
-
{% url opts|admin_urlname:'changelist' as link %}
|
20
|
-
{% include 'unfold/helpers/breadcrumb_item.html' with link=link name=opts.verbose_name_plural|capfirst %}
|
21
|
-
|
22
|
-
{% url opts|admin_urlname:'change' object.pk|admin_urlquote as link %}
|
23
|
-
{% include 'unfold/helpers/breadcrumb_item.html' with link=link name=original|truncatewords:'18' %}
|
24
|
-
|
25
|
-
{% trans 'Object permissions' as name %}
|
26
|
-
{% include 'unfold/helpers/breadcrumb_item.html' with link="../../" name=name %}
|
27
|
-
|
28
|
-
{% include 'unfold/helpers/breadcrumb_item.html' with link='' name=group_obj|truncatewords:"18" %}
|
29
|
-
</ul>
|
30
|
-
</div>
|
31
|
-
</div>
|
32
|
-
{% endif %}{% endblock %}
|
33
|
-
|
34
8
|
{% block content %}
|
35
9
|
<div class="border border-base-200 overflow-hidden rounded-default p-3 shadow-xs dark:border-base-800">
|
36
10
|
<form method="post">
|
@@ -6,32 +6,6 @@
|
|
6
6
|
{{ form.media }}
|
7
7
|
{% endblock %}
|
8
8
|
|
9
|
-
{% block breadcrumbs %}{% if not is_popup %}
|
10
|
-
<div class="px-4">
|
11
|
-
<div class="container mb-6 mx-auto -my-3 lg:mb-12">
|
12
|
-
<ul class="flex flex-wrap">
|
13
|
-
{% url 'admin:index' as link %}
|
14
|
-
{% trans 'Home' as name %}
|
15
|
-
{% include 'unfold/helpers/breadcrumb_item.html' with link=link name=name %}
|
16
|
-
|
17
|
-
{% url 'admin:app_list' app_label=opts.app_label as link %}
|
18
|
-
{% include 'unfold/helpers/breadcrumb_item.html' with link=link name=opts.app_config.verbose_name %}
|
19
|
-
|
20
|
-
{% url opts|admin_urlname:'changelist' as link %}
|
21
|
-
{% include 'unfold/helpers/breadcrumb_item.html' with link=link name=opts.verbose_name_plural|capfirst %}
|
22
|
-
|
23
|
-
{% url opts|admin_urlname:'change' object.pk|admin_urlquote as link %}
|
24
|
-
{% include 'unfold/helpers/breadcrumb_item.html' with link=link name=original|truncatewords:'18' %}
|
25
|
-
|
26
|
-
{% trans 'Object permissions' as name %}
|
27
|
-
{% include 'unfold/helpers/breadcrumb_item.html' with link="../../" name=name %}
|
28
|
-
|
29
|
-
{% include 'unfold/helpers/breadcrumb_item.html' with link='' name=user_obj|truncatewords:"18" %}
|
30
|
-
</ul>
|
31
|
-
</div>
|
32
|
-
</div>
|
33
|
-
{% endif %}{% endblock %}
|
34
|
-
|
35
9
|
{% block content %}
|
36
10
|
<div class="border border-base-200 overflow-hidden rounded-default p-3 shadow-xs dark:border-base-800">
|
37
11
|
<form method="post">
|
@@ -9,29 +9,6 @@
|
|
9
9
|
{{ form.media }}
|
10
10
|
{% endblock %}
|
11
11
|
|
12
|
-
{% block breadcrumbs %}
|
13
|
-
<div class="px-4">
|
14
|
-
<div class="container mb-6 mx-auto -my-3 lg:mb-12">
|
15
|
-
<ul class="flex flex-wrap">
|
16
|
-
{% url 'admin:index' as link %}
|
17
|
-
{% trans 'Home' as name %}
|
18
|
-
{% include 'unfold/helpers/breadcrumb_item.html' with link=link name=name %}
|
19
|
-
|
20
|
-
{% url 'admin:app_list' app_label=opts.app_label as link %}
|
21
|
-
{% include 'unfold/helpers/breadcrumb_item.html' with link=link name=opts.app_config.verbose_name %}
|
22
|
-
|
23
|
-
{% url opts|admin_urlname:'changelist' as link %}
|
24
|
-
{% include 'unfold/helpers/breadcrumb_item.html' with link=link name=opts.verbose_name_plural|capfirst %}
|
25
|
-
|
26
|
-
{% include 'unfold/helpers/breadcrumb_item.html' with link='' name=cl.opts.verbose_name_plural|capfirst %}
|
27
|
-
|
28
|
-
{% trans 'Export' as name %}
|
29
|
-
{% include 'unfold/helpers/breadcrumb_item.html' with link='' name=name %}
|
30
|
-
</ul>
|
31
|
-
</div>
|
32
|
-
</div>
|
33
|
-
{% endblock %}
|
34
|
-
|
35
12
|
{% block content %}
|
36
13
|
<form action="{{ export_url }}" method="POST">
|
37
14
|
{% csrf_token %}
|
@@ -20,29 +20,6 @@
|
|
20
20
|
{% endif %}
|
21
21
|
{% endblock %}
|
22
22
|
|
23
|
-
{% block breadcrumbs %}
|
24
|
-
<div class="px-4">
|
25
|
-
<div class="container mb-6 mx-auto -my-3 lg:mb-12">
|
26
|
-
<ul class="flex flex-wrap">
|
27
|
-
{% url 'admin:index' as link %}
|
28
|
-
{% trans 'Home' as name %}
|
29
|
-
{% include 'unfold/helpers/breadcrumb_item.html' with link=link name=name %}
|
30
|
-
|
31
|
-
{% url 'admin:app_list' app_label=opts.app_label as link %}
|
32
|
-
{% include 'unfold/helpers/breadcrumb_item.html' with link=link name=opts.app_config.verbose_name %}
|
33
|
-
|
34
|
-
{% url opts|admin_urlname:'changelist' as link %}
|
35
|
-
{% include 'unfold/helpers/breadcrumb_item.html' with link=link name=opts.verbose_name_plural|capfirst %}
|
36
|
-
|
37
|
-
{% include 'unfold/helpers/breadcrumb_item.html' with link='' name=cl.opts.verbose_name_plural|capfirst %}
|
38
|
-
|
39
|
-
{% trans 'Import' as name %}
|
40
|
-
{% include 'unfold/helpers/breadcrumb_item.html' with link='' name=name %}
|
41
|
-
</ul>
|
42
|
-
</div>
|
43
|
-
</div>
|
44
|
-
{% endblock %}
|
45
|
-
|
46
23
|
{% block content %}
|
47
24
|
{% if confirm_form %}
|
48
25
|
{% include "admin/import_export/import_confirm.html" %}
|
@@ -1,38 +1,6 @@
|
|
1
1
|
{% extends "admin/change_form.html" %}
|
2
2
|
|
3
|
-
{% load
|
4
|
-
{% load url from simple_history_compat %}
|
5
|
-
|
6
|
-
{% block breadcrumbs %}
|
7
|
-
<div class="px-4">
|
8
|
-
<div class="container mb-6 mx-auto -my-3 lg:mb-12">
|
9
|
-
<ul class="flex flex-wrap">
|
10
|
-
{% url 'admin:index' as link %}
|
11
|
-
{% trans 'Home' as name %}
|
12
|
-
{% include 'unfold/helpers/breadcrumb_item.html' with link=link name=name %}
|
13
|
-
|
14
|
-
{% url 'admin:app_list' app_label=opts.app_label as link %}
|
15
|
-
{% include 'unfold/helpers/breadcrumb_item.html' with link=link name=opts.app_config.verbose_name %}
|
16
|
-
|
17
|
-
{% include 'unfold/helpers/breadcrumb_item.html' with link=changelist_url name=opts.verbose_name_plural|capfirst %}
|
18
|
-
|
19
|
-
{% include 'unfold/helpers/breadcrumb_item.html' with link=change_url name=original|truncatewords:'18' %}
|
20
|
-
|
21
|
-
{% url opts|admin_urlname:'change' object.pk|admin_urlquote as link %}
|
22
|
-
{% trans 'History' as name %}
|
23
|
-
{% include 'unfold/helpers/breadcrumb_item.html' with link="../" name=name %}
|
24
|
-
|
25
|
-
{% if revert_disabled %}
|
26
|
-
{% trans "View" as name %}
|
27
|
-
{% include 'unfold/helpers/breadcrumb_item.html' with link="" name=name %}
|
28
|
-
{% else %}
|
29
|
-
{% trans "Revert" as name %}
|
30
|
-
{% include 'unfold/helpers/breadcrumb_item.html' with link="" name=name %}
|
31
|
-
{% endif %}
|
32
|
-
</ul>
|
33
|
-
</div>
|
34
|
-
</div>
|
35
|
-
{% endblock %}
|
3
|
+
{% load i18n %}
|
36
4
|
|
37
5
|
{% block submit_buttons_top %}
|
38
6
|
{% include "simple_history/submit_line.html" %}
|
unfold/dataclasses.py
CHANGED
@@ -18,6 +18,14 @@ class UnfoldAction:
|
|
18
18
|
variant: Optional[ActionVariant] = ActionVariant.DEFAULT
|
19
19
|
|
20
20
|
|
21
|
+
@dataclass
|
22
|
+
class SearchResult:
|
23
|
+
title: str
|
24
|
+
description: str
|
25
|
+
link: str
|
26
|
+
icon: Optional[str]
|
27
|
+
|
28
|
+
|
21
29
|
@dataclass
|
22
30
|
class Favicon:
|
23
31
|
href: Union[str, Callable]
|
unfold/settings.py
CHANGED
@@ -18,30 +18,30 @@ CONFIG_DEFAULTS = {
|
|
18
18
|
"SHOW_BACK_BUTTON": False,
|
19
19
|
"COLORS": {
|
20
20
|
"base": {
|
21
|
-
"50": "
|
22
|
-
"100": "
|
23
|
-
"200": "
|
24
|
-
"300": "
|
25
|
-
"400": "
|
26
|
-
"500": "
|
27
|
-
"600": "
|
28
|
-
"700": "
|
29
|
-
"800": "
|
30
|
-
"900": "
|
31
|
-
"950": "
|
21
|
+
"50": "oklch(98.5% .002 247.839)",
|
22
|
+
"100": "oklch(96.7% .003 264.542)",
|
23
|
+
"200": "oklch(92.8% .006 264.531)",
|
24
|
+
"300": "oklch(87.2% .01 258.338)",
|
25
|
+
"400": "oklch(70.7% .022 261.325)",
|
26
|
+
"500": "oklch(55.1% .027 264.364)",
|
27
|
+
"600": "oklch(44.6% .03 256.802)",
|
28
|
+
"700": "oklch(37.3% .034 259.733)",
|
29
|
+
"800": "oklch(27.8% .033 256.848)",
|
30
|
+
"900": "oklch(21% .034 264.665)",
|
31
|
+
"950": "oklch(13% .028 261.692)",
|
32
32
|
},
|
33
33
|
"primary": {
|
34
|
-
"50": "
|
35
|
-
"100": "
|
36
|
-
"200": "
|
37
|
-
"300": "
|
38
|
-
"400": "
|
39
|
-
"500": "
|
40
|
-
"600": "
|
41
|
-
"700": "
|
42
|
-
"800": "
|
43
|
-
"900": "
|
44
|
-
"950": "
|
34
|
+
"50": "oklch(97.7% .014 308.299)",
|
35
|
+
"100": "oklch(94.6% .033 307.174)",
|
36
|
+
"200": "oklch(90.2% .063 306.703)",
|
37
|
+
"300": "oklch(82.7% .119 306.383)",
|
38
|
+
"400": "oklch(71.4% .203 305.504)",
|
39
|
+
"500": "oklch(62.7% .265 303.9)",
|
40
|
+
"600": "oklch(55.8% .288 302.321)",
|
41
|
+
"700": "oklch(49.6% .265 301.924)",
|
42
|
+
"800": "oklch(43.8% .218 303.724)",
|
43
|
+
"900": "oklch(38.1% .176 304.987)",
|
44
|
+
"950": "oklch(29.1% .149 302.717)",
|
45
45
|
},
|
46
46
|
"font": {
|
47
47
|
"subtle-light": "var(--color-base-500)", # text-base-500
|
@@ -64,8 +64,14 @@ CONFIG_DEFAULTS = {
|
|
64
64
|
"action": None,
|
65
65
|
"navigation": [],
|
66
66
|
},
|
67
|
+
"COMMAND": {
|
68
|
+
"search_models": False, # Enable search in the models
|
69
|
+
"show_history": False, # Enable history in the command search
|
70
|
+
"search_callback": None, # Inject a custom callback to the search form
|
71
|
+
},
|
67
72
|
"SIDEBAR": {
|
68
73
|
"show_search": False,
|
74
|
+
"command_search": False,
|
69
75
|
"show_all_applications": False,
|
70
76
|
"navigation": [],
|
71
77
|
},
|