mirror of
https://github.com/unraid/webgui.git
synced 2026-03-20 20:02:44 -05:00
Minor style correction in Browse table
This commit is contained in:
@@ -13,6 +13,7 @@ Tag="navicon"
|
||||
* all copies or substantial portions of the Software.
|
||||
*/
|
||||
?>
|
||||
<style>.loc{text-align:left;white-space:nowrap}</style>
|
||||
<script>
|
||||
$(function(){
|
||||
$.get('/webGui/include/Browse.php',{dir:"<?=addslashes(htmlspecialchars($dir))?>",path:"<?=$path?>",user:<?=strpos($dir,'/mnt/user')===0?1:0?>},function(data){
|
||||
|
||||
@@ -79,7 +79,7 @@ foreach ($list as $row) {
|
||||
echo "<td><a href=\"".htmlspecialchars("/$path?dir=".urlencode_path(trim_slash($dir.'/'.$row['name'])))."\">".htmlspecialchars($row['name'])."</a></td>";
|
||||
echo "<td data='0'><DIR></td>";
|
||||
echo "<td data='{$row['time']}'>".my_time($row['time'],"%F {$display['time']}")."</td>";
|
||||
echo "<td>{$row['disk']}</td>";
|
||||
echo "<td class='loc'>{$row['disk']}</td>";
|
||||
echo "</tr>";
|
||||
$dirs++;
|
||||
} else {
|
||||
@@ -90,7 +90,7 @@ foreach ($list as $row) {
|
||||
echo "<td><a href=\"".htmlspecialchars(urlencode_path(trim_slash($dir.'/'.$row['name'])))."\" class=\"".($tag?:'none')."\">".htmlspecialchars($row['name'])."</a></td>";
|
||||
echo "<td data='{$row['size']}' class='$tag'>".my_scale($row['size'],$unit)." $unit</td>";
|
||||
echo "<td data='{$row['time']}' class='$tag'>".my_time($row['time'],"%F {$display['time']}")."</td>";
|
||||
echo "<td class='$tag'>{$row['disk']}</td>";
|
||||
echo "<td class='loc $tag'>{$row['disk']}</td>";
|
||||
echo "</tr>";
|
||||
$files++;
|
||||
$total+=$row['size'];
|
||||
|
||||
Reference in New Issue
Block a user