diff options
author | Johannes Zellner <johannes@cloudron.io> | 2018-10-08 15:15:52 +0200 |
---|---|---|
committer | Johannes Zellner <johannes@cloudron.io> | 2018-10-08 15:15:54 +0200 |
commit | 5c17272a887a2b5ff4810c64c68a2bbc49825291 (patch) | |
tree | 323ecb587f2ea3c012e0aa02cec54d9e8b9eaf03 /frontend/index.html | |
parent | b3ff26fb1e2b4d07a1d7b00ee5ff6d72026c5427 (diff) | |
download | Surfer-5c17272a887a2b5ff4810c64c68a2bbc49825291.tar.gz Surfer-5c17272a887a2b5ff4810c64c68a2bbc49825291.tar.zst Surfer-5c17272a887a2b5ff4810c64c68a2bbc49825291.zip |
Add upload progress to ui
Fixes #4
Diffstat (limited to 'frontend/index.html')
-rw-r--r-- | frontend/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/index.html b/frontend/index.html index bb53ca4..633de08 100644 --- a/frontend/index.html +++ b/frontend/index.html | |||
@@ -106,7 +106,7 @@ | |||
106 | </el-row> | 106 | </el-row> |
107 | <el-row v-else> | 107 | <el-row v-else> |
108 | <el-col :span="4"> | 108 | <el-col :span="4"> |
109 | Uploading files ({{ uploadStatus.done }} / {{ uploadStatus.count }}) | 109 | Uploading {{ uploadStatus.count }} files ({{ Math.round(uploadStatus.done/1000/1000) }}MB / {{ Math.round(uploadStatus.size/1000/1000) }}MB) |
110 | </el-col> | 110 | </el-col> |
111 | <el-col :span="20"> | 111 | <el-col :span="20"> |
112 | <el-progress :text-inside="true" :stroke-width="18" :percentage="uploadStatus.percentDone"></el-progress> | 112 | <el-progress :text-inside="true" :stroke-width="18" :percentage="uploadStatus.percentDone"></el-progress> |