aboutsummaryrefslogtreecommitdiff
path: root/templates/directory_results.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/directory_results.html')
-rw-r--r--templates/directory_results.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/templates/directory_results.html b/templates/directory_results.html
new file mode 100644
index 0000000..c7dd715
--- /dev/null
+++ b/templates/directory_results.html
@@ -0,0 +1,23 @@
+{{if .Results}}
+ {{range .Results}}
+ <div class="card mt-4">
+ <div class="card-body">
+ <div class="float-right">
+ {{if .ProfilePicture}}
+ <a href="/picture/{{.ProfilePicture}}">
+ <img src="/picture/{{.ProfilePicture}}-thumb"/>
+ </a>
+ {{else}}
+ {{end}}
+ </div>
+ <h5 class="card-title">
+ {{.DisplayName}}
+ <code>{{.Id}}@</code>
+ </h5>
+ <p class="card-text">{{.Description}}</p>
+ </div>
+ </div>
+ {{end}}
+{{else}}
+ Aucun résultat.
+{{end}}