accrete 0.0.68__py3-none-any.whl → 0.0.69__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.
@@ -248,7 +248,5 @@
248
248
  </div>
249
249
  </div>
250
250
  {% endif %}
251
-
252
- <div id="form-modal" class="modal"></div>
253
251
  {% endblock %}
254
252
  </body>
@@ -1,6 +1 @@
1
- <div id="form-modal" class="modal"
2
- hx-post="?onchange=1&{{ params }}"
3
- hx-trigger="load"
4
- hx-target="body"
5
- hx-include="#{{ form_id }}"
6
- ></div>
1
+ <div hx-post="?onchange=1&{{ params }}" hx-trigger="load" hx-target="body" hx-include="#{{ form_id }}"></div>
@@ -5,6 +5,5 @@ from . import views
5
5
  app_name = 'ui'
6
6
 
7
7
  urlpatterns = [
8
- path('', views.home, name='home'),
9
- path('formmodal/', views.form_modal, name='form_modal'),
8
+ path('', views.home, name='home')
10
9
  ]
@@ -3,7 +3,3 @@ from django.shortcuts import render
3
3
 
4
4
  def home(request):
5
5
  return render(request, 'ui/layout.html', {})
6
-
7
-
8
- def form_modal(request):
9
- return render(request, 'ui/partials/form_modal.html')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: accrete
3
- Version: 0.0.68
3
+ Version: 0.0.69
4
4
  Summary: Django Shared Schema Multi Tenant
5
5
  Author-email: Benedikt Jilek <benedikt.jilek@pm.me>
6
6
  License: Copyright (c) 2023 Benedikt Jilek
@@ -41,8 +41,8 @@ accrete/contrib/ui/context.py,sha256=sA5d444vQMCsEtFqWL6KzfPQdfCC-_JIoreR5O7FKjI
41
41
  accrete/contrib/ui/elements.py,sha256=UQtp6VHE59KR9yAVuwHm9IxY2aOZJA5VsVSLdL1LTxM,1883
42
42
  accrete/contrib/ui/filter.py,sha256=UAIkUNKu2nVQLafwZlkQu4PDfOPyFM61e_mE7OWRhYs,12410
43
43
  accrete/contrib/ui/tests.py,sha256=mrbGGRNg5jwbTJtWWa7zSKdDyeB4vmgZCRc2nk6VY-g,60
44
- accrete/contrib/ui/urls.py,sha256=TUBlz_CGs9InTZoxM78GSnucA73I8knoh_obt12RUHM,186
45
- accrete/contrib/ui/views.py,sha256=WpBKMsxFFG8eG4IN7TW_TPE6i3OFF7gnLDTK7JMKti8,191
44
+ accrete/contrib/ui/urls.py,sha256=UrRRroqP6ANW_jpkRWqo2yLvBhYOVhczzbxbfkGnoq4,124
45
+ accrete/contrib/ui/views.py,sha256=Eewx1n_fOAqx_nP4mvGltaksUtp1_WhCJThtK13YiQc,106
46
46
  accrete/contrib/ui/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
47
47
  accrete/contrib/ui/static/bulma/LICENSE,sha256=--fY7Bi3Lt7RXXnKc9pe756OJY9fGv-D5OmT5pdSJ5w,1080
48
48
  accrete/contrib/ui/static/bulma/README.md,sha256=dXEZ8Xo6lwH7mVf_Uy8P_rpOORrwicW5481xDTArOmU,14237
@@ -165,15 +165,14 @@ accrete/contrib/ui/templates/django/forms/widgets/textarea.html,sha256=c9BTedqb3
165
165
  accrete/contrib/ui/templates/ui/dashboard.html,sha256=udnwiSJEcn2wMaJfTs4P0Y20FU79VguK_9Lq4K2BqtM,160
166
166
  accrete/contrib/ui/templates/ui/detail.html,sha256=b1HC1QCGooo6tLh7fLhEDPau1tIOzscLXP6R_PN758I,1093
167
167
  accrete/contrib/ui/templates/ui/form.html,sha256=mlrMsxUOn5RkyROLYBHWzdWckN8Cg-2-ynD0SRmuXSM,627
168
- accrete/contrib/ui/templates/ui/layout.html,sha256=f8K0KDlh_eDz0UKH0IB34dBjPtDiNgsuPgysK-DYLgE,14792
168
+ accrete/contrib/ui/templates/ui/layout.html,sha256=F4fzMgtI1Q16yPrNsmS_EwumGLyKSvIvDT1VJR6yO_w,14741
169
169
  accrete/contrib/ui/templates/ui/list.html,sha256=pgrnv9PDwIZ_oSpWxqMRdVaWXiGEJyNCFgdMb2BoKmg,1442
170
170
  accrete/contrib/ui/templates/ui/table.html,sha256=8ELtgxoapCyNsvmGISAGXe712lG6AkP_nekb4OVLK3I,4481
