Only install if enabled.

This commit is contained in:
Gunther Brunner
2014-04-04 19:46:59 +09:00
parent 2e80900537
commit db11a59125
3 changed files with 25 additions and 19 deletions

View File

@@ -7,7 +7,7 @@
input(type='checkbox', ng-model='launchEnabled', ng-disabled='true')
span Launch
label.checkbox-inline.pull-right
input(type='checkbox', ng-model='installEnabled', ng-disabled='true')
input(type='checkbox', ng-model='installEnabled')
span Install
.widget-content.padded
@@ -32,6 +32,8 @@
//treecontrol.tree-classic(tree-model='treeData', options='treeOptions')
span employee: {{node.name}} age {{node.age}}
pre(ng-if='upload.error') Error: {{ upload.error }}
.upload-status(ng-if='upload && !upload.settled')
div(ng-switch='upload.lastData')