Filename column is now trying to be as wide as possible
authorHarvie <tomas@mudrunka.cz>
Sun, 11 Jul 2010 19:08:14 +0000 (21:08 +0200)
committerHarvie <tomas@mudrunka.cz>
Sun, 11 Jul 2010 19:08:14 +0000 (21:08 +0200)
index.php
jbx/themes/default/jukebox.css

index d345f39d958bee3607b806e2a584d1745f548e23..b87fedcd70277732728001a79f51aed9e4c25ce1 100755 (executable)
--- a/index.php
+++ b/index.php
@@ -202,7 +202,7 @@ function render_file_line($dir, $item, $dir_url, $index, $filesize, $parent = fa
                        '" target="'.$GLOBALS['flash_player_frame'].'" class="icon ifplay">F</a>/'.
                        '<a href="?blank" target="'.$GLOBALS['flash_player_frame'].'" class="icon ifstop">S</a>');
        }
                        '" target="'.$GLOBALS['flash_player_frame'].'" class="icon ifplay">F</a>/'.
                        '<a href="?blank" target="'.$GLOBALS['flash_player_frame'].'" class="icon ifstop">S</a>');
        }
-       echo('&nbsp;</td><td><a href="'.$temp.'">'.unxss(str_replace('_', ' ', $item)).'</a></td><td>'.$filesize."&nbsp;MiB&nbsp;</td></tr>\n");                        
+       echo('&nbsp;</td><td class="maximize-width"><a href="'.$temp.'">'.unxss(str_replace('_', ' ', $item)).'</a></td><td>'.$filesize."&nbsp;MiB&nbsp;</td></tr>\n");                 
 }
 
 function render_dir_line($current_dir, $item, $i) {
 }
 
 function render_dir_line($current_dir, $item, $i) {
@@ -212,7 +212,7 @@ function render_dir_line($current_dir, $item, $i) {
        '<td><a href="#up">'.$i.'</a></td><td class="btntd"><a href="?download&playlist&dir='.$temp.'" class="icon iplay">P</a>/'.
        '<a href="?download&recursive&playlist&dir='.$temp.'" class="icon irplay">R</a>');
        if($GLOBALS['useflash']) echo('/<a href="?f&playlist&dir='.$temp.'" target="'.$GLOBALS['flash_player_frame'].'" class="icon ifplay">F</a>');
        '<td><a href="#up">'.$i.'</a></td><td class="btntd"><a href="?download&playlist&dir='.$temp.'" class="icon iplay">P</a>/'.
        '<a href="?download&recursive&playlist&dir='.$temp.'" class="icon irplay">R</a>');
        if($GLOBALS['useflash']) echo('/<a href="?f&playlist&dir='.$temp.'" target="'.$GLOBALS['flash_player_frame'].'" class="icon ifplay">F</a>');
-       echo('</td><td colspan="100%"><span class="icon ifolder">[DIR] </span><a href="?dir='.$temp.'">'.unxss(str_replace('_', ' ', $item)).
+       echo('</td><td colspan="100%" class="maximize-width"><span class="icon ifolder">[DIR] </span><a href="?dir='.$temp.'">'.unxss(str_replace('_', ' ', $item)).
        "</a></td></tr>\n");
 }
 
        "</a></td></tr>\n");
 }
 
index 06381407a0e220e8c7f328397aeb7f448211344c..40adbe162b729eb1be92ef80c5c3cc4e1b5ee903 100755 (executable)
@@ -83,6 +83,7 @@ tr:hover * a {        text-decoration: underline;}
 /* Helpful Classes */
 
 *.hide {       margin:0; padding:0; width:0; height:0; border:none; display:none; }
 /* Helpful Classes */
 
 *.hide {       margin:0; padding:0; width:0; height:0; border:none; display:none; }
+*.maximize-width { width:100%; }
 *.red {                color: red; }
 *.yellow {     color: yellow;}
 *.blue {       color: blue;}
 *.red {                color: red; }
 *.yellow {     color: yellow;}
 *.blue {       color: blue;}
This page took 0.122696 seconds and 4 git commands to generate.