171
171
  accrete/contrib/ui/templates/ui/partials/filter.html,sha256=2vmeL3980rMmkRnmVtZh9mBHe6S0PTMjaGIN1J6SpNM,7184
172
172
  accrete/contrib/ui/templates/ui/partials/form_errors.html,sha256=C5ktasYff2xBTiWfM6QR8qaGKSyK9QufB3B9N77KGpg,1386
173
- accrete/contrib/ui/templates/ui/partials/form_modal.html,sha256=E52tFaIL3mcWRBHEamkOL1ZSBsBv08JsYFkoUtlhGgc,1165
174
173
  accrete/contrib/ui/templates/ui/partials/header.html,sha256=Re9E5Yru14_CfEUKBhLtAd170I07oFmjfzLSHYQ2iC4,6992
175
174
  accrete/contrib/ui/templates/ui/partials/modal_form.html,sha256=wEcpi-WRz20R61gE-qtzZJIrXixjwvaJXX6FsVQrCRE,1451
176
- accrete/contrib/ui/templates/ui/partials/onchange_form.html,sha256=K5twTGqRUW1iM2dGtdWntjsJvJVo5EIzKxX2HK-H1yw,160
175
+ accrete/contrib/ui/templates/ui/partials/onchange_form.html,sha256=8wNgZYnpa6ttc-OraOi1i02isJCcnaMtYwsmObc3qcY,109
177
176
  accrete/contrib/ui/templates/ui/partials/pagination_detail.html,sha256=58nA3X7Il0FAD4VcYyr7tTGWRiVf_FN1TkImmKEpKHU,1014
178
177
  accrete/contrib/ui/templates/ui/partials/pagination_list.html,sha256=Eyx1lsk9UIFFYPICL7RuYeUFaKVlmvWVXnFCGR-II7k,1324
179
178
  accrete/contrib/ui/templates/ui/partials/table_field.html,sha256=4oQw0na9UgHP8lo8KttyWBuDhCEeaZ8Vt9jJYJdZ5Gs,641
@@ -222,7 +221,7 @@ accrete/utils/dates.py,sha256=apM6kt6JhGrKgoT0jfav1W-8AUVTxNc9xt3fJQ2n0JI,1492
222
221
  accrete/utils/forms.py,sha256=Lll-DvAhKZDw72XeuCtb4wxQEJNFp7lQWh_Z1GyH3Zk,3049
223
222
  accrete/utils/http.py,sha256=mAtQRgADv7zu1_j7A-EKVyb-oqa5a21i4Gd0QfjzGV0,3540
224
223
  accrete/utils/models.py,sha256=EEhv7-sQVtQD24PEb3XcDUAh3VVhVFoMMLyFrDjGEaI,706
225
- accrete-0.0.68.dist-info/METADATA,sha256=qVprViNkf6XUtepa6XErqzMIqKbu3xMLUPNVF-Vxpv4,4892
226
- accrete-0.0.68.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
227
- accrete-0.0.68.dist-info/licenses/LICENSE,sha256=_7laeMIHnsd3Y2vJEXDYXq_PEXxIcjgJsGt8UIKTRWc,1057
228
- accrete-0.0.68.dist-info/RECORD,,
224
+ accrete-0.0.69.dist-info/METADATA,sha256=8y5DmMKwugsXgdIXEkzDOMAH0flXF_rgRsKrqVvfszs,4892
225
+ accrete-0.0.69.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
226
+ accrete-0.0.69.dist-info/licenses/LICENSE,sha256=_7laeMIHnsd3Y2vJEXDYXq_PEXxIcjgJsGt8UIKTRWc,1057
227
+ accrete-0.0.69.dist-info/RECORD,,
@@ -1,23 +0,0 @@
1
- {% load i18n %}
2
-
3
- <div id="form-modal" class="modal {% block modal_class %}{% endblock %}">
4
- <div class="modal-background" hx-get="{% url 'ui:form_modal' %}" hx-swap="outerHTML" hx-target="#form-modal"></div>
5
- <div class="modal-card">
6
- <header class="modal-card-head">
7
- <p class="modal-card-title">{% block modal_title %}{% endblock %}</p>
8
- <button class="delete" aria-label="close" hx-get="{% url 'ui:form_modal' %}" hx-swap="outerHTML" hx-target="#form-modal"></button>
9
- </header>
10
- <section class="modal-card-body">
11
- {% if form.is_saved is False %}
12
- {% include 'ui/partials/form_errors.html' %}
13
- {% endif %}
14
- {% block modal_content %}{% endblock %}
15
- </section>
16
- <footer class="modal-card-foot">
17
- <div class="buttons">
18
- <input class="button is-success" type="submit" form="{{ form_id }}" value="{% translate 'Save' %}">
19
- <button class="button" hx-get="{% url 'ui:form_modal' %}" hx-swap="outerHTML" hx-target="#form-modal">{% translate 'Discard' %}</button>
20
- </div>
21
- </footer>
22
- </div>
23
- </div>