0.7.12.5 (Work)

Icon batch work
This commit is contained in:
2019-06-10 22:04:25 -07:00
parent cf2e8885da
commit 052e089f1d
22 changed files with 20851 additions and 91 deletions

View File

@@ -26,6 +26,12 @@ $border_tools = array("sips","sox","ffmpeg","ql-thumbnail");
html { font-family: Helvetica; word-wrap: break-all; word-break: break-all; }
table.outlined tbody > tr > td > div { outline: 1px solid purple; }
table.outlined tbody > tr > td > div > div { outline: 1px solid orange; }
table.outlined tbody > tr > td > div > div > div { outline: 1px solid pink; }
table.outlined tbody > tr > td > div > div > div > div { outline: 1px solid yellow; }
table.outlined tbody > tr > td > div > div > div > div > div { outline: 1px solid red; }
table.file td { width: 33%; }
table.dir td:last-of-type { width: 22%; }
@@ -89,7 +95,7 @@ img.tiny { vertical-align: middle; width: 18px; height: 18px; margin: 0px 4px 0p
margin-left: -6px;
}
div.size { color: grey; margin-top: 3px; }
div.size { color: grey; margin-top: 3px; font-size: 9px; }
img#thumb { padding: 6px;
outline: 1px solid gainsboro;
@@ -638,6 +644,7 @@ if ($db_file) {
echo "<div class='controls'><a href='#' class='info'>info</a></div>";
//echo "<table class='dir outlined'><tr><td valign='top'>";
echo "<table class='dir'><tr><td valign='top'>";
echo "<div class='container'>";
@@ -721,7 +728,15 @@ if ($db_file) {
echo "</div>";
if ($item['Size']) {
echo "<div class='size'>".human_filesize($item['Size'])."</div>";
echo "<div class='size'>".human_filesize($item['Size']);
if ($item['Seconds']) {
$s = $item['Seconds'];
$duration_string = sprintf("%02d:%02d:%02d", $s/3600%24, $s/60%60, $s%60);
echo " (".$duration_string.")";
} elseif ($item['Dimensions']) {
echo " (".str_replace(","," x ",$item['Dimensions']).")";
}
echo "</div>";
}
if ($item['Type'] == "dir" && $item['items']) {