diff options
Diffstat (limited to 'views')
-rw-r--r-- | views/instant_search_results.html | 2 | ||||
-rw-r--r-- | views/list.html | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/views/instant_search_results.html b/views/instant_search_results.html index 9c5a476..0472879 100644 --- a/views/instant_search_results.html +++ b/views/instant_search_results.html | |||
@@ -1,6 +1,6 @@ | |||
1 | {{ define "instant_search_results" }} | 1 | {{ define "instant_search_results" }} |
2 | {{ range .results }} | 2 | {{ range .results }} |
3 | <li class="collection-item avatar hoverable valign-wrapper"> | 3 | <li class="collection-item search-result avatar hoverable valign-wrapper" onClick="clickSearchResult({{ .ID }})" > |
4 | <img src="/{{ .ImagePath }}" alt="" class="circle"> | 4 | <img src="/{{ .ImagePath }}" alt="" class="circle"> |
5 | <span class="title">{{ .Name }}</span> | 5 | <span class="title">{{ .Name }}</span> |
6 | </li> | 6 | </li> |
diff --git a/views/list.html b/views/list.html index 7963004..daa56cd 100644 --- a/views/list.html +++ b/views/list.html | |||
@@ -9,6 +9,7 @@ | |||
9 | <link rel="stylesheet" href="/assets/css/search.css" /> | 9 | <link rel="stylesheet" href="/assets/css/search.css" /> |
10 | <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> | 10 | <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> |
11 | <script src="/assets/js/search.js"></script> | 11 | <script src="/assets/js/search.js"></script> |
12 | <script src="/assets/js/list.js"></script> | ||
12 | <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"> | 13 | <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"> |
13 | </head> | 14 | </head> |
14 | <body> | 15 | <body> |