]> git.plutz.net Git - serve0/blobdiff - templates/playctl.html.sh
simplified styling
[serve0] / templates / playctl.html.sh
index 6bf7dcc7719ead5975c4c994baa24e6cce7353e4..ad1ed9346e9b43e7bf41283da5ee2b080e4555da 100755 (executable)
@@ -16,7 +16,7 @@
 # along with Serve0  If not, see <http://www.gnu.org/licenses/>. 
 
 cat <<EOF
-<form class="panel" id="search" style="display: block;" action="?" method="get" accept-charset="UTF-8">
+<form class="panel top" id="search" style="display: block;" action="?" method="get" accept-charset="UTF-8">
   <input type="text" name="s" value="$search" placeholder="Search">
 
   <label for="o1" class="order">Order by:</label>
@@ -59,7 +59,7 @@ cat <<EOF
   ${description:+<span class="info description">$(printf %s "$description" |_wiki)</span>}
 </div>
 
-<form class="panel playctl" id="advctl" action="?action=playctl" method="post">
+<form class="panel switchable bottom playctl" id="advctl" action="?action=playctl" method="post">
   <fieldset class="volume">
     <button type="submit" name="amp" value="off">Amp Off</button>
     <button type="submit" name="amp" value="on">Amp On</button>
@@ -72,14 +72,14 @@ cat <<EOF
   <a class="panel toggle" href="#foot">Hide</a>
 </form>
 
-<form class="panel" id="tagger" action="?action=meta&${page_this}" method="post" accept-charset="UTF-8">
+<form class="panel switchable bottom" id="tagger" action="?action=meta&${page_this}" method="post" accept-charset="UTF-8">
   <input type="hidden" name="length" value="$length">
   <input type="hidden" name="width" value="$width">
   <input type="hidden" name="height" value="$height">
 
   $(
   for cat in $(list_categories); do
-    printf '<p class="newtag"><label class="category">%s:</label><select name="tag" size="12" multiple>' "${cat}"
+    printf '<fieldset class="newtag"><label class="category">%s:</label><select name="tag" size="12" multiple>' "${cat}"
     catt="${cat}:"
     [ "$catt" = "none:" ] && catt=''
     
@@ -88,18 +88,18 @@ cat <<EOF
              "$(egrep -q "(^|.*\|)$line(\|.*|$)" "$meta" && printf selected)" \
              "$line" "${line#*:}"
     done
-    printf '</select></p>'
+    printf '</select></fieldset>'
   done
   )
 
-  <p class="newtag additional">
+  <fieldset class="newtag additional">
     <label class="additional">Additional Tags (one per line):</label>
     <textarea name="tags" rows="4"></textarea>
-  </p>
-  <p class="newtag description">
+  </fieldset>
+  <fieldset class="newtag description">
     <label class="description">Description:</label>
     <textarea name="description" rows="4">$description</textarea>
-  </p>
+  </fieldset>
   <input type="submit" value="Edit!">
   <input type="submit" name="trash" value="Delete Video">