-# Copyright 2015 Paul Hänsch
+# Copyright 2015, 2016 Paul Hänsch
#
# This file is part of Serve0
#
# along with Serve0 If not, see <http://www.gnu.org/licenses/>.
cat <<EOF
- <form class="panel footer" id="preferences"
+ <form class="panel switchable top" id="preferences"
action="?action=preferences" method="post" accept-charset="UTF-8">
+ <a class="panel toggle" href="#">Hide</a>
+
<fieldset>
<legend>Watch videos:</legend>
<input type="radio" name="watch" value="240p" $([ "${_COOKIE[watch]}" = 240p ] && printf 'checked') id="rd_w240p">
<input type="number" name="pagesize" value="${pagesize}" id="n_pagesize">
</fieldset>
+ <input type="hidden" name="referrer" value="$(attribsafe ${REQUEST_URI})">
<input type="submit" value="Set Cookie!">
-
- <a class="panel hide" href="#foot">Hide</a>
</form>
EOF