aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/directory.html33
-rw-r--r--templates/home.html1
-rw-r--r--templates/layout.html1
3 files changed, 35 insertions, 0 deletions
diff --git a/templates/directory.html b/templates/directory.html
new file mode 100644
index 0000000..bdc587f
--- /dev/null
+++ b/templates/directory.html
@@ -0,0 +1,33 @@
+{{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">Identifiant</th>
+ <th scope="col">Nom complet</th>
+ <th scope="col">Email</th>
+ </thead>
+ <tbody id="users">
+
+
+ </tbody>
+ </table>
+ <script src="/static/javascript/search.js"></script>
+
+{{end}} \ No newline at end of file
diff --git a/templates/home.html b/templates/home.html
index 5556ba7..7d8cc99 100644
--- a/templates/home.html
+++ b/templates/home.html
@@ -16,6 +16,7 @@
<div class="list-group list-group-flush">
<a class="list-group-item list-group-item-action" href="/profile">Modifier mon profil</a>
<a class="list-group-item list-group-item-action" href="/passwd">Modifier mon mot de passe</a>
+ <a class="list-group-item list-group-item-action" href="/directory">Annuaire</a>
</div>
</div>
diff --git a/templates/layout.html b/templates/layout.html
index 5f4a315..f59f9fe 100644
--- a/templates/layout.html
+++ b/templates/layout.html
@@ -6,6 +6,7 @@
<link rel="stylesheet" href="/static/css/bootstrap.min.css">
+
<title>{{template "title"}} Guichet</title>
</head>
<body>