django-spire 0.17.9__py3-none-any.whl → 0.17.10__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_spire/consts.py +1 -1
- django_spire/knowledge/templates/django_spire/knowledge/entry/file/page/list_page.html +1 -1
- django_spire/knowledge/templates/django_spire/knowledge/navigation/page/full_page.html +10 -4
- {django_spire-0.17.9.dist-info → django_spire-0.17.10.dist-info}/METADATA +1 -1
- {django_spire-0.17.9.dist-info → django_spire-0.17.10.dist-info}/RECORD +8 -8
- {django_spire-0.17.9.dist-info → django_spire-0.17.10.dist-info}/WHEEL +0 -0
- {django_spire-0.17.9.dist-info → django_spire-0.17.10.dist-info}/licenses/LICENSE.md +0 -0
- {django_spire-0.17.9.dist-info → django_spire-0.17.10.dist-info}/top_level.txt +0 -0
django_spire/consts.py
CHANGED
|
@@ -16,8 +16,12 @@
|
|
|
16
16
|
x-data="{
|
|
17
17
|
nav_toggle_type: null,
|
|
18
18
|
show_side_nav: false,
|
|
19
|
-
|
|
19
|
+
|
|
20
|
+
set_nav_toggle_type() {
|
|
20
21
|
this.nav_toggle_type = window.innerWidth > 768 ? 'collapse' : 'offcanvas'
|
|
22
|
+
},
|
|
23
|
+
handle_resize() {
|
|
24
|
+
this.set_nav_toggle_type()
|
|
21
25
|
if (this.nav_toggle_type === 'offcanvas') {
|
|
22
26
|
document.getElementById('side-nav').classList.remove('show')
|
|
23
27
|
this.show_side_nav = false
|
|
@@ -26,9 +30,9 @@
|
|
|
26
30
|
document.getElementById('side-nav').classList.add('show')
|
|
27
31
|
this.show_side_nav = true
|
|
28
32
|
}
|
|
29
|
-
}
|
|
33
|
+
}
|
|
30
34
|
}"
|
|
31
|
-
x-init="
|
|
35
|
+
x-init="set_nav_toggle_type()"
|
|
32
36
|
@resize.window="handle_resize()"
|
|
33
37
|
>
|
|
34
38
|
<div class="col">
|
|
@@ -57,7 +61,9 @@
|
|
|
57
61
|
class="col-auto bg-app-layer-one ps-0"
|
|
58
62
|
:class="nav_toggle_type === 'collapse' ? 'collapse collapse-horizontal' : 'offcanvas offcanvas-end'"
|
|
59
63
|
data-bs-backdrop="false"
|
|
60
|
-
id="side-nav"
|
|
64
|
+
id="side-nav"
|
|
65
|
+
x-cloak
|
|
66
|
+
>
|
|
61
67
|
<div
|
|
62
68
|
class="position-relative h-100"
|
|
63
69
|
:style="nav_toggle_type === 'collapse' && 'width: 35vw'"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: django-spire
|
|
3
|
-
Version: 0.17.
|
|
3
|
+
Version: 0.17.10
|
|
4
4
|
Summary: A project for Django Spire
|
|
5
5
|
Author-email: Brayden Carlson <braydenc@stratusadv.com>, Nathan Johnson <nathanj@stratusadv.com>
|
|
6
6
|
License: Copyright (c) 2024 Stratus Advanced Technologies and Contributors.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
django_spire/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
2
|
django_spire/conf.py,sha256=EYC1hXqYqheYrb_b6Q93LrSgNl91JV633E4N5j-KGTo,1012
|
|
3
|
-
django_spire/consts.py,sha256=
|
|
3
|
+
django_spire/consts.py,sha256=JEgx7ARt1QVh0V5TDDncy5xR7Xvmy_TIJmGd9nLNdKg,391
|
|
4
4
|
django_spire/exceptions.py,sha256=L5ndRO5ftMmh0pHkO2z_NG3LSGZviJ-dDHNT73SzTNw,48
|
|
5
5
|
django_spire/settings.py,sha256=tGxgEri3TQRBaiwX7YRcWifMf_g1xv1RznplFR6zZnI,821
|
|
6
6
|
django_spire/urls.py,sha256=mKeZszb5U4iIGqddMb5Tt5fRC72U2wABEOi6mvOfEBU,656
|
|
@@ -933,7 +933,7 @@ django_spire/knowledge/templates/django_spire/knowledge/entry/card/list_card.htm
|
|
|
933
933
|
django_spire/knowledge/templates/django_spire/knowledge/entry/container/import_form_container.html,sha256=Bs2mH4qjWsOUzX70cvwAo_0keIHTJI9h3MrNL1px-mY,225
|
|
934
934
|
django_spire/knowledge/templates/django_spire/knowledge/entry/file/card/list_card.html,sha256=4Beh6y3ywi1Ihlihamb42f-6OK2-raNkdLk0GuuTIKs,1178
|
|
935
935
|
django_spire/knowledge/templates/django_spire/knowledge/entry/file/item/list_item.html,sha256=JfmhTm4wKQmMh9dQ5qfQDa8d4B0uMFPASqWnV_psHSM,693
|
|
936
|
-
django_spire/knowledge/templates/django_spire/knowledge/entry/file/page/list_page.html,sha256=
|
|
936
|
+
django_spire/knowledge/templates/django_spire/knowledge/entry/file/page/list_page.html,sha256=J66ukMYF2TVUlHQxOgsME-CoYXEZO3Y8z7pD2K1jMqE,254
|
|
937
937
|
django_spire/knowledge/templates/django_spire/knowledge/entry/form/form.html,sha256=hklsBNX-p1aGnxMMsi3W6W5Rsb58XGKTDtDB0MWEo5c,491
|
|
938
938
|
django_spire/knowledge/templates/django_spire/knowledge/entry/form/import_form.html,sha256=VHmD01qOdHq4s8zOnEHyMeiJLLEfnQepj844sDi2_ug,1944
|
|
939
939
|
django_spire/knowledge/templates/django_spire/knowledge/entry/item/list_item.html,sha256=s95BghTQVtPvXF8usDiOOZI1WI7J9E7qr5SovY1fXIY,2103
|
|
@@ -960,7 +960,7 @@ django_spire/knowledge/templates/django_spire/knowledge/navigation/item/collecti
|
|
|
960
960
|
django_spire/knowledge/templates/django_spire/knowledge/navigation/item/collection/dropdown/navigation_ellipsis_dropdown.html,sha256=DeM7yRcjRN25eRvdOK-3Ae0kbYaMWvk7Ufbc8AZphgk,1023
|
|
961
961
|
django_spire/knowledge/templates/django_spire/knowledge/navigation/item/entry/entry_item.html,sha256=3sXmm1fMIxHMuSc0Hp0FLWujrHS6v_YrLsHWSFSaFjg,780
|
|
962
962
|
django_spire/knowledge/templates/django_spire/knowledge/navigation/item/entry/dropdown/navigation_ellipsis_dropdown.html,sha256=SiwlFdvIbmcWyexxNMBO4b-mbOwqAAtPHLv8Fqr8UIs,757
|
|
963
|
-
django_spire/knowledge/templates/django_spire/knowledge/navigation/page/full_page.html,sha256=
|
|
963
|
+
django_spire/knowledge/templates/django_spire/knowledge/navigation/page/full_page.html,sha256=kYebthTpZqUtW0QM_cDC-47_4Ocz_27YEJk8IjbOL7Q,3552
|
|
964
964
|
django_spire/knowledge/templates/django_spire/knowledge/page/home_page.html,sha256=hRWDcr1H86gg3pXGKnbcsYeyV0RrdBLpBaHXi-9wtko,300
|
|
965
965
|
django_spire/knowledge/templatetags/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
966
966
|
django_spire/knowledge/templatetags/spire_knowledge_tags.py,sha256=n3eHc8QZplOi9ovD8qbfzp66F91tdm6q8z1YPcnmVOM,622
|
|
@@ -1105,8 +1105,8 @@ django_spire/theme/urls/page_urls.py,sha256=S8nkKkgbhG3XHI3uMUL-piOjXIrRkuY2UlM_
|
|
|
1105
1105
|
django_spire/theme/views/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1106
1106
|
django_spire/theme/views/json_views.py,sha256=W1khC2K_EMbEzAFmMxC_P76_MFnkRH4-eVdodrRfAhw,1904
|
|
1107
1107
|
django_spire/theme/views/page_views.py,sha256=pHr8iekjtR99xs7w1taj35HEo133Svq1dvDD0y0VL1c,3933
|
|
1108
|
-
django_spire-0.17.
|
|
1109
|
-
django_spire-0.17.
|
|
1110
|
-
django_spire-0.17.
|
|
1111
|
-
django_spire-0.17.
|
|
1112
|
-
django_spire-0.17.
|
|
1108
|
+
django_spire-0.17.10.dist-info/licenses/LICENSE.md,sha256=tlTbOtgKoy-xAQpUk9gPeh9O4oRXCOzoWdW3jJz0wnA,1091
|
|
1109
|
+
django_spire-0.17.10.dist-info/METADATA,sha256=0lGLdb8GGaNtvFftWMDv9RpGkEjp4TkLDntJd3CEeZw,4937
|
|
1110
|
+
django_spire-0.17.10.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
1111
|
+
django_spire-0.17.10.dist-info/top_level.txt,sha256=xf3QV1e--ONkVpgMDQE9iqjQ1Vg4--_6C8wmO-KxPHQ,13
|
|
1112
|
+
django_spire-0.17.10.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|