aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/page.header.html
diff options
context:
space:
mode:
authorLucas Cimon <lucas.cimon@gmail.com>2017-06-01 17:55:26 +0200
committerLucas Cimon <lucas.cimon@gmail.com>2017-07-30 16:19:34 +0200
commitf210d94f716acd86fd22c9651f591a778490e8a9 (patch)
tree7076edacd0b0f1d8fc4137ed8054286a1a68576f /tpl/default/page.header.html
parentd5d22a6d07917865c44148ad76f43c65a929a890 (diff)
downloadShaarli-f210d94f716acd86fd22c9651f591a778490e8a9.tar.gz
Shaarli-f210d94f716acd86fd22c9651f591a778490e8a9.tar.zst
Shaarli-f210d94f716acd86fd22c9651f591a778490e8a9.zip
Using only one form in linklist.html + adding untaggedonly filter - fix #885
Diffstat (limited to 'tpl/default/page.header.html')
-rw-r--r--tpl/default/page.header.html39
1 files changed, 15 insertions, 24 deletions
diff --git a/tpl/default/page.header.html b/tpl/default/page.header.html
index 6c71a718..2411703c 100644
--- a/tpl/default/page.header.html
+++ b/tpl/default/page.header.html
@@ -97,30 +97,21 @@
97 97
98<div id="content"> 98<div id="content">
99 <div id="search" class="subheader-form"> 99 <div id="search" class="subheader-form">
100 <div class="pure-g"> 100 <form method="GET" class="pure-form searchform" name="searchform">
101 <div class="pure-u-1 pure-u-lg-1-2"> 101 <input type="text" tabindex="1" id="searchform_value" name="searchterm" placeholder="{'Search text'|t}"
102 <form method="GET" class="searchform" name="searchform"> 102 {if="!empty($search_term)"}
103 <input type="text" tabindex="1" id="searchform_value" name="searchterm" placeholder="{'Search text'|t}" 103 value="{$search_term}"
104 {if="!empty($search_term)"} 104 {/if}
105 value="{$search_term}" 105 >
106 {/if} 106 <input type="text" tabindex="2" name="searchtags" id="tagfilter_value" placeholder="{'Filter by tag'|t}"
107 > 107 {if="!empty($search_tags)"}
108 <button type="submit" class="search-button"><i class="fa fa-search"></i></button> 108 value="{$search_tags}"
109 </form> 109 {/if}
110 </div> 110 autocomplete="off" data-multiple data-autofirst data-minChars="1"
111 <div class="pure-u-1 pure-u-lg-1-2"> 111 data-list="{loop="$tags"}{$key}, {/loop}"
112 <form method="GET" class="tagfilter" name="tagfilter"> 112 >
113 <input type="text" tabindex="2" name="searchtags" id="tagfilter_value" placeholder="{'Filter by tag'|t}" 113 <button type="submit" class="search-button"><i class="fa fa-search"></i></button>
114 {if="!empty($search_tags)"} 114 </form>
115 value="{$search_tags}"
116 {/if}
117 autocomplete="off" data-multiple data-autofirst data-minChars="1"
118 data-list="{loop="$tags"}{$key}, {/loop}"
119 >
120 <button type="submit" class="search-button"><i class="fa fa-search"></i></button>
121 </form>
122 </div>
123 </div>
124 </div> 115 </div>
125 <div id="actions" class="subheader-form"> 116 <div id="actions" class="subheader-form">
126 <div class="pure-g"> 117 <div class="pure-g">