accrete 0.0.73__py3-none-any.whl → 0.0.75__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.
- accrete/contrib/ui/context.py +0 -2
- accrete/contrib/ui/elements.py +1 -0
- accrete/contrib/ui/templates/ui/detail.html +6 -8
- accrete/contrib/ui/templates/ui/form.html +6 -8
- accrete/contrib/ui/templates/ui/layout.html +0 -18
- accrete/contrib/ui/templates/ui/partials/header.html +0 -23
- {accrete-0.0.73.dist-info → accrete-0.0.75.dist-info}/METADATA +1 -1
- {accrete-0.0.73.dist-info → accrete-0.0.75.dist-info}/RECORD +10 -10
- {accrete-0.0.73.dist-info → accrete-0.0.75.dist-info}/WHEEL +0 -0
- {accrete-0.0.73.dist-info → accrete-0.0.75.dist-info}/licenses/LICENSE +0 -0
accrete/contrib/ui/context.py
CHANGED
@@ -171,7 +171,6 @@ class DetailContext(Context):
|
|
171
171
|
object: Model
|
172
172
|
detail_page: DetailPagination = None
|
173
173
|
pagination_param_str: str = ''
|
174
|
-
info_panel: bool = False
|
175
174
|
|
176
175
|
|
177
176
|
@dataclass
|
@@ -181,7 +180,6 @@ class FormContext(Context):
|
|
181
180
|
form_id: str = 'form'
|
182
181
|
form_method: str = 'post'
|
183
182
|
form_action: str = ''
|
184
|
-
info_panel: bool = False
|
185
183
|
|
186
184
|
|
187
185
|
@dataclass
|
accrete/contrib/ui/elements.py
CHANGED
@@ -3,19 +3,17 @@
|
|
3
3
|
{% load accrete_ui %}
|
4
4
|
|
5
5
|
{% block content %}
|
6
|
-
<div class="columns is-desktop m-0">
|
6
|
+
<div class="columns is-desktop m-0" style="gap: 8px">
|
7
7
|
<div class="column p-0 is-8-desktop">
|
8
8
|
<div class="box mt-2">
|
9
9
|
{% block detail_content %}{% endblock %}
|
10
10
|
</div>
|
11
11
|
</div>
|
12
|
-
|
13
|
-
<div id="info-panel" class="
|
14
|
-
|
15
|
-
|
16
|
-
{% endblock %}
|
17
|
-
</div>
|
12
|
+
<div id="info-panel" class="column pt-0 px-0">
|
13
|
+
<div id="info-panel-content" class="p-0 mt-2">
|
14
|
+
{% block info_panel %}
|
15
|
+
{% endblock %}
|
18
16
|
</div>
|
19
|
-
|
17
|
+
</div>
|
20
18
|
</div>
|
21
19
|
{% endblock %}
|
@@ -2,7 +2,7 @@
|
|
2
2
|
{% load i18n %}
|
3
3
|
|
4
4
|
{% block content %}
|
5
|
-
<div class="columns is-desktop m-0">
|
5
|
+
<div class="columns is-desktop m-0" style="gap: 8px">
|
6
6
|
<div id="form-content" class="column p-0 is-8-desktop">
|
7
7
|
<div class="box mt-2">
|
8
8
|
{% if form.is_saved is False %}
|
@@ -11,13 +11,11 @@
|
|
11
11
|
{% block form %}{% endblock %}
|
12
12
|
</div>
|
13
13
|
</div>
|
14
|
-
|
15
|
-
<div id="info-panel" class="
|
16
|
-
|
17
|
-
|
18
|
-
{% endblock %}
|
19
|
-
</div>
|
14
|
+
<div id="info-panel" class="column pt-0 px-0">
|
15
|
+
<div id="info-panel-content" class="p-0 mt-2">
|
16
|
+
{% block info_panel %}
|
17
|
+
{% endblock %}
|
20
18
|
</div>
|
21
|
-
|
19
|
+
</div>
|
22
20
|
</div>
|
23
21
|
{% endblock %}
|
@@ -264,23 +264,5 @@
|
|
264
264
|
</div>
|
265
265
|
</div>
|
266
266
|
{% endif %}
|
267
|
-
{% if info_panel %}
|
268
|
-
<div id="info-panel-modal" class="modal">
|
269
|
-
<div class="modal-background" onclick="hideInfoPanelModal()"></div>
|
270
|
-
<div class="modal-card" style="height: 100%; border-top-left-radius: var(--bulma-radius-large); border-top-right-radius: var(--bulma-radius-large)">
|
271
|
-
{# <header class="modal-card-head">#}
|
272
|
-
{# <p class="modal-card-title"></p>#}
|
273
|
-
{# <button class="delete" aria-label="close" onclick="hideInfoPanelModal()"></button>#}
|
274
|
-
{# </header>#}
|
275
|
-
<section id="info-panel-modal-content" class="modal-card-body p-0" style="margin-top: -8px">
|
276
|
-
</section>
|
277
|
-
<footer class="modal-card-foot">
|
278
|
-
<button class="button is-fullwidth" onclick="hideInfoPanelModal()">
|
279
|
-
{% translate 'Close' %}
|
280
|
-
</button>
|
281
|
-
</footer>
|
282
|
-
</div>
|
283
|
-
</div>
|
284
|
-
{% endif %}
|
285
267
|
{% endblock %}
|
286
268
|
</body>
|
@@ -108,13 +108,6 @@
|
|
108
108
|
</button>
|
109
109
|
</div>
|
110
110
|
{% endif %}
|
111
|
-
{% if info_panel %}
|
112
|
-
<div class="is-flex is-hidden-desktop ml-2 py-1 pr-3">
|
113
|
-
<button id="modal-info-panel-button" class="button has-icon" onclick="showInfoPanelModal()">
|
114
|
-
<i class="fa fa-info"></i>
|
115
|
-
</button>
|
116
|
-
</div>
|
117
|
-
{% endif %}
|
118
111
|
</div>
|
119
112
|
<script>
|
120
113
|
function showActions(el) {
|
@@ -126,21 +119,5 @@
|
|
126
119
|
function closeActionsModal(modalId) {
|
127
120
|
document.getElementById(modalId).classList.remove('is-active');
|
128
121
|
}
|
129
|
-
|
130
|
-
function showInfoPanelModal() {
|
131
|
-
let infoPanelModal = document.getElementById('info-panel-modal');
|
132
|
-
let infoPanelModalContent = document.getElementById('info-panel-modal-content');
|
133
|
-
let infoPanelContent = document.getElementById('info-panel-content');
|
134
|
-
infoPanelModalContent.appendChild(infoPanelContent);
|
135
|
-
infoPanelModal.classList.add('is-active');
|
136
|
-
}
|
137
|
-
|
138
|
-
function hideInfoPanelModal() {
|
139
|
-
let infoPanelModal = document.getElementById('info-panel-modal');
|
140
|
-
let infoPanel = document.getElementById('info-panel');
|
141
|
-
let infoPanelContent = document.getElementById('info-panel-content');
|
142
|
-
infoPanelModal.classList.remove('is-active');
|
143
|
-
infoPanel.appendChild(infoPanelContent);
|
144
|
-
}
|
145
122
|
</script>
|
146
123
|
</div>
|
@@ -37,8 +37,8 @@ accrete/contrib/system_mail/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JC
|
|
37
37
|
accrete/contrib/ui/__init__.py,sha256=jU-3gQtEwtac-NPxFYCEoYF58WmCEanedXah4lETkWU,552
|
38
38
|
accrete/contrib/ui/admin.py,sha256=suMo4x8I3JBxAFBVIdE-5qnqZ6JAZV0FESABHOSc-vg,63
|
39
39
|
accrete/contrib/ui/apps.py,sha256=E0ao2ox6PQ3ldfeR17FXJUUJuGiWjm2DPCxHbPXGzls,152
|
40
|
-
accrete/contrib/ui/context.py,sha256=
|
41
|
-
accrete/contrib/ui/elements.py,sha256=
|
40
|
+
accrete/contrib/ui/context.py,sha256=kOJivwk_uvJWPijjErCZNizDrfb1WEK04M_kfb-0dM0,9769
|
41
|
+
accrete/contrib/ui/elements.py,sha256=IhK1WuhbJzV-Pvr0OVMkKrKpYYrl2knuvGimYECONfI,1917
|
42
42
|
accrete/contrib/ui/filter.py,sha256=UAIkUNKu2nVQLafwZlkQu4PDfOPyFM61e_mE7OWRhYs,12410
|
43
43
|
accrete/contrib/ui/tests.py,sha256=mrbGGRNg5jwbTJtWWa7zSKdDyeB4vmgZCRc2nk6VY-g,60
|
44
44
|
accrete/contrib/ui/urls.py,sha256=UrRRroqP6ANW_jpkRWqo2yLvBhYOVhczzbxbfkGnoq4,124
|
@@ -163,14 +163,14 @@ accrete/contrib/ui/templates/django/forms/widgets/select.html,sha256=jT_UnHizHfd
|
|
163
163
|
accrete/contrib/ui/templates/django/forms/widgets/text.html,sha256=MSmLlQc7PsPoDLVtTOOiWNprrsPriNr712yFxaHyDIo,47
|
164
164
|
accrete/contrib/ui/templates/django/forms/widgets/textarea.html,sha256=c9BTedqb3IkXLyVYd0p9pR8DFnsXCNGoxVBWZTk_Fic,278
|
165
165
|
accrete/contrib/ui/templates/ui/dashboard.html,sha256=udnwiSJEcn2wMaJfTs4P0Y20FU79VguK_9Lq4K2BqtM,160
|
166
|
-
accrete/contrib/ui/templates/ui/detail.html,sha256
|
167
|
-
accrete/contrib/ui/templates/ui/form.html,sha256=
|
168
|
-
accrete/contrib/ui/templates/ui/layout.html,sha256=
|
166
|
+
accrete/contrib/ui/templates/ui/detail.html,sha256=-Nksyufbf4onufqmFGTAW_BxLRNSWv1A9n8Qs2a6aCo,564
|
167
|
+
accrete/contrib/ui/templates/ui/form.html,sha256=uCtP16THdOuRfs3JdsjadIW0k9b2rN3GAsRSTfSUWak,691
|
168
|
+
accrete/contrib/ui/templates/ui/layout.html,sha256=abdGekzMYI4twq_cRFTKEnttb-QmNWrI9oQPrbnbqCQ,15688
|
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/header.html,sha256=
|
173
|
+
accrete/contrib/ui/templates/ui/partials/header.html,sha256=F-ffQGuqmL4ahhjW_tj9rCgrtqi1L-_KLRCs1ASmb90,6993
|
174
174
|
accrete/contrib/ui/templates/ui/partials/modal_form.html,sha256=XCeKjhvIi-vGl9wbFT-eBuFgKNOdKrG9mrVA95lBMkg,2033
|
175
175
|
accrete/contrib/ui/templates/ui/partials/onchange_form.html,sha256=8wNgZYnpa6ttc-OraOi1i02isJCcnaMtYwsmObc3qcY,109
|
176
176
|
accrete/contrib/ui/templates/ui/partials/pagination_detail.html,sha256=58nA3X7Il0FAD4VcYyr7tTGWRiVf_FN1TkImmKEpKHU,1014
|
@@ -221,7 +221,7 @@ accrete/utils/dates.py,sha256=apM6kt6JhGrKgoT0jfav1W-8AUVTxNc9xt3fJQ2n0JI,1492
|
|
221
221
|
accrete/utils/forms.py,sha256=Lll-DvAhKZDw72XeuCtb4wxQEJNFp7lQWh_Z1GyH3Zk,3049
|
222
222
|
accrete/utils/http.py,sha256=mAtQRgADv7zu1_j7A-EKVyb-oqa5a21i4Gd0QfjzGV0,3540
|
223
223
|
accrete/utils/models.py,sha256=EEhv7-sQVtQD24PEb3XcDUAh3VVhVFoMMLyFrDjGEaI,706
|
224
|
-
accrete-0.0.
|
225
|
-
accrete-0.0.
|
226
|
-
accrete-0.0.
|
227
|
-
accrete-0.0.
|
224
|
+
accrete-0.0.75.dist-info/METADATA,sha256=Beuc15e3mBqM_oSNp-FURZv6U7DU8vmfK0uuFFoPBPE,4892
|
225
|
+
accrete-0.0.75.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
226
|
+
accrete-0.0.75.dist-info/licenses/LICENSE,sha256=_7laeMIHnsd3Y2vJEXDYXq_PEXxIcjgJsGt8UIKTRWc,1057
|
227
|
+
accrete-0.0.75.dist-info/RECORD,,
|
File without changes
|
File without changes
|