blob: a66231c6a02a8b026633f0987812b7dcafbf10d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
|
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">Build</h2>
</div>
<div class="panel-body">
<form [formGroup]="buildForm">
<div class="col-xs-12">
<table class="table table-borderless table-center">
<tbody>
<tr>
<th>Cross SDK</th>
<td>
<!-- FIXME why not working ?
<sdk-select-dropdown [sdks]="(sdks$ | async)"></sdk-select-dropdown>
-->
<sdk-select-dropdown></sdk-select-dropdown>
</td>
</tr>
<tr>
<th>Project root path</th>
<td> <input type="text" disabled style="width:99%;" [value]="curProject && curProject.pathClient"></td>
</tr>
<tr>
<th>Sub-path</th>
<td> <input type="text" style="width:99%;" formControlName="subpath"> </td>
</tr>
<tr>
<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>
</div>
<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>
<button *ngIf="debugEnable" class="btn btn-primary btn-large" (click)="execCmd()" [disabled]="!curProject ">Execute command</button>
<button *ngIf="debugEnable" class="btn btn-primary btn-large" (click)="make()" [disabled]="!curProject ">Make</button>
</div>
</div>
</div>
</form>
<div style="margin-left: 2em; margin-right: 2em; ">
<div class="row ">
<div class="col-xs-10">
<div class="row ">
<div class="col-xs-4">
<label>Command Output</label>
</div>
<div class="col-xs-8" style="font-size:x-small; margin-top:5px;">
{{ cmdInfo }}
</div>
</div>
</div>
<div class="col-xs-2">
<button class="btn btn-link pull-right " (click)="reset() "><span class="fa fa-eraser fa-size-x2"></span></button>
</div>
</div>
<div class="row ">
<div class="col-xs-12 text-center ">
<textarea rows="20" class="textarea-scroll" #scrollOutput>{{ cmdOutput }}</textarea>
</div>
</div>
</div>
</div>
</div>
|