diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-07-21 22:01:55 +0200 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-07-21 22:01:55 +0200 |
commit | be6b5c8e774f9e389e4ff4a817caa3ebf5677182 (patch) | |
tree | dc6d75dac6c1c898953b0cd362301dfe400a9f1e /files/js/filelist.js | |
parent | 8eefd42a7dc537ebf28e2a3827e01c42b266dcd1 (diff) | |
download | nextcloud-server-be6b5c8e774f9e389e4ff4a817caa3ebf5677182.tar.gz nextcloud-server-be6b5c8e774f9e389e4ff4a817caa3ebf5677182.zip |
some work on the updated interface
Diffstat (limited to 'files/js/filelist.js')
-rw-r--r-- | files/js/filelist.js | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/files/js/filelist.js b/files/js/filelist.js index 2c662087ab2..9300e311076 100644 --- a/files/js/filelist.js +++ b/files/js/filelist.js @@ -5,11 +5,9 @@ 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="selection"><input type="checkbox" /></td>'; - html+='<td class="filename"><a style="background-image:url('+img+')" href="download.php?file='+$('#dir').val()+'/'+name+'">'+name+'</a></td>'; + 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="filesize">'+size+'</td>'; html+='<td class="date">'+lastModified+'</td>'; - html+='<td class="fileaction"><a href="" title="+" class="dropArrow"></a></td>'; html+='</tr>'; FileList.insertElement(name,'file',$(html)); if(loading){ @@ -20,11 +18,9 @@ FileList={ }, addDir:function(name,size,lastModified){ var html='<tr data-file="'+name+'" data-type="dir">'; - html+='<td class="selection"><input type="checkbox" /></td>'; - html+='<td class="filename"><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 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+='<td class="fileaction"><a href="" title="+" class="dropArrow"></a></td>'; html+='</tr>'; FileList.insertElement(name,'dir',$(html)); |