summaryrefslogtreecommitdiffstats
path: root/core/templates/filepicker.html
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2016-10-17 14:26:25 +0200
committerRobin Appelman <robin@icewind.nl>2016-10-19 14:18:21 +0200
commit14f78369d7bc6dcc5e0234aac27e596ed7e92953 (patch)
tree3a653905b1c9b45d7f568199b0f56ce980fbee00 /core/templates/filepicker.html
parent590016a978930b22b603e0b9f8408ee0d83a516d (diff)
downloadnextcloud-server-14f78369d7bc6dcc5e0234aac27e596ed7e92953.tar.gz
nextcloud-server-14f78369d7bc6dcc5e0234aac27e596ed7e92953.zip
Use a table for the filepicker list and add size column
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'core/templates/filepicker.html')
-rw-r--r--core/templates/filepicker.html23
1 files changed, 16 insertions, 7 deletions
diff --git a/core/templates/filepicker.html b/core/templates/filepicker.html
index 46d1ca3d52d..b665ca26893 100644
--- a/core/templates/filepicker.html
+++ b/core/templates/filepicker.html
@@ -1,10 +1,19 @@
<div id="{dialog_name}" title="{title}">
<span class="dirtree breadcrumb"></span>
- <ul class="filelist">
- <li data-entryname="{filename}" data-type="{type}">
- <img />
- <span class="filename">{filename}</span>
- <span class="date">{date}</span>
- </li>
- </ul>
+ <div class="filelist-container">
+ <table id="filestable" class="filelist">
+ <tbody>
+ <tr data-entryname="{filename}" data-type="{type}">
+ <td class="filename"
+ style="background-image:url({icon})">{filename}
+ </td>
+ <td class="filesize"
+ style="color:rgb({sizeColor}, {sizeColor}, {sizeColor})">
+ {size}
+ </td>
+ <td class="date">{date}</td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
</div>