aboutsummaryrefslogtreecommitdiff
path: root/templates/directory.html
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-08-16 16:27:20 +0200
committerAlex Auvolat <alex@adnab.me>2021-08-16 16:27:20 +0200
commit01bf4aa52279630910ce33d065efcda77e6df7bb (patch)
tree78dd9c82e09388aae5fd9f4847c0b854f9846de5 /templates/directory.html
parente94bd728ec7f709883fb232b2eb123543ba5660e (diff)
downloadguichet-01bf4aa52279630910ce33d065efcda77e6df7bb.tar.gz
guichet-01bf4aa52279630910ce33d065efcda77e6df7bb.zip
Fix directory searching
Diffstat (limited to 'templates/directory.html')
-rw-r--r--templates/directory.html38
1 files changed, 13 insertions, 25 deletions
diff --git a/templates/directory.html b/templates/directory.html
index f9bad61..d995fb2 100644
--- a/templates/directory.html
+++ b/templates/directory.html
@@ -1,35 +1,23 @@
-{{define "title"}}Directory |{{end}}
+{{define "title"}}Annuaire |{{end}}
{{define "body"}}
<div class="d-flex">
- <h4>Directory</h4>
+ <h4>Annuaire</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>
+<form>
+ <div class="form-group form-row">
+ <div class="col-sm-2">&nbsp;</div>
+ <label for="search" class="col-sm-2 col-form-label">Rechercher :</label>
+ <input class="form-control col-sm-4" id="search" name="search" type="text" onkeyup="searchDirectory()" size="20">
+ </div>
+</form>
+
+<div id="search-results"></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>
+<script src="/static/javascript/search.js"></script>
-{{end}} \ No newline at end of file
+{{end}}