diff options
author | rtz12 <koenig@fagott.pw> | 2016-01-17 20:31:26 (UTC) |
---|---|---|
committer | rtz12 <koenig@fagott.pw> | 2016-01-17 20:31:26 (UTC) |
commit | 6cb2de0a1f583ef8d018e430181a7414fa7faff1 (patch) | |
tree | e2c60cc9ae28ef98bcc410e54b99a613b7267831 /views/includes/instant_search_results.html | |
parent | b868b32d348e6350225560b71c8712c2e932b063 (diff) |
Ordnung in die Templates gebracht
Diffstat (limited to 'views/includes/instant_search_results.html')
-rw-r--r-- | views/includes/instant_search_results.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/views/includes/instant_search_results.html b/views/includes/instant_search_results.html new file mode 100644 index 0000000..0dd445c --- /dev/null +++ b/views/includes/instant_search_results.html | |||
@@ -0,0 +1,8 @@ | |||
1 | {{ define "instant_search_results" }} | ||
2 | {{ range .results }} | ||
3 | <li class="collection-item search-result avatar hoverable valign-wrapper" onClick="clickSearchResult({{ .ID }})" > | ||
4 | <img src="/{{ .ImagePath }}" alt="" class="circle"> | ||
5 | <span class="title valign">{ {{ .Name }} }</span> | ||
6 | </li> | ||
7 | {{ end }} | ||
8 | {{ end }} \ No newline at end of file | ||