1 # Copyright 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 <div class="panel" id="playctl">
20 <a class="panel toggle" href="#">Hide</a>
21 <form action="?action=playctl" method="post">
22 <button type="submit" name="seek" value="-60"><<<</button>
23 <button type="submit" name="seek" value="-10"><<</button>
24 <button type="submit" name="ctl" value="stop">■</button>
25 <button type="submit" name="ctl" value="pause">|| / ▶</button>
26 <button type="submit" name="seek" value="+10">>></button>
27 <button type="submit" name="seek" value="+60">>>></button>
29 <button type="submit" name="amp" value="off">Amp Off</button>
30 <button type="submit" name="amp" value="on">Amp On</button>
32 $(for n in $(seq 0 5 100); do
33 printf '<button class="%s" type="submit" name="vol" value="%s"> </button>' "$([ "$volume" = "$n" ] && printf selected)" "$n"
36 <button type="submit" name="osd" value="progression">Progress</button>
41 # vi:set filetype=html: