-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #453 from LesWardwell/master_angular15
TFS 432694: Update Angular 15, Secrets Broker
- Loading branch information
Showing
40 changed files
with
1,029 additions
and
943 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
47 changes: 28 additions & 19 deletions
47
SafeguardDevOpsService/ClientApp/src/app/confirm-dialog/confirm-dialog.component.html
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,33 +1,42 @@ | ||
<div mat-dialog-title> | ||
<div class='dialog-title-elements'> | ||
<div class='title-text'>{{title}}</div> | ||
<div class='close-button'><button *ngIf='!showCancel' mat-icon-button class='link-button' mat-dialog-close | ||
tabindex='-1'> | ||
<div class='close-button'> | ||
<button *ngIf='!showCancel' mat-icon-button class='link-button' mat-dialog-close tabindex='-1'> | ||
<mat-icon>close</mat-icon> | ||
</button></div> | ||
</button> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class='dialog-content' mat-dialog-content> | ||
<div [innerHTML]="message"></div> | ||
</div> | ||
<mat-checkbox color="primary" *ngIf="showSecretsBrokerOnly" [(ngModel)]="secretsBrokerOnly">Reset Safeguard Secrets Broker for DevOps Only | ||
</mat-checkbox> | ||
<br/> | ||
<mat-checkbox color="primary" *ngIf="showRestart" [(ngModel)]="restart">Restart Safeguard Secrets Broker for DevOps Service | ||
</mat-checkbox> | ||
<mat-form-field *ngIf="showPassphrase && passwordHidden" appearance="outline"> | ||
<mat-label><span>Passphrase</span></mat-label> | ||
<input matInput type="password" autocomplete='off' name="Passphrase" [(ngModel)]="passphrase" /> | ||
<mat-icon matSuffix (click)="passwordHidden = false" [matTooltip]="show">visibility</mat-icon> | ||
</mat-form-field> | ||
<mat-form-field *ngIf="showPassphrase && !passwordHidden" appearance="outline"> | ||
<mat-label><span>Passphrase</span></mat-label> | ||
<input matInput autocomplete='off' name="Passphrase" [(ngModel)]="passphrase" /> | ||
<mat-icon matSuffix (click)="passwordHidden = true" [matTooltip]="hide">visibility_off</mat-icon> | ||
</mat-form-field> | ||
|
||
<div class="padding"> | ||
<mat-checkbox color="primary" *ngIf="showSecretsBrokerOnly" [(ngModel)]="secretsBrokerOnly"> | ||
Reset Safeguard Secrets Broker for DevOps Only | ||
</mat-checkbox> | ||
<br /> | ||
<mat-checkbox color="primary" *ngIf="showRestart" [(ngModel)]="restart"> | ||
Restart Safeguard Secrets Broker for DevOps Service | ||
</mat-checkbox> | ||
|
||
<mat-form-field *ngIf="showPassphrase && passwordHidden" appearance="outline"> | ||
<mat-label><span>Passphrase</span></mat-label> | ||
<input matInput type="password" autocomplete='off' name="Passphrase" [(ngModel)]="passphrase" /> | ||
<mat-icon matSuffix (click)="passwordHidden = false" [matTooltip]="show">visibility</mat-icon> | ||
</mat-form-field> | ||
|
||
<mat-form-field *ngIf="showPassphrase && !passwordHidden" appearance="outline"> | ||
<mat-label><span>Passphrase</span></mat-label> | ||
<input matInput autocomplete='off' name="Passphrase" [(ngModel)]="passphrase" /> | ||
<mat-icon matSuffix (click)="passwordHidden = true" [matTooltip]="hide">visibility_off</mat-icon> | ||
</mat-form-field> | ||
</div> | ||
|
||
<div mat-dialog-actions align='end'> | ||
<button mat-button (click)="close()" cdkFocusInitial *ngIf="showCancel">Cancel</button> | ||
<button mat-button (click)="confirm(false)" *ngIf="showNo">No</button> | ||
<button mat-flat-button color='primary' (click)="confirm(true)">{{confirmText}}</button> | ||
</div> | ||
</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
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
Oops, something went wrong.