Show progress for URL installation. Temporarily break upload installation.

This commit is contained in:
Simo Kinnunen
2014-04-04 17:27:19 +09:00
parent 1d2afa65b4
commit 44378e625f
9 changed files with 288 additions and 88 deletions

View File

@@ -32,6 +32,22 @@
//treecontrol.tree-classic(tree-model='treeData', options='treeOptions')
span employee: {{node.name}} age {{node.age}}
.upload-status(ng-if='upload && !upload.settled')
div(ng-switch='upload.lastData')
strong(ng-switch-when='uploading')
span(translate) Uploading...
strong(ng-switch-when='processing')
span(translate) Processing...
strong(ng-switch-when='storing')
span(translate) Storing...
strong(ng-switch-when='fail')
span(translate) Upload failed
span(ng-hide='upload.settled') ({{upload.progress}}%)
progressbar(max='100', value='upload.progress', ng-if='!upload.settled',
ng-class='{"active": !upload.settled}').progress-striped
.upload-status(ng-if='installation')
accordion(close-others='false')
@@ -41,8 +57,6 @@
span {{installation.manifest.package || "App" }}
div(ng-switch='installation.lastData')
strong(ng-switch-when='uploading')
span(translate) Starting to upload...
strong(ng-switch-when='pushing_app')
span(translate) Pushing app...
strong(ng-switch-when='installing_app')