a few more management changes

This commit is contained in:
Ross
2024-08-12 10:56:20 +01:00
parent 6fe2bae8a8
commit 2d185aa95f
5 changed files with 21 additions and 7 deletions
@@ -22,7 +22,7 @@
{% endfor %}
</ol>
{% comment %} Hide the toggle button if there are no users (to add or remove) {% endcomment %}
{% comment %} Hide the toggle button if there are no users (to add or remove) {% endcomment %}
{% if current_cid_users or available_cid_users %}
<p><button class="toggle-all-btn">Toggle all</button></p>
{% endif %}
@@ -6,6 +6,10 @@
<h3>Groups</h3>
<p>Groups are used to control will users are available for the exam. If a user is not in a group, they will not be available to add to the exam.</p>
<p>Muliple groups can be added to an exam.</p>
<p>Two type of groups exist. CID groups are used for external candidates. User groups are used for internal candidates.</p>
<form action="" method="post">
{% csrf_token %}
<table>
@@ -30,7 +30,10 @@
{% endfor %}
</ol>
<p><button class="toggle-all-btn">Toggle all</button></p>
{% comment %} Hide the toggle button if there are no users (to add or remove) {% endcomment %}
{% if current_cid_users or available_cid_users %}
<p><button class="toggle-all-btn">Toggle all</button></p>
{% endif %}
<script>
$(document).ready(() => {