diff options
author | nodiscc <nodiscc@gmail.com> | 2015-06-23 14:18:31 +0200 |
---|---|---|
committer | nodiscc <nodiscc@gmail.com> | 2015-06-23 14:18:31 +0200 |
commit | 0fe36414c86e8417974d847f8d6d28c90def9ccc (patch) | |
tree | aceae145e8467302ac9c68c9bb2adeeffb9a9af4 /tpl/linklist.html | |
parent | 7d338fa5315a9de59cfff924114ec73e62380466 (diff) | |
parent | 65d62517443b67fc4a180c43b50fe62f11b9e3b6 (diff) | |
download | Shaarli-0fe36414c86e8417974d847f8d6d28c90def9ccc.tar.gz Shaarli-0fe36414c86e8417974d847f8d6d28c90def9ccc.tar.zst Shaarli-0fe36414c86e8417974d847f8d6d28c90def9ccc.zip |
Merge remote-tracking branch 'ArthurHoaro/search-tag-awesomplete' into next
Diffstat (limited to 'tpl/linklist.html')
-rw-r--r-- | tpl/linklist.html | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/tpl/linklist.html b/tpl/linklist.html index 766a80ce..47e67e71 100644 --- a/tpl/linklist.html +++ b/tpl/linklist.html | |||
@@ -1,12 +1,21 @@ | |||
1 | <!DOCTYPE html> | 1 | <!DOCTYPE html> |
2 | <html> | 2 | <html> |
3 | <head>{include="includes"}</head> | 3 | <head> |
4 | <link type="text/css" rel="stylesheet" href="../inc/awesomplete.css" /> | ||
5 | {include="includes"} | ||
6 | </head> | ||
4 | <body> | 7 | <body> |
5 | <div id="pageheader"> | 8 | <div id="pageheader"> |
6 | {include="page.header"} | 9 | {include="page.header"} |
7 | <div id="headerform" class="search"> | 10 | <div id="headerform" class="search"> |
8 | <form method="GET" class="searchform" name="searchform"><input type="text" id="searchform_value" name="searchterm" placeholder="Search text" value=""> <input type="submit" value="Search" class="bigbutton"></form> | 11 | <form method="GET" class="searchform" name="searchform"><input type="text" id="searchform_value" name="searchterm" placeholder="Search text" value=""> <input type="submit" value="Search" class="bigbutton"></form> |
9 | <form method="GET" class="tagfilter" name="tagfilter"><input type="text" name="searchtags" id="tagfilter_value" placeholder="Filter by tag" value=""> <input type="submit" value="Search" class="bigbutton"></form> | 12 | <form method="GET" class="tagfilter" name="tagfilter"> |
13 | <input type="text" name="searchtags" id="tagfilter_value" placeholder="Filter by tag" value="" list="tagsList" autocomplete="off" class="awesomplete" data-minChars="1"> | ||
14 | <datalist id="tagsList"> | ||
15 | {loop="$tags"}<option>{$key}</option>{/loop} | ||
16 | </datalist> | ||
17 | <input type="submit" value="Search" class="bigbutton"> | ||
18 | </form> | ||
10 | </div> | 19 | </div> |
11 | </div> | 20 | </div> |
12 | 21 | ||
@@ -129,5 +138,6 @@ function showQrCode(caller,loading) | |||
129 | return false; | 138 | return false; |
130 | } | 139 | } |
131 | </script> | 140 | </script> |
141 | <script src="inc/awesomplete.min.js#"></script> | ||
132 | </body> | 142 | </body> |
133 | </html> | 143 | </html> |