This commit is contained in:
Ross
2022-04-21 16:35:06 +01:00
parent bcc2edf273
commit 30338794f5
+10 -7
View File
@@ -1,21 +1,18 @@
<h3>Current</h3>
<h3>CID Users</h3>
<ol>
{% for cid in current_cid_users %}
<li><a href="{% url 'generic:update_cid' cid.pk %}">{{cid.cid}}</a> [{{cid.passcode}}] {{cid.name}} /
Email: {{cid.email}} <button class="toggle-btn" data-pk="{{cid.pk}}">Toggle<button>
Email: {{cid.email}} <button class="toggle-btn current" data-pk="{{cid.pk}}">Toggle<button>
</li>
{% endfor %}
</ol>
<h3>Available</h3>
<ol>
{% for cid in available_cid_users %}
<li><a href="{% url 'generic:update_cid' cid.pk %}">{{cid.cid}}</a> [{{cid.passcode}}] {{cid.name}} /
Email: {{cid.email}}
Email: {{cid.email}} <button class="toggle-btn" data-pk="{{cid.pk}}">Toggle<button>
</li>
{% endfor %}
@@ -31,4 +28,10 @@
});
})
})
</script>
<style>
.current {
color: purple;
}
</style>