diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-05-27 23:11:04 +0200 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-05-27 23:11:04 +0200 |
commit | eafe4283b476d1122be6920a7b5d78a94babdc91 (patch) | |
tree | 7251c19ef5abac110d5018a8d9204af140e5f7b5 /webapp/src/app/devel/build/build.component.html | |
parent | 330cffa06c3efea42a42ca8e908b8b24db6bba3f (diff) |
Improved devel/build panel (support PreBuild/Build/Populate)
Diffstat (limited to 'webapp/src/app/devel/build/build.component.html')
-rw-r--r-- | webapp/src/app/devel/build/build.component.html | 46 |
1 files changed, 40 insertions, 6 deletions
diff --git a/webapp/src/app/devel/build/build.component.html b/webapp/src/app/devel/build/build.component.html index f4be204..7f85aa6 100644 --- a/webapp/src/app/devel/build/build.component.html +++ b/webapp/src/app/devel/build/build.component.html @@ -25,12 +25,45 @@ <td> <input type="text" style="width:99%;" formControlName="subpath"> </td> </tr> <tr> - <th>Command arguments</th> - <td> <input type="text" style="width:99%;" formControlName="cmdArgs"> </td> - </tr> - <tr> - <th>Env variables</th> - <td> <input type="text" style="width:99%;" formControlName="envVars"> </td> + <td colspan="2"> + <accordion> + <accordion-group #group> + <div accordion-heading> + Advanced Settings + <i class="pull-right float-xs-right fa" [ngClass]="{'fa-chevron-down': group.isOpen, 'fa-chevron-right': !group.isOpen}"></i> + </div> + + <table class="table table-borderless table-in-accordion"> + <tbody> + <tr> + <th>Clean Command</th> + <td> <input type="text" style="width:99%;" formControlName="cmdClean"> </td> + </tr> + <tr> + <th>Pre-Build Command</th> + <td> <input type="text" style="width:99%;" formControlName="cmdPrebuild"> </td> + </tr> + <tr> + <th>Build Command</th> + <td> <input type="text" style="width:99%;" formControlName="cmdBuild"> </td> + </tr> + <tr> + <th>Populate Command</th> + <td> <input type="text" style="width:99%;" formControlName="cmdPopulate"> </td> + </tr> + <tr> + <th>Env variables</th> + <td> <input type="text" style="width:99%;" formControlName="envVars"> </td> + </tr> + <tr *ngIf="debugEnable"> + <th>Args variables</th> + <td> <input type="text" style="width:99%;" formControlName="cmdArgs"> </td> + </tr> + </tbody> + </table> + </accordion-group> + </accordion> + </td> </tr> </tbody> </table> @@ -38,6 +71,7 @@ <div class="row"> <div class="col-xs-12 text-center"> <div class="btn-group blocks"> + <button class="btn btn-primary btn-large" (click)="clean()" [disabled]="!curProject ">Clean</button> <button class="btn btn-primary btn-large" (click)="preBuild()" [disabled]="!curProject">Pre-Build</button> <button class="btn btn-primary btn-large" (click)="build()" [disabled]="!curProject">Build</button> <button class="btn btn-primary btn-large" (click)="populate()" [disabled]="!curProject ">Populate</button> |