|
42 | 42 | <span class="text-blue-800 font-weight-bold step-title"> |
43 | 43 | Summary |
44 | 44 | </span> |
45 | | - <div [ngClass]="isCompleted(4)?'step-success':step===3?'step-active':'step-inactive'" |
| 45 | + <div [ngClass]="isCompleted(4) ? 'step-success':step === 4 ?'step-active' : 'step-inactive'" |
46 | 46 | class="round-indicator"> |
47 | | - <i class="step-icon" [ngClass]="isCompleted(4)?'icon-checkmark3':'icon-eye'"></i> |
| 47 | + <i class="step-icon" [ngClass]="isCompleted(4) ? 'icon-checkmark3' : 'icon-eye'"></i> |
48 | 48 | </div> |
49 | 49 | </div> |
50 | 50 | </div> |
|
126 | 126 | [loading]="loadingData(condition.get('field').value)" |
127 | 127 | [multiple]="false" |
128 | 128 | [searchable]="true" |
129 | | - class="flex-grow-1" |
| 129 | + class="flex-grow-1 w-30" |
130 | 130 | formControlName="value" |
131 | 131 | id="values"> |
132 | 132 | </ng-select> |
|
149 | 149 | </div> |
150 | 150 | </div> |
151 | 151 | <div class="d-flex mt-3 flex-column"> |
152 | | - <div class="col-12 p-0"> |
| 152 | + <div class="col-6 p-0"> |
153 | 153 | <label class="pb-1" for="exclude">Agent platform is</label> |
154 | 154 | <ng-select [clearable]="false" |
155 | 155 | [items]="platforms" |
|
179 | 179 | </div>--> |
180 | 180 | </div> |
181 | 181 | <div class="d-flex mt-3 flex-column"> |
182 | | - <div class="col-12"> |
183 | 182 | <app-utm-toggle (toggleChange)="formRule.get('agentType').setValue($event)" |
184 | 183 | [active]="formRule.get('agentType').value" |
185 | 184 | [emitAtStart]="false" |
186 | 185 | [customClass]="'pl-3'" |
187 | | - [label]="'Select the agent handling strategy for the automation. By default, commands won\'t run on specified agents, even if the trigger conditions match. Alternatively, choose a default agent to run the automation if no other agent matches the criteria.'" class="mb-3"></app-utm-toggle> |
188 | | - </div> |
| 186 | + [label]="'Agent handling strategy for the automation'"></app-utm-toggle> |
| 187 | + <div class="alert alert-info alert-styled-right mt-1 info-dismissible"> |
| 188 | + <span class="font-weight-semibold">Info! </span> |
| 189 | + <span>Select the agent handling strategy for the automation. By default, commands won't run on specified agents, even if the trigger conditions match. Alternatively, choose a default agent to run the automation if no other agent matches the criteria.</span> |
| 190 | + </div> |
189 | 191 | </div> |
190 | 192 | <div *ngIf="formRule.get('agentType').value" class="d-flex mt-3 flex-column"> |
191 | 193 | <div class="col-12 p-0"> |
|
294 | 296 |
|
295 | 297 | <button (click)="createRule()" |
296 | 298 | *ngIf="step===4" |
297 | | - [disabled]="!command || command === ''" |
298 | 299 | class="btn utm-button utm-button-primary ml-2"> |
299 | 300 | <i [ngClass]="creating?'icon-spinner2 spinner':'icon-terminal'"></i> |
300 | 301 | {{rule ? 'Edit' : 'Create'}} automation |
|
0 commit comments