a2a484daba
Correct when empty result The image showed when the result was empty. Now if the `dn == ""` then we write in the column image just `""`
35 lines
No EOL
799 B
HTML
35 lines
No EOL
799 B
HTML
{{define "title"}}Directory |{{end}}
|
|
|
|
{{define "body"}}
|
|
<div class="d-flex">
|
|
<h4>Directory</h4>
|
|
<a class="ml-auto btn btn-info" href="/">Menu principal</a>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="d-flex">
|
|
<div class="d-flex mx-auto">
|
|
<p class="">Name:</p>
|
|
<form class="px-2" style="width: fit-content;">
|
|
<input id="search" type="text" onkeyup="searchDirectory()" size="20">
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
<table class="table mt-4">
|
|
<thead>
|
|
<th scope="col">Profil image</th>
|
|
<th scope="col">Identifiant</th>
|
|
<th scope="col">Nom complet</th>
|
|
<th scope="col">Email</th>
|
|
<th scope="col">Description</th>
|
|
</thead>
|
|
<tbody id="users">
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<script src="/static/javascript/search.js"></script>
|
|
|
|
{{end}} |