Adding LDAP login

This commit is contained in:
Ian Roddis committed 2026-07-16 17:05:30 -03:00
1 parent ab39191af5
commit cda15df2ed
22 files changed
+582 -15

No files matched your search

+10
View File
@@ -28,6 +28,16 @@
</tbody>
</table>
</td>
<td>
{% if r.is_default %}
<span class="tag">default</span>
{% else %}
<button class="btn btn-ghost"
hx-post="/admin/roles/{{ r.id }}/default"
hx-target="#role-list"
hx-swap="outerHTML">Make default</button>
{% endif %}
</td>
<td class="row-actions">
<button class="btn btn-ghost"
hx-get="/admin/roles/{{ r.id }}/edit"
+1 -1
View File
@@ -1,5 +1,5 @@
<tr id="role-{{ r.id }}">
<td colspan="5">
<td colspan="6">
<form hx-post="/admin/roles/{{ r.id }}"
hx-target="#role-{{ r.id }}"
hx-swap="outerHTML"
+1 -1
View File
@@ -1,7 +1,7 @@
<div id="role-list" class="card">
<table class="table">
<thead>
<tr><th>ID</th><th>Name</th><th>Description</th><th>Permissions</th><th></th></tr>
<tr><th>ID</th><th>Name</th><th>Description</th><th>Permissions</th><th>Default</th><th></th></tr>
</thead>
<tbody>
{% for r in roles %}