mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-03-09 22:31:14 +03:00
20 lines
999 B
HTML
20 lines
999 B
HTML
<h4 mat-dialog-title><ng-container i18n="Create admin account dialog title">Create admin account</ng-container></h4>
|
|
|
|
<mat-dialog-content>
|
|
<div>
|
|
<p i18n="No default admin detected explanation">No default admin account detected. This will create and set the password for an admin account with the user name as 'admin'.</p>
|
|
</div>
|
|
<div style="position: relative">
|
|
<div>
|
|
<mat-form-field color="accent">
|
|
<mat-label i18n="Password">Password</mat-label>
|
|
<input type="password" (keyup.enter)="create()" matInput [(ngModel)]="input">
|
|
</mat-form-field>
|
|
</div>
|
|
</div>
|
|
</mat-dialog-content>
|
|
|
|
<mat-dialog-actions>
|
|
<button [disabled]="input.length === 0" color="accent" style="margin-bottom: 12px;" (click)="create()" mat-raised-button><ng-container i18n="Create">Create</ng-container></button>
|
|
<div class="spinner-div"><mat-spinner [diameter]="25" *ngIf="creating"></mat-spinner></div>
|
|
</mat-dialog-actions> |