]> git.plutz.net Git - serve0/blob - templates/quicklinks.html.sh
styling for pagination links
[serve0] / templates / quicklinks.html.sh
1 # Copyright 2014 - 2016 Paul Hänsch
2 #
3 # This file is part of Serve0
4
5 # Serve0 is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU Affero General Public License as published by
7 # the Free Software Foundation, either version 3 of the License, or
8 # (at your option) any later version.
9
10 # Serve0 is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU Affero General Public License for more details.
14
15 # You should have received a copy of the GNU Affero General Public License
16 # along with Serve0  If not, see <http://www.gnu.org/licenses/>. 
17
18 cat <<EOF
19   <input type=radio name=topmenu id=btn_search checked><label for=btn_search>Search</label>
20   <form class="panel" id="search" action="?" method="get" accept-charset="UTF-8">
21     <input type="text" name="s" value="$search" placeholder="Search">
22
23     <select class="order" size="1" name="o" id="o1">
24       <option class="label" selected disabled>Order by</option>
25       <option>Name</option>
26       <option>Date</option>
27       <option>Length</option>
28     </select>
29     <!-- input type="submit" name="submit" value="Find" -->
30
31     <a class="panel clearsearch" href="?">Clear</a>
32   </form>
33
34   <input type=radio name=topmenu id=btn_advfilter><label for=btn_advfilter>Advanced</label>
35   $(. $_EXEC/templates/advfilter.html.sh)
36
37   <input type=radio name=topmenu id=btn_preferences><label for=btn_preferences>Preferences</label>
38   $(. $_EXEC/templates/preferences.html.sh)
39
40   <input type=radio name=topmenu id=btn_morelinks><label for=btn_morelinks>{+}</label>
41   <div class="panel switchable top" id="morelinks">
42     <a class="panel toggle" href="#">Hide</a>
43
44     <a class="panel listview" href="?p=list">Index view</a>
45     <a class="panel treeview" href="?p=browse">Browse Folders</a>
46     <a class="panel" href="?p=playctl">Player</a>
47   </div>
48
49   <p class="quicklinks">
50     <label class="quicklinks">Most recent</label>
51     $(quicklinks)
52   </p>
53
54   <div class="panel" id="foot">
55     <a class="panel toggle" href="#preferences">Preferences</a>
56     <a class="panel treeview" href="?p=browse">Browse Folders</a>
57   </div>
58
59   $(. $_EXEC/templates/preferences.html.sh)
60   $(. $_EXEC/templates/advfilter.html.sh)
61 EOF
62
63 # vi:set filetype=html: