1 # Copyright 2015 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="preferences"
20 action="?action=preferences" method="post" accept-charset="UTF-8">
22 <legend>Watch videos:</legend>
23 <input type="radio" name="watch" value="240p" $([ "${_COOKIE[watch]}" = 240p ] && printf 'checked') id="rd_w240p">
24 <label for="rd_w240p">as Download in 240p</label><br>
25 <input type="radio" name="watch" value="480p" $([ "${_COOKIE[watch]}" = 480p ] && printf 'checked') id="rd_w480p">
26 <label for="rd_w480p">as Download in 480p</label><br>
27 <input type="radio" name="watch" value="download" $([ "${_COOKIE[watch]}" = download ] && printf 'checked') id="rd_wdown">
28 <label for="rd_wdown">as Download (original)</label><br>
29 <input type="radio" name="watch" value="raspi" $([ "${_COOKIE[watch]}" = raspi ] && printf 'checked') id="rd_wrasp">
30 <label for="rd_wrasp">on RaspBerry</label><br>
31 <input type="radio" name="watch" value="player" $([ "${_COOKIE[watch]}" = player ] && printf 'checked') id="rd_wplay">
32 <label for="rd_wplay">in embedded player</label><br>
33 <input type="radio" name="watch" value="server" $([ "${_COOKIE[watch]}" = server ] && printf 'checked') id="rd_wserv">
34 <label for="rd_wserv">on screen connected to server</label><br>
36 <input type="checkbox" name="fakemp4" value="yes" $([ "${_COOKIE[fakemp4]}" = yes ] && printf 'checked') id="ck_fakemp4">
37 <label for="ck_fakemp4">Fake .mp4 file ending, even if file is of different type</label>
41 <legend>Display:</legend>
42 <label for="n_pagesize">Number of items per page: </label>
43 <input type="number" name="pagesize" value="${pagesize}" id="n_pagesize">
46 <input type="submit" value="Set Cookie!">
48 <a class="panel toggle" href="#foot">Hide</a>
52 # vi:set filetype=html: