]> git.immae.eu Git - perso/Immae/Projets/Nodejs/Surfer.git/blobdiff - app/index.html
Add file preview
[perso/Immae/Projets/Nodejs/Surfer.git] / app / index.html
index 4557fcbaed864d625d6931ac0c64f4b70fbcdb65..f6c91c9ff05d52df53c48a71bff0ac5fb94a4c4d 100644 (file)
                         </tr>
                         <tr v-for="entry in entries" v-on:click="open(entry)" class="hand">
                             <th>
-                                <i class="fa fa-folder-o" v-show="entry.isDirectory"></i>
-                                <i class="fa fa-file-o" v-show="entry.isFile"></i>
+                                <img v-bind:src="entry.previewUrl" height="48px" width="48px"/>
                             </th>
                             <th>{{ entry.filePath }}</th>
                             <th>{{ entry.size }}</th>