]> git.plutz.net Git - serve0/blob - templates/tree.html.sh
more compact menues
[serve0] / templates / tree.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   <form class="panel top" id="search" action="?" method="get" accept-charset="UTF-8">
20     <input type="text" name="s" value="$search" placeholder="Search">
21     <input type="submit" name="submit" value="Find">
22     <a class="panel clearsearch" href="?p=tree">Clear All</a>
23
24     <a class="panel toggle" href="#morelinks">More</a>
25   </form>
26
27   <div class="panel switchable top" id="morelinks">
28     <a class="panel toggle" href="#">Hide</a>
29
30     <a class="panel toggle" href="#advfilter">Advanced</a>
31     <a class="panel toggle" href="#preferences">Preferences</a>
32
33     <a class="panel listview" href="?p=list">Index view</a>
34     <a class="panel" href="?p=quicklinks">Most recent</a>
35     <a class="panel" href="?p=playctl">Player</a>
36   </div>
37
38   $(. $_EXEC/templates/preferences.html.sh)
39
40   <form action="?action=multitag&${page_this}" method="post" accept-charset="UTF-8">
41     <ul id="thumblist">
42       $(filelist)
43     </ul>
44     $(. $_EXEC/templates/tagger.html.sh)
45   </form>
46
47   <div class="panel bottom" id="foot">
48     <a class="panel toggle" href="#tagger">Add Tags</a>
49     <a class="panel toggle" href="#">⇧</a>
50   </div>
51
52 EOF
53
54 # vi:set filetype=html: