diff options
Diffstat (limited to 'frontend/index.html')
-rw-r--r-- | frontend/index.html | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/frontend/index.html b/frontend/index.html index 056f29c..4c16ed5 100644 --- a/frontend/index.html +++ b/frontend/index.html | |||
@@ -85,6 +85,21 @@ | |||
85 | </div> | 85 | </div> |
86 | </div> | 86 | </div> |
87 | 87 | ||
88 | <div class="container" v-show="uploadStatus.busy" v-cloak> | ||
89 | <div class="row"> | ||
90 | <div class="col-lg-12"> | ||
91 | <p>Uploading... ({{ uploadStatus.done }} / {{ uploadStatus.count }}) </p> | ||
92 | <center> | ||
93 | <div class="progress"> | ||
94 | <div class="progress-bar progress-bar-striped" role="progressbar" v-bind:style="{ width: uploadStatus.percentDone + '%' }"> | ||
95 | <span class="sr-only">{{ uploadStatus.percentDone }}% Complete</span> | ||
96 | </div> | ||
97 | </div> | ||
98 | </center> | ||
99 | </div> | ||
100 | </div> | ||
101 | </div> | ||
102 | |||
88 | <div class="container" v-show="!session.valid && !busy" v-cloak> | 103 | <div class="container" v-show="!session.valid && !busy" v-cloak> |
89 | <div class="row"> | 104 | <div class="row"> |
90 | <div class="col-lg-6 col-lg-offset-3"> | 105 | <div class="col-lg-6 col-lg-offset-3"> |
@@ -106,7 +121,7 @@ | |||
106 | <div class="container main" v-show="session.valid && !busy" v-cloak> | 121 | <div class="container main" v-show="session.valid && !busy" v-cloak> |
107 | <div class="row"> | 122 | <div class="row"> |
108 | <div class="col-lg-12"> | 123 | <div class="col-lg-12"> |
109 | <center> | 124 | <center v-show="!uploadStatus.busy"> |
110 | <form id="fileUploadForm"> | 125 | <form id="fileUploadForm"> |
111 | <input type="file" v-el:upload style="display: none" id="uploadInput" multiple/> | 126 | <input type="file" v-el:upload style="display: none" id="uploadInput" multiple/> |
112 | <button class="btn btn-primary" v-on:click.stop.prevent="upload()" id="uploadButton">Upload</button> | 127 | <button class="btn btn-primary" v-on:click.stop.prevent="upload()" id="uploadButton">Upload</button> |