
* Implemented ability to see downloads users are performing on the events widget. * Fixed a bug where version update task was calling wrong code * Fixed a bug where when checking for updates, the event wouldn't be pushed to server with correct name. Added update check to the event widget rather than opening a modal on the user. * Relaxed password requirements to only be 6-32 characters and inform user on register form about the requirements * Removed a ton of duplicate logic for series cards where the logic was already defined in action service * Fixed OPDS total items giving a rounded number rather than total items. * Fixed off by one issue on OPDS pagination
32 lines
1.5 KiB
HTML
32 lines
1.5 KiB
HTML
|
|
<div class="text-danger" *ngIf="errors.length > 0">
|
|
<p>Errors:</p>
|
|
<ul>
|
|
<li *ngFor="let error of errors">{{error}}</li>
|
|
</ul>
|
|
</div>
|
|
<form [formGroup]="registerForm" (ngSubmit)="register()">
|
|
<div class="form-group">
|
|
<label for="username">Username</label>
|
|
<input id="username" class="form-control" formControlName="username" type="text">
|
|
</div>
|
|
|
|
<div class="form-group" *ngIf="registerForm.get('isAdmin')?.value || !authDisabled">
|
|
<label for="password">Password</label> <i class="fa fa-info-circle" placement="right" [ngbTooltip]="passwordTooltip" role="button" tabindex="0"></i>
|
|
<ng-template #passwordTooltip>
|
|
Password must be between 6 and 32 characters in length
|
|
</ng-template>
|
|
<span class="sr-only" id="password-help"><ng-container [ngTemplateOutlet]="passwordTooltip"></ng-container></span>
|
|
<input id="password" class="form-control" formControlName="password" type="password" aria-describedby="password-help">
|
|
</div>
|
|
|
|
<div class="form-check" *ngIf="!firstTimeFlow">
|
|
<input id="admin" type="checkbox" aria-label="Admin" class="form-check-input" formControlName="isAdmin">
|
|
<label for="admin" class="form-check-label">Admin</label>
|
|
</div>
|
|
|
|
<div class="float-right">
|
|
<button class="btn btn-secondary mr-2" type="button" (click)="cancel()" *ngIf="!firstTimeFlow">Cancel</button>
|
|
<button class="btn btn-primary {{firstTimeFlow ? 'alt' : ''}}" type="submit">Register</button>
|
|
</div>
|
|
</form>
|