]> git.immae.eu Git - perso/Immae/Projets/Nodejs/Surfer.git/commitdiff
Show busy indicator only in place of file list
authorJohannes Zellner <johannes@cloudron.io>
Wed, 8 Feb 2017 15:33:37 +0000 (16:33 +0100)
committerJohannes Zellner <johannes@cloudron.io>
Wed, 8 Feb 2017 15:33:37 +0000 (16:33 +0100)
frontend/index.html

index 7e4b41fce08370b2f8198a6802bebde5bb53f582..4d94a8308a6e46f40a8acee1364c5a33c53b0438 100644 (file)
         </div>
     </div>
 
-    <div class="container" v-show="busy" v-cloak>
-        <div class="row">
-            <div class="col-lg-12">
-                <center>
-                    <i class="fa fa-refresh fa-4x fa-spin"></i>
-                </center>
-            </div>
-        </div>
-    </div>
-
     <div class="container" v-show="uploadStatus.busy" v-cloak>
         <div class="row">
             <div class="col-lg-12">
         </div>
     </div>
 
-    <div class="container main" v-show="session.valid && !busy" v-cloak>
+    <div class="container main" v-show="session.valid" v-cloak>
         <div class="row">
             <div class="col-lg-12">
                 <center v-show="!uploadStatus.busy">
                     <button class="btn btn-default btn-sm pull-right" v-on:click="createDirectoryAsk()">Create Folder</button>
                 </ol>
             </div>
-            <div class="col-lg-12">
+            <div class="col-lg-12" v-show="busy">
+                <br/>
+                <br/>
+                <center>
+                    <i class="fa fa-refresh fa-4x fa-spin"></i>
+                </center>
+            </div>
+            <div class="col-lg-12" v-show="!busy">
                 <table class="table table-hover table-condensed">
                     <thead>
                         <tr>