* Fixed inputs not showing inline validation due to a missing class * Fixed some checks * Increased the button size on manga reader (develop) * Migrated a type cast to a pure pipe * Sped up the check for if SendTo should render on the menu * Don't allow user to bookmark in bookmark mode * Fixed a bug where Scan Series would skip over Specials due to how new scan loop works. * Fixed scroll to top button persisting when navigating between pages * Edit Series modal now doesn't have a lock field for Series, which can't be locked as it is inheritently locked. Added some validation to ensure Name and SortName are required. * Fixed up some spacing * Fixed actionable menu not opening submenu on mobile * Cleaned up the layout of cover image on series detail * Show all volume or chapters (if only one volume) for cover selection on series * Don't open submenu to right if there is no space * Fixed up cover image not allowing custom saves of existing series/chapter/volume images. Fixed up logging so console output matches log file. * Implemented the ability to turn off css transitions in the UI. * Updated a note internally * Code smells * Added InstallId when pinging the email service to allow throughput tracking
65 lines
3.4 KiB
HTML
65 lines
3.4 KiB
HTML
<div class="modal-header">
|
|
<h4 class="modal-title" id="modal-basic-title">Account Migration</h4>
|
|
<button type="button" class="btn-close" aria-label="Close" (click)="close()">
|
|
|
|
</button>
|
|
</div>
|
|
<div class="modal-body">
|
|
<p>Your account does not have an email on file. This is a one-time migration. Please add your email to the account. A verficiation link will be sent to your email for you
|
|
to confirm and will then be allowed to authenticate with this server. This is required.
|
|
</p>
|
|
|
|
<p class="text-danger" *ngIf="error.length > 0">{{error}}</p>
|
|
|
|
<form [formGroup]="registerForm">
|
|
<div class="mb-3">
|
|
<label for="username" class="form-label">Username</label>
|
|
<input id="username" class="form-control" formControlName="username" type="text" [class.is-invalid]="registerForm.get('username')?.invalid && registerForm.get('username')?.touched">
|
|
<div id="inviteForm-validations" class="invalid-feedback" *ngIf="registerForm.dirty || registerForm.touched">
|
|
<div *ngIf="registerForm.get('username')?.errors?.required">
|
|
This field is required
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="mb-3" style="width:100%">
|
|
<label for="email" class="form-label">Email</label>
|
|
<input class="form-control" type="email" id="email" formControlName="email" [class.is-invalid]="registerForm.get('email')?.invalid && registerForm.get('email')?.touched">
|
|
<div id="inviteForm-validations" class="invalid-feedback" *ngIf="registerForm.dirty || registerForm.touched">
|
|
<div *ngIf="registerForm.get('email')?.errors?.required">
|
|
This field is required
|
|
</div>
|
|
<div *ngIf="registerForm.get('email')?.errors?.email">
|
|
This must be a valid email address
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="mb-3">
|
|
<label for="password" class="form-label">Password</label>
|
|
<input id="password" class="form-control" maxlength="32" minlength="6" formControlName="password" type="password"
|
|
aria-describedby="password-help" [class.is-invalid]="registerForm.get('password')?.invalid && registerForm.get('password')?.touched">
|
|
<div id="inviteForm-validations" class="invalid-feedback" *ngIf="registerForm.dirty || registerForm.touched">
|
|
<div *ngIf="registerForm.get('password')?.errors?.required">
|
|
This field is required
|
|
</div>
|
|
<div *ngIf="registerForm.get('password')?.errors?.minlength">
|
|
This field must be at least {{registerForm.get('password')?.errors?.minlength.requiredLength}} characters
|
|
</div>
|
|
<div *ngIf="registerForm.get('password')?.errors?.maxlength">
|
|
This field must be no more than {{registerForm.get('password')?.errors?.maxlength.requiredLength}} characters
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="button" class="btn btn-secondary" (click)="close()">
|
|
Cancel
|
|
</button>
|
|
<button type="button" class="btn btn-primary" (click)="save()" [disabled]="isSaving || !registerForm.valid">
|
|
<span *ngIf="isSaving" class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>
|
|
<span>Submit</span>
|
|
</button>
|
|
</div>
|