Added a basic user search
This commit is contained in:
@ -8,23 +8,23 @@
|
||||
</header>
|
||||
|
||||
<div class="row">
|
||||
<form id="loginForm" class="columns twelve">
|
||||
<form id="loginForm" class="columns twelve" action="/auth/login" method="POST">
|
||||
<div class="row">
|
||||
<label class="columns twelve">
|
||||
LDAP Host:
|
||||
<input class="u-full-width" type="text" name="ldap_host" placeholder="Enter LDAP host...">
|
||||
<input class="u-full-width" type="text" name="ldap_bind_host" placeholder="Enter LDAP host...">
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<label class="columns six">
|
||||
Bind DN:
|
||||
<input class="u-full-width" type="text" name="bind_dn" placeholder="Enter bind DN...">
|
||||
<input class="u-full-width" type="text" name="ldap_bind_dn" placeholder="Enter bind DN...">
|
||||
</label>
|
||||
|
||||
<label class="columns six">
|
||||
Bind Password:
|
||||
<input class="u-full-width" type="password" name="bind_pw" placeholder="Enter bind password...">
|
||||
<input class="u-full-width" type="password" name="ldap_bind_pw" placeholder="Enter bind password...">
|
||||
</label>
|
||||
</div>
|
||||
|
||||
|
@ -28,7 +28,15 @@
|
||||
<th>Email Address</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="ldapUserList"></tbody>
|
||||
<tbody id="ldapUserList">
|
||||
{% for user in users %}
|
||||
<tr>
|
||||
<td>{{ user.uid }}</td>
|
||||
<td>{{ user.displayName }}</td>
|
||||
<td>{{ user.mail }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user