]> git.plutz.net Git - serve0/blobdiff - templates/preferences.html.sh
more compact menues
[serve0] / templates / preferences.html.sh
index 39b31aa07cdde0aa73e389f582d62b72838cc420..24e5df9cc12d68661be9eaf2431bb981d5d9d839 100755 (executable)
@@ -1,4 +1,4 @@
-# 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" 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">
@@ -44,8 +46,6 @@ cat <<EOF
     </fieldset>
 
     <input type="submit" value="Set Cookie!">
-
-    <a class="panel toggle" href="#foot">Hide</a>
   </form>
 EOF