<input type="submit" name="submit" value="Find">
<a class="panel clearsearch" href="?">Clear All</a>
- <a class="panel" href="${info:+?p=list&${page_this}}${info:-?p=tree&d=${directory}&${page_this}}#$(urlsafe $info)">Dismiss</a>
-
- <div class="pagination_nav">
- <label>Page:</label>
- <a href="?p=view&${page_prev}"><<</a>
- <a href="?p=view&${page_this}">$(($page + 1))</a>
- <a href="?p=view&${page_next}">>></a>
- </div>
+ <a class="panel" href="${info:+?p=list&${page_this}}${directory:+?p=tree&d=${directory}&${page_this}}#$(urlsafe $info)">Dismiss</a>
</form>
<div id="playctl">
$(for n in $(seq 0 5 100); do
printf '<button class="%s" type="submit" name="vol" value="%s"> </button>' "$([ "$volume" = "$n" ] && printf selected)" "$n"
done)
+ <br>
+ <!--button type="submit" name="osd" value="progression">Progress</button -->
</form>
- <span class="info length">$(($length / 60)):$(($length % 60)) min</span>
+ <span class="info length">$(printf "%d:%02d min" $(($length / 60)) $(($length % 60)) )</span>
<span class="info width" >Width: $width</span>
<span class="info height">Height: $height</span><br>
catt="${cat}:"
[ "$catt" = "none:" ] && catt=''
- printf %s "$taglist" |egrep '^'"$catt"'[^:]+$' |while read line; do
+ printf %s "$taglist_set" |egrep '^'"$catt"'[^:]+$' |while read line; do
printf '<option %s value="%s">%s</option>' \
"$(egrep -q "(^|.*\|)$line(\|.*|$)" "$meta" && printf selected)" \
"$line" "${line#*:}"
<div class="panel footer" id="foot">
<a class="panel toggle" href="#tagger">Edit Tags</a>
-
- <div class="pagination_nav">
- <label>Page:</label>
- <a href="?${page_prev}"><<</a>
- <a href="?${page_this}">$(($page + 1))</a>
- <a href="?${page_next}">>></a>
- </div>
</div>
EOF
+cnt=0
+progress \
+| while read p t; do
+ printf '<span class="progress"><span style="width: %d%%;">%s</span></span>\n' "${p}" "${t}"
+done
+
# vi:set filetype=html: