diff options
Diffstat (limited to 'files')
-rw-r--r-- | files/css/files.css | 1 | ||||
-rw-r--r-- | files/js/filelist.js | 2 | ||||
-rw-r--r-- | files/templates/part.list.php | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/files/css/files.css b/files/css/files.css index 4afec03daa1..4f217ff819c 100644 --- a/files/css/files.css +++ b/files/css/files.css @@ -27,6 +27,7 @@ table th#headerSize, table td.filesize { width:5em; padding:0 1em; text-align:ri table th#headerDate, table td.date { width:10em; padding:0 .1em 0 1em; text-align:left; } table td.selection, table th.selection, table td.fileaction { width:2em; text-align:center; } table td.filename a.name { display:block; background-image:url('../img/file.png'); height:1.5em; vertical-align:middle; } +table tr[data-type="dir"] td.filename a.name {font-weight:bold; } table td.filename a.name input, table td.filename a.name form { width:100%; cursor:text } table td.filename a, table td.login, table td.logout, table td.download, table td.upload, table td.create, table td.delete { padding:.2em .5em .5em 3em; background-position:1em .5em; background-repeat:no-repeat; } table td.filename .nametext, .modified { float:left; padding:.3em 0; } diff --git a/files/js/filelist.js b/files/js/filelist.js index 0695b482534..260ca00b977 100644 --- a/files/js/filelist.js +++ b/files/js/filelist.js @@ -38,7 +38,7 @@ FileList={ }, addDir:function(name,size,lastModified){ var html='<tr data-file="'+name+'" data-type="dir" data-size="'+size+'">'; - html+='<td class="filename"><input type="checkbox" /><a class="name" style="background-image:url(img/folder.png)" href="index.php?dir='+$('#dir').val()+'/'+name+'"><strong>'+name+'</strong></a></td>'; + html+='<td class="filename"><input type="checkbox" /><a class="name" style="background-image:url(img/folder.png)" href="index.php?dir='+$('#dir').val()+'/'+name+'">'+name+'</a></td>'; if(size!='Pending'){ simpleSize=simpleFileSize(size); }else{ diff --git a/files/templates/part.list.php b/files/templates/part.list.php index a0ffb4b6073..e4e178cba16 100644 --- a/files/templates/part.list.php +++ b/files/templates/part.list.php @@ -10,7 +10,7 @@ <a class="name" style="background-image:url(<?php if($file['type'] == 'dir') echo mimetype_icon('dir'); else echo mimetype_icon($file['mime']); ?>)" href="<?php if($file['type'] == 'dir') echo link_to('files', 'index.php?dir='.$file['directory'].'/'.$file['name']); else echo link_to('files', 'download.php?file='.$file['directory'].'/'.$file['name']); ?>" title=""> <span class="nametext"> <?php if($file['type'] == 'dir'):?> - <strong><?php echo htmlspecialchars($file['name']);?></strong> + <?php echo htmlspecialchars($file['name']);?> <?php else:?> <?php echo htmlspecialchars($file['basename']);?><span class='extention'><?php echo $file['extention'];?></span> <?php endif;?> |