]> 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 ea14bc123b08ad135d56f5774579f9f02345ea03..f6c91c9ff05d52df53c48a71bff0ac5fb94a4c4d 100644 (file)
@@ -76,7 +76,7 @@
         <div class="row">
             <div class="col-lg-12">
                 <center>
-                    Loading...
+                    <i class="fa fa-refresh fa-4x fa-spin"></i>
                 </center>
             </div>
         </div>
                             <th>..</th>
                             <th></th>
                             <th></th>
+                            <th></th>
                         </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>
-                            <th>{{ entry.mtime }}</th>
+                            <th><span v-my-tooltip="foobar" data-toggle="tooltip" title="{{ entry.mtime }}">{{ entry.mtime | prettyDate }}</span></th>
                             <th style="text-align: right;"><button class="btn btn-sm btn-danger" v-on:click.stop="delAsk(entry)"><i class="fa fa-trash"></i></button></th>
                         </tr>
                     </tbody>