1 # Copyright 2014 - 2016 Paul Hänsch
3 # This file is part of Serve0
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.
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.
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/>.
19 <form class="panel" id="search" action="?" method="get" accept-charset="UTF-8">
20 <input type="text" name="s" value="$search" placeholder="Search">
22 <select class="order" size="1" name="o" id="o1">
23 <option class="label" selected disabled>Order by</option>
26 <option>Length</option>
28 <!-- input type="submit" name="submit" value="Find" -->
30 <a class="panel clearsearch" href="?">Clear All</a>
31 <a class="panel toggle" href="#advfilter">Advanced</a>
32 <a class="panel toggle" href="#playctl">Player</a>
34 <div class="pagination_nav">
38 plink="$(($pn * $pagesize - $pagesize + 1))"
39 printf '<a %s href="?%spn=%s">%s</a>\n' "$([ $plink = $page ] && printf class=current)" "$page_link" "$plink" "$pn"
45 <div class="panel" id="playctl">
46 <a class="panel toggle" href="#">Hide</a>
47 <form action="?action=playctl" method="post">
48 <button type="submit" name="seek" value="-60"><<<</button>
49 <button type="submit" name="seek" value="-10"><<</button>
50 <button type="submit" name="ctl" value="stop">■</button>
51 <button type="submit" name="ctl" value="pause">|| / ▶</button>
52 <button type="submit" name="seek" value="+10">>></button>
53 <button type="submit" name="seek" value="+60">>>></button>
55 <button type="submit" name="amp" value="off">Amp Off</button>
56 <button type="submit" name="amp" value="on">Amp On</button>
58 $(for n in $(seq 0 5 100); do
59 printf '<button class="%s" type="submit" name="vol" value="%s"> </button>' "$([ "$volume" = "$n" ] && printf selected)" "$n"
62 <button type="submit" name="osd" value="progression">Progress</button>
67 <form action="?action=multitag&${page_this}" method="post" accept-charset="UTF-8">
71 $(. $_EXEC/templates/tagger.html.sh)
74 <div class="panel" id="foot">
75 <a class="panel toggle" href="#tagger">Add Tags</a>
76 <a class="panel toggle" href="#preferences">Preferences</a>
77 <a class="panel treeview" href="?p=tree">Browse Folders</a>
79 <div class="pagination_nav">
83 plink="$(($pn * $pagesize - $pagesize + 1))"
84 printf '<a %s href="?%spn=%s">%s</a>\n' "$([ $plink = $page ] && printf class=current)" "$page_link" "$plink" "$pn"
90 $(. $_EXEC/templates/preferences.html.sh)
91 $(. $_EXEC/templates/advfilter.html.sh)
94 # vi:set filetype=html: