summaryrefslogtreecommitdiffstats
path: root/ogcp/templates
diff options
context:
space:
mode:
authorAlejandro Sirgo Rica <asirgo@soleta.eu>2024-06-13 13:07:49 +0200
committerAlejandro Sirgo Rica <asirgo@soleta.eu>2024-06-14 09:25:36 +0200
commit5d9780e8d80df941000230a7ba3e2d9e96f44756 (patch)
tree0751917070641e52d5ae570a66b4e7a1286e51b9 /ogcp/templates
parent37ae1bc5a218d0901431f6ab319f766b105c0773 (diff)
js: allow selection of multiple clients in scopes sidebar
Allow the selection of multiple client checkboxes if they belong to the same room. Each checkbox input in the DOM has a "data-parent-room" attribute whose value is the value of the "name" attribute of its parent room scope component. To check if a checkbox is a client and a sibling of the one being checked we check if "data-parent-room" is available for both nodes and if they have the same value.
Diffstat (limited to 'ogcp/templates')
-rw-r--r--ogcp/templates/base.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/ogcp/templates/base.html b/ogcp/templates/base.html
index 30dc3bb..22fe086 100644
--- a/ogcp/templates/base.html
+++ b/ogcp/templates/base.html
@@ -111,7 +111,7 @@
<!-- ChartJS -->
<script src="{{ url_for('static', filename='AdminLTE/plugins/chart.js/Chart.min.js') }}"></script>
- <script src="{{ url_for('static', filename='js/ogcp.js') }}?v=7"></script>
+ <script src="{{ url_for('static', filename='js/ogcp.js') }}?v=8"></script>
<script>
// error messages