# 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>
${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>
<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=''
"$(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">