django-unfold 0.44.0__py3-none-any.whl → 0.46.0__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- {django_unfold-0.44.0.dist-info → django_unfold-0.46.0.dist-info}/METADATA +5 -3
- {django_unfold-0.44.0.dist-info → django_unfold-0.46.0.dist-info}/RECORD +24 -23
- unfold/contrib/forms/templates/unfold/forms/helpers/toolbar.html +1 -1
- unfold/forms.py +2 -0
- unfold/settings.py +1 -0
- unfold/sites.py +1 -0
- unfold/static/admin/js/inlines.js +5 -3
- unfold/static/unfold/css/styles.css +1 -1
- unfold/static/unfold/js/app.js +1 -1
- unfold/styles.css +9 -1
- unfold/templates/admin/login.html +12 -8
- unfold/templates/admin/submit_line.html +17 -16
- unfold/templates/unfold/components/chart/cohort.html +1 -1
- unfold/templates/unfold/helpers/change_list_filter.html +11 -17
- unfold/templates/unfold/helpers/change_list_filter_actions.html +27 -19
- unfold/templates/unfold/helpers/field_readonly_value.html +1 -1
- unfold/templates/unfold/helpers/header_back_button.html +13 -0
- unfold/templates/unfold/helpers/messages/errornote.html +1 -1
- unfold/templates/unfold/helpers/site_icon.html +2 -2
- unfold/templates/unfold/helpers/welcomemsg.html +2 -0
- unfold/templatetags/unfold.py +11 -2
- unfold/widgets.py +149 -30
- {django_unfold-0.44.0.dist-info → django_unfold-0.46.0.dist-info}/LICENSE.md +0 -0
- {django_unfold-0.44.0.dist-info → django_unfold-0.46.0.dist-info}/WHEEL +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: django-unfold
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.46.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`.
|
@@ -25,7 +25,7 @@ unfold/contrib/forms/static/unfold/forms/css/trix.css,sha256=TH9WdnaZrmwI8hAEydw
|
|
25
25
|
unfold/contrib/forms/static/unfold/forms/js/trix.config.js,sha256=spkNBlJVk_pqido_rM6yywQxkJ3Kqb7DMLiBgpKksdA,858
|
26
26
|
unfold/contrib/forms/static/unfold/forms/js/trix.js,sha256=HJXkWw7Mtocr7IeyBVplEIeO4X0kUhHHsI1Yra_ZMl8,175599
|
27
27
|
unfold/contrib/forms/templates/unfold/forms/array.html,sha256=utd_6pwpIDAP2WWg9uXofZzyuunk_u-x7EL7L-v5H-0,1779
|
28
|
-
unfold/contrib/forms/templates/unfold/forms/helpers/toolbar.html,sha256=
|
28
|
+
unfold/contrib/forms/templates/unfold/forms/helpers/toolbar.html,sha256=wK4yPTuKLmKdr_zonhksD3qONtbzchV19baIk6mqTXk,9746
|
29
29
|
unfold/contrib/forms/templates/unfold/forms/wysiwyg.html,sha256=uLLf59jsD3apAm9Uh1TH4pwCOtO7pL2djAeZLOHyNAI,399
|
30
30
|
unfold/contrib/forms/widgets.py,sha256=PuB1XnaKaL3ub-wbdpZAhvu9ZE79DBoAUG7FzyDFoiM,3139
|
31
31
|
unfold/contrib/guardian/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -69,13 +69,13 @@ unfold/dataclasses.py,sha256=4PAWLVlUhyGMq1Mwai7afCgrRO0Inulw0opFUKVEOBk,483
|
|
69
69
|
unfold/decorators.py,sha256=jyjE2sunazp8gK1QIsNRJGEEDwO7RDKWDKnOI3GDWZE,3338
|
70
70
|
unfold/exceptions.py,sha256=gcCj1ox61E137bk_0Cqy4YC3SttdPgB-fiJUqpmyHSE,43
|
71
71
|
unfold/fields.py,sha256=yhtpDfqycpOxqdQlbncCg9qhELxGk3AtXizkZyzzH0g,7410
|
72
|
-
unfold/forms.py,sha256=
|
73
|
-
unfold/settings.py,sha256=
|
74
|
-
unfold/sites.py,sha256=
|
72
|
+
unfold/forms.py,sha256=BKv7eCbv29eCIuf1d_ZBmD4-_OIIzRaopiFd2nKbXNY,4520
|
73
|
+
unfold/settings.py,sha256=5VqCrNcOdD_fe1z_O-Qt3LmXseeVSQEsUWrsmcBhrzc,2622
|
74
|
+
unfold/sites.py,sha256=iXbwaDx5c_rFxXUrKIKeQxOFcCZ4-_nLBWCWIwNdC7U,15146
|
75
75
|
unfold/static/admin/js/admin/RelatedObjectLookups.js,sha256=alI0-yq7YPDJJJn-yg1ce79-Cv88yQDUrfaGqFZnsaY,9048
|
76
|
-
unfold/static/admin/js/inlines.js,sha256=
|
76
|
+
unfold/static/admin/js/inlines.js,sha256=gxmQEUlJ9yasELjz9qpluogFZB-bD1KJfHs4PI7UjsA,14687
|
77
77
|
unfold/static/unfold/css/simplebar.css,sha256=5LLaEM11pKi6JFCOLt4XKuZxTpT9rpdq_tNlaQytFlU,4647
|
78
|
-
unfold/static/unfold/css/styles.css,sha256=
|
78
|
+
unfold/static/unfold/css/styles.css,sha256=uELyfb7w1gGpsd5HkhRGB3Hjt6Y-l3LC7Rb5UT7bYP8,157275
|
79
79
|
unfold/static/unfold/fonts/inter/Inter-Bold.woff2,sha256=O88EyjAeRPE_QEyKBKpK5wf2epUOEu8wwjj5bnhCZqE,46552
|
80
80
|
unfold/static/unfold/fonts/inter/Inter-Medium.woff2,sha256=O88EyjAeRPE_QEyKBKpK5wf2epUOEu8wwjj5bnhCZqE,46552
|
81
81
|
unfold/static/unfold/fonts/inter/Inter-Regular.woff2,sha256=O88EyjAeRPE_QEyKBKpK5wf2epUOEu8wwjj5bnhCZqE,46552
|
@@ -88,12 +88,12 @@ unfold/static/unfold/js/alpine.js,sha256=NY2a-7GrW--i9IBhowd25bzXcH9BCmBrqYX5i8O
|
|
88
88
|
unfold/static/unfold/js/alpine.persist.js,sha256=jFBwr6faTqqhp3sVi4_VTxJ0FpaF9YGZN1ZGLl_5QYM,837
|
89
89
|
unfold/static/unfold/js/alpine.resize.js,sha256=mXR2L6neT584cfNLY5_imDq5DKjW1noXys7fhb1yxY4,703
|
90
90
|
unfold/static/unfold/js/alpine.sort.js,sha256=q6LxgConwu8M8R03mZSBcsKwJv6fF7oomP8sqLxVQ0w,37891
|
91
|
-
unfold/static/unfold/js/app.js,sha256=
|
91
|
+
unfold/static/unfold/js/app.js,sha256=dntPgbih0m4q2XCA3FmjQR5ypC6csekjwHp-3iA4aSY,7736
|
92
92
|
unfold/static/unfold/js/chart.js,sha256=22W6cFERR-CElMOKRgMMicueMVP0Vf7FBEBYH8Z8tCk,200633
|
93
93
|
unfold/static/unfold/js/htmx.js,sha256=acrv0NqSJpBm5yXX_hdeJrnVDJYuMFZFnAxHcVTNudM,50918
|
94
94
|
unfold/static/unfold/js/select2.init.js,sha256=siSDCwzy2PsOwA0Kj26JA_ELBtZlS70O8D8f1qTMmqg,291
|
95
95
|
unfold/static/unfold/js/simplebar.js,sha256=t-uG1FAD6ZoiMeN--wac0XRS7SxoDVG6zvRnGuEp7X8,27176
|
96
|
-
unfold/styles.css,sha256=
|
96
|
+
unfold/styles.css,sha256=XrdDgMYgyCw77ieNcxhHcwhkRLBvQCa-5PBf66JLZvU,18796
|
97
97
|
unfold/templates/admin/actions.html,sha256=aroIid16mORcx-0p8O2dOoWupEoTGX66pt-PAXjSYZ0,3063
|
98
98
|
unfold/templates/admin/app_index.html,sha256=fphodUAgaL7X4pOz-QxiWOKnESEs8wRqPoShSF6iBaU,1345
|
99
99
|
unfold/templates/admin/app_list.html,sha256=VtntgHpbZdXbt_HXBLAtbuMdz1alS7F_S7eG37M5Rig,2855
|
@@ -115,12 +115,12 @@ unfold/templates/admin/filter.html,sha256=ZXldjgLjrBVrNEtAc9H9zlMd_lXJBDhBk2yf2r
|
|
115
115
|
unfold/templates/admin/includes/fieldset.html,sha256=gX-dc-jPLswk21XSKUXzAU8WFl3CFfeVrIAU2bviPyg,812
|
116
116
|
unfold/templates/admin/includes/object_delete_summary.html,sha256=FgwfapZCKWtnFtTHqh1MRuxxLot4bAw92WCcR_V8ImI,444
|
117
117
|
unfold/templates/admin/index.html,sha256=pkGdKWdD3zzOvkRdELvdb15sleSpfl4eHPA14PAh7z0,684
|
118
|
-
unfold/templates/admin/login.html,sha256=
|
118
|
+
unfold/templates/admin/login.html,sha256=cer0pvCSNHrXltlgE1-2j9u4hK4XQ1yUjQbWXHaBYPQ,4445
|
119
119
|
unfold/templates/admin/nav_sidebar.html,sha256=cadJwXcReRHwVTpXGycF3uv5VZ5JDcIbY1pCabeQlCo,250
|
120
120
|
unfold/templates/admin/object_history.html,sha256=bfad4_lfLQFcoMV67yW7BnAi1Hwrptmgxj2tgPYQjtI,4816
|
121
121
|
unfold/templates/admin/pagination.html,sha256=1UIc6Hm2LnDDAHUE5UjuPzdFdiAat4tF6sk058UfRP0,2251
|
122
122
|
unfold/templates/admin/search_form.html,sha256=FUSQPwjjKrsarJxar6O2wFhucy0Eq7EOc6V-EHt86sE,1370
|
123
|
-
unfold/templates/admin/submit_line.html,sha256=
|
123
|
+
unfold/templates/admin/submit_line.html,sha256=5mxHoCVwMuocYW27P2YORmXduCNd251jTuJgHjxXvfo,4501
|
124
124
|
unfold/templates/auth/widgets/read_only_password_hash.html,sha256=bQiYKDKJkyVP0_2eJG16oKviB4WEA0V7lSp6sGfgows,751
|
125
125
|
unfold/templates/registration/logged_out.html,sha256=GgLzqmOGpiw5FcA-Aw_T6YvhYHhGFWhyES40T28waLQ,1002
|
126
126
|
unfold/templates/registration/password_change_done.html,sha256=9HDpSraz3Kxdy0Fghbn-Lv0GAtpPgG6cuO7fvfMiYg8,1077
|
@@ -128,7 +128,7 @@ unfold/templates/registration/password_change_form.html,sha256=EgakVWzpQUEJKQS0A
|
|
128
128
|
unfold/templates/unfold/components/button.html,sha256=TABo79ppuGlm2ENvRs6L3Vne8B5_9he_OhZTnPMiitQ,473
|
129
129
|
unfold/templates/unfold/components/card.html,sha256=04xD3Cn5-2OUouoQ71EkS6t0AgAx4OeGaeOf85wPp_U,1115
|
130
130
|
unfold/templates/unfold/components/chart/bar.html,sha256=nDdDCUXvFd793OpNgNPQo0vBmvYngMsQyPHVTf1vfOw,297
|
131
|
-
unfold/templates/unfold/components/chart/cohort.html,sha256=
|
131
|
+
unfold/templates/unfold/components/chart/cohort.html,sha256=elZj9e9E9cfVey_9LSOaDoVSE3Wn3BagSrwIXRSFadM,2354
|
132
132
|
unfold/templates/unfold/components/chart/line.html,sha256=DHaZUFTlCs5cX7ioYdTzoN4ITHWNcEoNSUp7v3hlo_E,298
|
133
133
|
unfold/templates/unfold/components/container.html,sha256=WBk1rGHnTsObi3pJCpL3dfFAUQ2abDmokU0Lee7R9CI,83
|
134
134
|
unfold/templates/unfold/components/flex.html,sha256=_hBsQLJ6-7MfEfXNp5Wy-ykNtPMnnNg_io2IMGegn3s,134
|
@@ -149,8 +149,8 @@ unfold/templates/unfold/helpers/attrs.html,sha256=Mwpj72kuwYj8hOT3J2T8qx6f1r_4xw
|
|
149
149
|
unfold/templates/unfold/helpers/boolean.html,sha256=kcSZr3siQeBWIy_jsx1tFf4m6IB3ooRnu8UUNQrh6so,569
|
150
150
|
unfold/templates/unfold/helpers/breadcrumb_item.html,sha256=9T6ojN7LOXIlgwSwlIwHgy5U22eQYtarCqcmzsQIoPU,201
|
151
151
|
unfold/templates/unfold/helpers/change_list_actions.html,sha256=p1_vC2Q_Fb-gAHA8y1zzOXqqn5TPQMrQfE26PkOY_ok,656
|
152
|
-
unfold/templates/unfold/helpers/change_list_filter.html,sha256=
|
153
|
-
unfold/templates/unfold/helpers/change_list_filter_actions.html,sha256=
|
152
|
+
unfold/templates/unfold/helpers/change_list_filter.html,sha256=GlKdsLwnAcE8LS7FXQaV0tMWgCCgKdY6HX5IBhvmf7A,1876
|
153
|
+
unfold/templates/unfold/helpers/change_list_filter_actions.html,sha256=nFiZltfPF0pT7s6eX87o7QNMC_NFG_RWaF9NlwxD9Fk,1742
|
154
154
|
unfold/templates/unfold/helpers/delete_submit_line.html,sha256=N1w_TDIDN7Spj5diuhRUVOVgz2TiSeHVK2QvBjTLv2w,665
|
155
155
|
unfold/templates/unfold/helpers/display_header.html,sha256=rhru2GSxR0mH8_FEQuQVIS8gGGjaiWMV9f2HCPGMsaQ,1698
|
156
156
|
unfold/templates/unfold/helpers/display_label.html,sha256=LS9DWzYjHkYLV27sZDwyXlg2sLJ0AlId9FbjnXpsbfg,317
|
@@ -162,7 +162,7 @@ unfold/templates/unfold/helpers/edit_inline/tabular_row.html,sha256=Cfs2m5eh3mLc
|
|
162
162
|
unfold/templates/unfold/helpers/edit_inline/tabular_title.html,sha256=JPSue6mD1-KZ3tiymbRrv1G2XgsSim4cT_6HhzYJaYY,2710
|
163
163
|
unfold/templates/unfold/helpers/field.html,sha256=Ds-zUHkdyxamfUCVNhxvtM0XoJg9OCA0QcsLbLWv4oo,882
|
164
164
|
unfold/templates/unfold/helpers/field_readonly.html,sha256=4qtXjWE7SA2qZSTYLOv0lT4pQfD0TE34mvWQJY7jhS8,237
|
165
|
-
unfold/templates/unfold/helpers/field_readonly_value.html,sha256=
|
165
|
+
unfold/templates/unfold/helpers/field_readonly_value.html,sha256=6DNteF8x6_tihQZVCGgz2CqB0ogsLRJhxgDep0sHguc,464
|
166
166
|
unfold/templates/unfold/helpers/fieldset_row.html,sha256=GSrMJZSNY1Tn6y3APOAeADg8Vdsa9QO_RMtj4I2SvQM,445
|
167
167
|
unfold/templates/unfold/helpers/fieldset_row_checkbox.html,sha256=47i6PkXhiKwWb4_HjsWb6uNRZQvAYdA-LoouDshoQU4,1472
|
168
168
|
unfold/templates/unfold/helpers/fieldset_row_field.html,sha256=pLtCZPXBCM_zBRQOzveNgE25MVqHWw9q4-9fdVKVAY0,643
|
@@ -170,13 +170,14 @@ unfold/templates/unfold/helpers/fieldsets_tabs.html,sha256=KW2rzVqpIICEu55GR_Knu
|
|
170
170
|
unfold/templates/unfold/helpers/form_errors.html,sha256=EwerIJptSCWXvtAJ1IZKfEn98qlShBIGavsTThbklAs,266
|
171
171
|
unfold/templates/unfold/helpers/form_label.html,sha256=BRX3DxVQfEvcmpFcRuhl4v_icMCCd5O_zmYm6MGLtts,327
|
172
172
|
unfold/templates/unfold/helpers/header.html,sha256=ZoQH_Fs1v7fbo6fWQ5UEgfM9xPQlsYQxeabLf7nndB8,1050
|
173
|
+
unfold/templates/unfold/helpers/header_back_button.html,sha256=0c8KPfVEl_ib0G_81TueVAq5fo4vtr3GCuinhTONw4g,371
|
173
174
|
unfold/templates/unfold/helpers/help_text.html,sha256=o-2_hyruIr_Xt0fo38aGgrpptPJFhddnVMPOVQOYhE4,113
|
174
175
|
unfold/templates/unfold/helpers/history.html,sha256=QUYUQXcccyIl9pKPwVS_R8Is2Zo096rLZA6inlGNhkw,1921
|
175
176
|
unfold/templates/unfold/helpers/label.html,sha256=pGzRBfuY8tos-imyA9psBxj7r93LUTfr78ff2rYPvmc,900
|
176
177
|
unfold/templates/unfold/helpers/language_switch.html,sha256=WDVFkPrym3Kd5PKlULSxhZLuk0w3DCaIZVvjgPvW1SE,1469
|
177
178
|
unfold/templates/unfold/helpers/messages/debug.html,sha256=7GhaVXLkrdyecr6yAnLxyyPT5a8TMHkRFq-EfXJrymI,141
|
178
179
|
unfold/templates/unfold/helpers/messages/error.html,sha256=5s51qKr0vHnIWngsc2U1TK9mAV3yBqwa7ekAYMyumlI,592
|
179
|
-
unfold/templates/unfold/helpers/messages/errornote.html,sha256=
|
180
|
+
unfold/templates/unfold/helpers/messages/errornote.html,sha256=pJ4Xjmp6ZimpimqMYUdCK6VZcWn_qlCSNTjRyyiZu-E,393
|
180
181
|
unfold/templates/unfold/helpers/messages/info.html,sha256=0QslGEt8aFOwNcUmBZ9v-JapBTntT7dyu7pMgb7pOAw,141
|
181
182
|
unfold/templates/unfold/helpers/messages/success.html,sha256=FVg3HNLW7i6VVZLqiUzQKw1MThvxeCbLm1RXcG6xfBY,145
|
182
183
|
unfold/templates/unfold/helpers/messages/warning.html,sha256=1bJj813EfxNSWcdQj6rM9bon4QTgMyrMydZY521h53E,149
|
@@ -187,14 +188,14 @@ unfold/templates/unfold/helpers/pagination_current_item.html,sha256=4cZ2KLVcP0Y7
|
|
187
188
|
unfold/templates/unfold/helpers/pagination_ellipsis.html,sha256=8g0KUUKtqRkXx_EBLGtsJsiYQO4tPS3GazZjxT90e0M,56
|
188
189
|
unfold/templates/unfold/helpers/search.html,sha256=w8Ute3qVfSIqUXzA3TKOx91RzW_qnffFi2Oe9qedtV4,1643
|
189
190
|
unfold/templates/unfold/helpers/search_results.html,sha256=5gxOAfFBPOkRgDziyYio6ZXcDG1bzFw7t-KXGFaWrUk,653
|
190
|
-
unfold/templates/unfold/helpers/site_icon.html,sha256=
|
191
|
+
unfold/templates/unfold/helpers/site_icon.html,sha256=KYN0gI8U2Eoh2CFJxxYrwA0Oj6dTx04lnCdxMNRG2Hk,874
|
191
192
|
unfold/templates/unfold/helpers/site_logo.html,sha256=S_QJoT2qh0xw0ciaKxoT4GJ6QIH5eqgRSC0abbWWkOI,423
|
192
193
|
unfold/templates/unfold/helpers/submit.html,sha256=4Mgf4lx7Atm8GPqD6LTJK3NA9zoSJjs9VPig7sDp8Ao,203
|
193
194
|
unfold/templates/unfold/helpers/tab_action.html,sha256=l7TBZm5FjDjlJpTsYXFonLSFBDpN91jDiILY3hjjj5s,376
|
194
195
|
unfold/templates/unfold/helpers/tab_list.html,sha256=FT_DMLyS0fBcV8LNJnwtGbkg0agDsLe0EmcawDfOxig,4509
|
195
196
|
unfold/templates/unfold/helpers/theme_switch.html,sha256=jiHqwz46GFb_pXjP23VTzV0S4E2LB-fdKpsIfjDaB8w,2201
|
196
197
|
unfold/templates/unfold/helpers/userlinks.html,sha256=oZqiwCxG_zRecAbzYrr8_hQvkndVB6-liP6LEZM1UZc,863
|
197
|
-
unfold/templates/unfold/helpers/welcomemsg.html,sha256=
|
198
|
+
unfold/templates/unfold/helpers/welcomemsg.html,sha256=a7VjZ8J1mn-DAo57nhUP096SEcBOqcCWrWt2qoT0cyg,1882
|
198
199
|
unfold/templates/unfold/layouts/base.html,sha256=bAXZDbyiyxNiE-49mqr7pHUFhC2mHZQzIDUY-js_yZ0,379
|
199
200
|
unfold/templates/unfold/layouts/base_simple.html,sha256=VigjNWnWOt_XtbahvqsroPf8mdwl7cDGbg5fEaLmG9s,1211
|
200
201
|
unfold/templates/unfold/layouts/skeleton.html,sha256=Z0N9FkqQRmBANMHg68-I_wupbywR3OThGzNMQGLwS3w,4540
|
@@ -215,13 +216,13 @@ unfold/templates/unfold/widgets/textarea_expandable.html,sha256=Pqi2udY0FWxVA-B1
|
|
215
216
|
unfold/templates/unfold/widgets/time.html,sha256=WXo2LG1v_gBZBSg-zocj7oujMKI0MWLYCIFfB04HMLQ,122
|
216
217
|
unfold/templates/unfold/widgets/url.html,sha256=IRLgW44VTKN7UrSWeywJwaxQhfG5jhhXuT-KTadKX58,304
|
217
218
|
unfold/templatetags/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
218
|
-
unfold/templatetags/unfold.py,sha256=
|
219
|
+
unfold/templatetags/unfold.py,sha256=l2OrOfU-m6sXvaGmSgQI3gvJoJ8PevGhK99YkrL8RxE,11181
|
219
220
|
unfold/templatetags/unfold_list.py,sha256=QSDm69hqo3GpOMRe4O2uw7KpGirQCzXnpq23ZrZNyPw,14239
|
220
221
|
unfold/typing.py,sha256=1P8PWM2oeaceUJtA5j071RbKEBpHYaux441u7Hd6wv4,643
|
221
222
|
unfold/utils.py,sha256=36WgmgGRayf_fkNtjoFoI1_G9w8f8gZflNzzqQ3256U,5459
|
222
223
|
unfold/views.py,sha256=hQCyeeMa9kcJV1IZeeYqj8PGW7J4QWME8n-5n0UGmiU,1003
|
223
|
-
unfold/widgets.py,sha256=
|
224
|
-
django_unfold-0.
|
225
|
-
django_unfold-0.
|
226
|
-
django_unfold-0.
|
227
|
-
django_unfold-0.
|
224
|
+
unfold/widgets.py,sha256=u3E_T4fBzP1_UL2gWuofX98mthINBRdQj3XWYuMjfmo,20185
|
225
|
+
django_unfold-0.46.0.dist-info/LICENSE.md,sha256=Ltk_quRyyvV3J5v3brtOqmibeZSw2Hrb8bY1W3ya0Ik,1077
|
226
|
+
django_unfold-0.46.0.dist-info/METADATA,sha256=7xSRpNo1C4BffSq61zmJJPm6GWlYxybumK3T1teTRFY,4864
|
227
|
+
django_unfold-0.46.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
228
|
+
django_unfold-0.46.0.dist-info/RECORD,,
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{% load i18n %}
|
2
2
|
|
3
3
|
<template id="trix-toolbar">
|
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 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">
|
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
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
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">
|
unfold/forms.py
CHANGED
unfold/settings.py
CHANGED
unfold/sites.py
CHANGED
@@ -95,6 +95,7 @@ class UnfoldAdminSite(AdminSite):
|
|
95
95
|
"SHOW_VIEW_ON_SITE"
|
96
96
|
],
|
97
97
|
"show_languages": get_config(self.settings_name)["SHOW_LANGUAGES"],
|
98
|
+
"show_back_button": get_config(self.settings_name)["SHOW_BACK_BUTTON"],
|
98
99
|
"colors": self._process_colors(
|
99
100
|
get_config(self.settings_name)["COLORS"]
|
100
101
|
),
|
@@ -32,7 +32,9 @@
|
|
32
32
|
el.id = el.id.replace(id_regex, replacement);
|
33
33
|
}
|
34
34
|
if (el.name) {
|
35
|
-
|
35
|
+
// !CHANGED from original
|
36
|
+
// el.name = el.name.replace(id_regex, replacement);
|
37
|
+
el.setAttribute("name", el.name.replace(id_regex, replacement));
|
36
38
|
}
|
37
39
|
};
|
38
40
|
const totalForms = $("#id_" + options.prefix + "-TOTAL_FORMS").prop(
|
@@ -252,9 +254,9 @@
|
|
252
254
|
const showAddButton =
|
253
255
|
maxForms.val() === "" || maxForms.val() - totalForms.val() > 0;
|
254
256
|
if ($this.length && showAddButton) {
|
255
|
-
addButton.parent().
|
257
|
+
addButton.parent().show();
|
256
258
|
} else {
|
257
|
-
addButton.parent().
|
259
|
+
addButton.parent().hide();
|
258
260
|
}
|
259
261
|
|
260
262
|
return this;
|