1 <div class="panel panel-default">
2 <div class="panel-heading">
3 <h2 class="panel-title" (click)="buildIsCollapsed = !buildIsCollapsed">
5 <div class="pull-right">
6 <button class="btn btn-link" (click)="buildIsCollapsed = !buildIsCollapsed; $event.stopPropagation()">
7 <span class="fa fa-big" [ngClass]="{'fa-angle-double-down': buildIsCollapsed, 'fa-angle-double-right': !buildIsCollapsed}"></span>
12 <div class="panel-body" [collapse]="buildIsCollapsed">
13 <form [formGroup]="buildForm">
14 <div class="col-xs-12">
15 <table class="table table-borderless table-center">
20 <!-- FIXME why not working ?
21 <sdk-select-dropdown [sdks]="(sdks$ | async)"></sdk-select-dropdown>
23 <sdk-select-dropdown></sdk-select-dropdown>
27 <th>Project root path</th>
28 <td> <input type="text" disabled style="width:99%;" [value]="curProject && curProject.pathClient"></td>
32 <td> <input type="text" style="width:99%;" formControlName="subpath"> </td>
37 <accordion-group #group>
38 <div accordion-heading>
40 <i class="pull-right float-xs-right fa" [ngClass]="{'fa-chevron-down': group.isOpen, 'fa-chevron-right': !group.isOpen}"></i>
43 <table class="table table-borderless table-in-accordion">
46 <th>Clean Command</th>
47 <td> <input type="text" style="width:99%;" formControlName="cmdClean"> </td>
50 <th>Pre-Build Command</th>
51 <td> <input type="text" style="width:99%;" formControlName="cmdPrebuild"> </td>
54 <th>Build Command</th>
55 <td> <input type="text" style="width:99%;" formControlName="cmdBuild"> </td>
58 <th>Populate Command</th>
59 <td> <input type="text" style="width:99%;" formControlName="cmdPopulate"> </td>
62 <th>Env variables</th>
63 <td> <input type="text" style="width:99%;" formControlName="envVars"> </td>
65 <tr *ngIf="debugEnable">
66 <th>Args variables</th>
67 <td> <input type="text" style="width:99%;" formControlName="cmdArgs"> </td>
79 <div class="col-xs-12 text-center">
80 <div class="btn-group blocks">
81 <button class="btn btn-primary btn-large" (click)="clean()" [disabled]="!curProject ">Clean</button>
82 <button class="btn btn-primary btn-large" (click)="preBuild()" [disabled]="!curProject">Pre-Build</button>
83 <button class="btn btn-primary btn-large" (click)="build()" [disabled]="!curProject">Build</button>
84 <button class="btn btn-primary btn-large" (click)="populate()" [disabled]="!curProject ">Populate</button>
85 <button *ngIf="debugEnable" class="btn btn-primary btn-large" (click)="execCmd()" [disabled]="!curProject ">Execute command</button>
86 <button *ngIf="debugEnable" class="btn btn-primary btn-large" (click)="make()" [disabled]="!curProject ">Make</button>
92 <div style="margin-left: 2em; margin-right: 2em; ">
94 <div class="col-xs-10">
96 <div class="col-xs-4">
97 <label>Command Output</label>
99 <div class="col-xs-8" style="font-size:x-small; margin-top:5px;">
104 <div class="col-xs-2">
105 <button class="btn btn-link pull-right " (click)="reset() "><span class="fa fa-eraser fa-size-x2"></span></button>
109 <div class="col-xs-12 text-center ">
110 <textarea rows="20" class="textarea-scroll" #scrollOutput>{{ cmdOutput }}</textarea>