diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-07-28 04:29:04 +0200 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-07-28 04:29:04 +0200 |
commit | ece6bd663cc2a03e339019c29d1ea9170d11c24e (patch) | |
tree | 339440b6a0a93a35c6530140d2cf43f80982bb5b /files/js/filelist.js | |
parent | 74249c65da5b21c4b191f9792b510268c4b83454 (diff) | |
download | nextcloud-server-ece6bd663cc2a03e339019c29d1ea9170d11c24e.tar.gz nextcloud-server-ece6bd663cc2a03e339019c29d1ea9170d11c24e.zip |
show icons instead of text for file actions
Diffstat (limited to 'files/js/filelist.js')
-rw-r--r-- | files/js/filelist.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/files/js/filelist.js b/files/js/filelist.js index 973fda23e1e..e84a9acb535 100644 --- a/files/js/filelist.js +++ b/files/js/filelist.js @@ -5,7 +5,7 @@ FileList={ addFile:function(name,size,lastModified,loading){ var img=(loading)?'img/loading.gif':'img/file.png'; var html='<tr data-file="'+name+'" data-type="file">'; - html+='<td class="filename"><input type="checkbox" /><a style="background-image:url('+img+')" href="download.php?file='+$('#dir').val()+'/'+name+'">'+name+'</a></td>'; + html+='<td class="filename"><input type="checkbox" /><a class="name" style="background-image:url('+img+')" href="download.php?file='+$('#dir').val()+'/'+name+'">'+name+'</a></td>'; html+='<td class="filesize">'+size+'</td>'; html+='<td class="date">'+lastModified+'</td>'; html+='</tr>'; @@ -18,7 +18,7 @@ FileList={ }, addDir:function(name,size,lastModified){ var html='<tr data-file="'+name+'" data-type="dir">'; - html+='<td class="filename"><input type="checkbox" /><a 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+'"><strong>'+name+'</strong></a></td>'; html+='<td class="filesize">'+size+'</td>'; html+='<td class="date">'+lastModified+'</td>'; html+='</tr>'; |