NEMO-CE 7.3.10__py3-none-any.whl → 7.3.11__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.
- NEMO/apps/kiosk/templates/kiosk/tool_information.html +13 -6
- NEMO/templates/tool_control/tool_status.html +11 -6
- NEMO/widgets/dynamic_form.py +1 -0
- {nemo_ce-7.3.10.dist-info → nemo_ce-7.3.11.dist-info}/METADATA +1 -1
- {nemo_ce-7.3.10.dist-info → nemo_ce-7.3.11.dist-info}/RECORD +9 -9
- {nemo_ce-7.3.10.dist-info → nemo_ce-7.3.11.dist-info}/WHEEL +0 -0
- {nemo_ce-7.3.10.dist-info → nemo_ce-7.3.11.dist-info}/entry_points.txt +0 -0
- {nemo_ce-7.3.10.dist-info → nemo_ce-7.3.11.dist-info}/licenses/LICENSE +0 -0
- {nemo_ce-7.3.10.dist-info → nemo_ce-7.3.11.dist-info}/top_level.txt +0 -0
|
@@ -582,12 +582,19 @@
|
|
|
582
582
|
update_stop_button();
|
|
583
583
|
{% if customer.active_projects|length == 1 %}update_start_button();{% endif %}
|
|
584
584
|
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
585
|
+
$('body').on('dynamic-form-group-changed dynamic-form-field-changed', function (event, event_data)
|
|
586
|
+
{
|
|
587
|
+
if (event_data.questions_type === "pre")
|
|
588
|
+
{
|
|
589
|
+
update_start_button();
|
|
590
|
+
}
|
|
591
|
+
else if (event_data.questions_type === "post")
|
|
592
|
+
{
|
|
593
|
+
update_stop_button();
|
|
594
|
+
}
|
|
595
|
+
});
|
|
596
|
+
$('body').on('change keyup', '#downtime', update_stop_button);
|
|
597
|
+
|
|
591
598
|
if (virtual_inputs)
|
|
592
599
|
{
|
|
593
600
|
$('#downtime').numpad({'readonly': false, 'hidePlusMinusButton': true, 'hideDecimalButton': true});
|
|
@@ -1200,10 +1200,15 @@
|
|
|
1200
1200
|
show_alerts();
|
|
1201
1201
|
update_stop_button();
|
|
1202
1202
|
update_start_button();
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1203
|
+
$('body').on('dynamic-form-group-changed dynamic-form-field-changed', function (event, event_data)
|
|
1204
|
+
{
|
|
1205
|
+
if (event_data.questions_type === "pre")
|
|
1206
|
+
{
|
|
1207
|
+
update_start_button();
|
|
1208
|
+
}
|
|
1209
|
+
else if (event_data.questions_type === "post")
|
|
1210
|
+
{
|
|
1211
|
+
update_stop_button();
|
|
1212
|
+
}
|
|
1213
|
+
});
|
|
1209
1214
|
</script>
|
NEMO/widgets/dynamic_form.py
CHANGED
|
@@ -1112,6 +1112,7 @@ def get_js_event_data(item, dynamic_field_name: str, extra_data=None) -> str:
|
|
|
1112
1112
|
"item_type_id": ContentType.objects.get_for_model(item).id,
|
|
1113
1113
|
"item_id": item.id,
|
|
1114
1114
|
"field_name": dynamic_field_name,
|
|
1115
|
+
"questions_type": getattr(item, "questions_type", None),
|
|
1115
1116
|
**extra_data,
|
|
1116
1117
|
}
|
|
1117
1118
|
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: NEMO-CE
|
|
3
|
-
Version: 7.3.
|
|
3
|
+
Version: 7.3.11
|
|
4
4
|
Summary: NEMO Community Edition is a laboratory logistics web application based of NEMO. Use it to schedule reservations, control tool access, track maintenance issues, and more.
|
|
5
5
|
Author-email: Atlantis Labs LLC <atlantis@atlantislabs.io>
|
|
6
6
|
License: MIT License
|
|
@@ -66,7 +66,7 @@ NEMO/apps/kiosk/templates/kiosk/individual_reservation.html,sha256=A9VPlq4wy50UY
|
|
|
66
66
|
NEMO/apps/kiosk/templates/kiosk/kiosk.html,sha256=0mk5CG2jvunD8OsLRwthBMaJiE_JkVHbBLvkvBHieWE,21953
|
|
67
67
|
NEMO/apps/kiosk/templates/kiosk/success.html,sha256=InRFyKv-25d3jUcp9y5-TFckaoDQ3qo2JC0vRc1Ijn8,1003
|
|
68
68
|
NEMO/apps/kiosk/templates/kiosk/tool_categories.html,sha256=gdQSNTnJedORQzAgJx-4NvbEiR0VYTzGvSmd6nkDhts,1887
|
|
69
|
-
NEMO/apps/kiosk/templates/kiosk/tool_information.html,sha256=
|
|
69
|
+
NEMO/apps/kiosk/templates/kiosk/tool_information.html,sha256=7jMgX4LfXEwk-s2DU6UmFds0kSR-liSyvLPCz7MpgqA,33169
|
|
70
70
|
NEMO/apps/kiosk/templates/kiosk/tool_post_comment.html,sha256=Dm03xtwl5tO-U9fW_pwP4Y5o5YEJSCJG6OMJOtrhRv0,3761
|
|
71
71
|
NEMO/apps/kiosk/templates/kiosk/tool_project_selection_snippet.html,sha256=B3TQTrOgegt3yLmG9ZxnVdrKJBEBsYFGpdmkAV6yg3Q,1729
|
|
72
72
|
NEMO/apps/kiosk/templates/kiosk/tool_report_problem.html,sha256=GjaxXv6UlMHz0nXAF4bnZnxbi4upQRtGVQzDn-Wb9zU,7154
|
|
@@ -463,7 +463,7 @@ NEMO/templates/tool_control/logout_user.html,sha256=UCII2yaDkBFqC-9tyBo8QiqRiZNV
|
|
|
463
463
|
NEMO/templates/tool_control/past_tasks_and_comments.html,sha256=NnerYy8BKMqdvsz8PJuWuU4VN6zJfqARHm35gnwWeCM,5175
|
|
464
464
|
NEMO/templates/tool_control/qualified_users.html,sha256=ZPmdePYF0aW_oJO44woEb_PRlXfOB0V4PMJVub79b6g,5974
|
|
465
465
|
NEMO/templates/tool_control/tool_control.html,sha256=mAtFwqVJFzLcKgUcmKtPtvcjfpjFX6YiXRTrFSQacrc,19558
|
|
466
|
-
NEMO/templates/tool_control/tool_status.html,sha256=
|
|
466
|
+
NEMO/templates/tool_control/tool_status.html,sha256=UU6UAsd50iMSjQAqvS81zMgIagAstvZlg1pvJoqPzm8,76959
|
|
467
467
|
NEMO/templates/tool_control/usage_data.html,sha256=gogSex9YAP7jE32Qeb1AyD4NJeLaSEFd6cVQuy7KVGA,12680
|
|
468
468
|
NEMO/templates/tool_control/use_tool_for_other.html,sha256=JqZM4rpy7UE_zuk8w42ShY3o7PPMd3LcW_L0RelNChk,430
|
|
469
469
|
NEMO/templates/tool_credentials/tool_credentials.html,sha256=nPZsZZJmRFTXMeE_IxW-M8_zYNPHaxzsCXXxMULrN9c,3551
|
|
@@ -589,11 +589,11 @@ NEMO/views/user_requests.py,sha256=fT9kqwln8IJAc8lZRLJJar47pAwYGoi2n4CZpJLvKgE,1
|
|
|
589
589
|
NEMO/views/users.py,sha256=MdNtzw66ZLRR6J9qSV8CYwsKtprAv5B4CBhVyfmGCCw,28289
|
|
590
590
|
NEMO/widgets/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
591
591
|
NEMO/widgets/configuration_editor.py,sha256=aWgg6rYrgSZcPSURU0Fs48nPSBncXlRyGVPqvx89PaA,4496
|
|
592
|
-
NEMO/widgets/dynamic_form.py,sha256=
|
|
592
|
+
NEMO/widgets/dynamic_form.py,sha256=KBhHgUtOsCqlyNGq9i_z9u0OBjIEQzBjZ63n0RxWPMg,59774
|
|
593
593
|
NEMO/widgets/item_tree.py,sha256=tl1d0EgwVXFQQhCmZvcjB_1qmla9qvGxyWBLwWpgxfU,9964
|
|
594
|
-
nemo_ce-7.3.
|
|
595
|
-
nemo_ce-7.3.
|
|
596
|
-
nemo_ce-7.3.
|
|
597
|
-
nemo_ce-7.3.
|
|
598
|
-
nemo_ce-7.3.
|
|
599
|
-
nemo_ce-7.3.
|
|
594
|
+
nemo_ce-7.3.11.dist-info/licenses/LICENSE,sha256=O-0zMbcEi6wXz1DiSdVgzMlQjJcNqNe5KDv08uYzqR0,1055
|
|
595
|
+
nemo_ce-7.3.11.dist-info/METADATA,sha256=9ZaPb6q8SQLLUBvYgQxtx9jllh_lY-x4p49uFcQvvUY,3805
|
|
596
|
+
nemo_ce-7.3.11.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
597
|
+
nemo_ce-7.3.11.dist-info/entry_points.txt,sha256=ESVtd5EFgPSKwlEZ92GSowvz-wM7K3f11Xr15Qk2a40,55
|
|
598
|
+
nemo_ce-7.3.11.dist-info/top_level.txt,sha256=PraGZBuSHU5e2U69ztvBNqTyC7zHCNCbjF3rpqqBu0o,5
|
|
599
|
+
nemo_ce-7.3.11.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|