diff options
author | Johannes Zellner <johannes@nebulon.de> | 2016-03-01 18:16:31 +0100 |
---|---|---|
committer | Johannes Zellner <johannes@nebulon.de> | 2016-03-01 18:16:31 +0100 |
commit | a26d1f9bb76493767bceaecffcb6d39b4f5aac7a (patch) | |
tree | df815b9c31d0e9b67da43731764603f2ad86160c /app/index.html | |
parent | 4e56a31834d75e0acd9440e39e1b39b3f94f1e54 (diff) | |
download | Surfer-a26d1f9bb76493767bceaecffcb6d39b4f5aac7a.tar.gz Surfer-a26d1f9bb76493767bceaecffcb6d39b4f5aac7a.tar.zst Surfer-a26d1f9bb76493767bceaecffcb6d39b4f5aac7a.zip |
Add file preview
Diffstat (limited to 'app/index.html')
-rw-r--r-- | app/index.html | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/index.html b/app/index.html index 4557fcb..f6c91c9 100644 --- a/app/index.html +++ b/app/index.html | |||
@@ -138,8 +138,7 @@ | |||
138 | </tr> | 138 | </tr> |
139 | <tr v-for="entry in entries" v-on:click="open(entry)" class="hand"> | 139 | <tr v-for="entry in entries" v-on:click="open(entry)" class="hand"> |
140 | <th> | 140 | <th> |
141 | <i class="fa fa-folder-o" v-show="entry.isDirectory"></i> | 141 | <img v-bind:src="entry.previewUrl" height="48px" width="48px"/> |
142 | <i class="fa fa-file-o" v-show="entry.isFile"></i> | ||
143 | </th> | 142 | </th> |
144 | <th>{{ entry.filePath }}</th> | 143 | <th>{{ entry.filePath }}</th> |
145 | <th>{{ entry.size }}</th> | 144 | <th>{{ entry.size }}</th> |