mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-21 05:15:17 +02:00
Show progress bar after 2nd upload.
This commit is contained in:
@@ -108,6 +108,12 @@ module.exports = function InstallCtrl(
|
|||||||
|
|
||||||
$scope.maybeInstall = function (options) {
|
$scope.maybeInstall = function (options) {
|
||||||
if ($scope.installEnabled) {
|
if ($scope.installEnabled) {
|
||||||
|
|
||||||
|
if ($scope.installation) {
|
||||||
|
$scope.installation.lastData = null
|
||||||
|
}
|
||||||
|
$scope.accordionOpen = true
|
||||||
|
|
||||||
return $scope.control.install(options)
|
return $scope.control.install(options)
|
||||||
.progressed(function (installResult) {
|
.progressed(function (installResult) {
|
||||||
$scope.$apply(function () {
|
$scope.$apply(function () {
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
input(type='checkbox', ng-model='installEnabled')
|
input(type='checkbox', ng-model='installEnabled')
|
||||||
span(translate) Install
|
span(translate) Install
|
||||||
|
|
||||||
.widget-content.padded()
|
.widget-content.padded
|
||||||
//.widget-content.padded(style='padding: 0; padding-bottom: 15px;')
|
//.widget-content.padded(style='padding: 0; padding-bottom: 15px;')
|
||||||
|
|
||||||
//.col-md-10.col-md-offset-1
|
//.col-md-10.col-md-offset-1
|
||||||
@@ -28,13 +28,10 @@
|
|||||||
i.fa.fa-2x.fa-download.drop-area-icon
|
i.fa.fa-2x.fa-download.drop-area-icon
|
||||||
.drop-area-text(translate) Drop file to upload
|
.drop-area-text(translate) Drop file to upload
|
||||||
|
|
||||||
//treecontrol.tree-classic(tree-model='treeData', options='treeOptions')
|
|
||||||
span employee: {{node.name}} age {{node.age}}
|
|
||||||
|
|
||||||
.upload-status(ng-if='upload || installation')
|
.upload-status(ng-if='upload || installation')
|
||||||
|
|
||||||
accordion(close-others='false').pointer
|
accordion(close-others='false').pointer
|
||||||
accordion-group(is-open='accordionOpen')
|
accordion-group(is-open='accordionOpen', is-disabled='accordionDisabled')
|
||||||
accordion-heading.pointer
|
accordion-heading.pointer
|
||||||
i.fa.fa-file-o
|
i.fa.fa-file-o
|
||||||
span {{installation.manifest.package || "App" }}
|
span {{installation.manifest.package || "App" }}
|
||||||
|
|||||||
Reference in New Issue
Block a user