]> git.plutz.net Git - serve0/blobdiff - templates/preferences.html.sh
indexing stubs
[serve0] / templates / preferences.html.sh
diff --git a/templates/preferences.html.sh b/templates/preferences.html.sh
deleted file mode 100755 (executable)
index dccb612..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 2015, 2016, 2018 Paul Hänsch
-#
-# This file is part of Serve0
-# 
-# Serve0 is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Affero General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-# 
-# Serve0 is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU Affero General Public License for more details.
-# 
-# You should have received a copy of the GNU Affero General Public License
-# along with Serve0  If not, see <http://www.gnu.org/licenses/>. 
-
-cat <<EOF
-  <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>
-      $(form_radio watch 240p     "${_COOKIE[watch]}" "as Download in 240p"   )<br/>
-      $(form_radio watch 480p     "${_COOKIE[watch]}" "as Download in 480p"   )<br/>
-      $(form_radio watch download "${_COOKIE[watch]}" "as Download (original)")<br/>
-      $(form_radio watch raspi    "${_COOKIE[watch]}" "on playback device"    )<br/>
-      $(form_radio watch player   "${_COOKIE[watch]}" "in embedded player"    )<br/>
-      $(form_radio watch server   "${_COOKIE[watch]}" "on screen connected to server")<br/>
-
-      $(form_check fakemp4 yes "${_COOKIE[fakemp4]}" "Fake .mp4 file ending, even if file is of different type")
-    </fieldset>
-
-    <fieldset>
-      <legend>Display:</legend>
-      <label for="n_pagesize">Number of items per page: </label>
-      <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!">
-  </form>
-EOF
-
-# vi:set filetype=html: