-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds "execute after saving" checkbox to configuration wizard
Change-Id: I9cb55a1558d90c758af7783928a92f6e25f8de86
- Loading branch information
Showing
9 changed files
with
88 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<div *ngIf="isSelected()" class="wizard-step"> | ||
<h1>{{title}}</h1> | ||
<ng-content></ng-content> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,47 @@ | ||
<step [title]="'Servers'"> | ||
<div> | ||
<div class="col-xs-12 grid long-content"> | ||
<div class="grid-line table-help"> | ||
<div class="col-xs-11 name"> | ||
<label> | ||
<input | ||
id="select_all" | ||
name="select_all" | ||
(click)="toggleSelectAll(this)" | ||
[checked]="areAllServersSelected()" | ||
type="checkbox" | ||
required | ||
> SELECT ALL | ||
</label> | ||
</div> | ||
<div class="col-xs-1 text-right">Info</div> | ||
<div class="col-xs-12 grid long-content"> | ||
<div class="grid-line table-help"> | ||
<div class="col-xs-11 name"> | ||
<label> | ||
<input | ||
id="select_all" | ||
name="select_all" | ||
(click)="toggleSelectAll(this)" | ||
[checked]="areAllServersSelected()" | ||
type="checkbox" | ||
required | ||
> SELECT ALL | ||
</label> | ||
</div> | ||
<div class="col-xs-1 text-right">Info</div> | ||
</div> | ||
|
||
<div class="grid-line" *ngFor="let server of getPolicyServers()"> | ||
<div class="col-xs-11 name"> | ||
<label> | ||
<input | ||
type="checkbox" | ||
(change)="toggleServer(server)" | ||
[checked]="isServerSelected(server)" | ||
[submits]="'#save'" | ||
required | ||
> {{server.data.name|trim_by:60}} | ||
</label> | ||
</div> | ||
<div class="col-xs-1 icon"> | ||
<span class="glyphicon glyphicon-info-sign"></span> | ||
</div> | ||
<div class="grid-line" *ngFor="let server of getPolicyServers()"> | ||
<div class="col-xs-11 name"> | ||
<label> | ||
<input | ||
type="checkbox" | ||
(change)="toggleServer(server)" | ||
[checked]="isServerSelected(server)" | ||
[submits]="'#save'" | ||
required | ||
> {{server.data.name|trim_by:60}} | ||
</label> | ||
</div> | ||
<div class="col-xs-1 icon"> | ||
<span class="glyphicon glyphicon-info-sign"></span> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="single-row col-xs-12"> | ||
<label> | ||
<input | ||
id="execute" | ||
name="execute" | ||
type="checkbox" | ||
[(ngModel)]="model.data.run" | ||
> Execute after saving | ||
</label> | ||
</div> | ||
</step> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters