-
-
Notifications
You must be signed in to change notification settings - Fork 331
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
16d9c13
commit d5a2d5d
Showing
66 changed files
with
67 additions
and
34 deletions.
There are no files selected for viewing
14 changes: 7 additions & 7 deletions
14
UI/Web/src/app/book-reader/_components/book-reader/book-reader.component.scss
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
49 changes: 26 additions & 23 deletions
49
...app/registration/_components/confirm-reset-password/confirm-reset-password.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,28 +1,31 @@ | ||
<app-splash-container> | ||
<ng-container *transloco="let t; read: 'confirm-reset-password'"> | ||
<app-splash-container> | ||
<ng-container title><h2>Password Reset</h2></ng-container> | ||
<ng-container body> | ||
<p>Enter the new password</p> | ||
<form [formGroup]="registerForm" (ngSubmit)="submit()"> | ||
<div class="mb-3"> | ||
<label for="password" class="form-label">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="visually-hidden" id="password-help"><ng-container [ngTemplateOutlet]="passwordTooltip"></ng-container></span> | ||
<input id="password" class="form-control" maxlength="32" minlength="6" formControlName="password" type="password" aria-describedby="password-help"> | ||
<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 || registerForm.get('password')?.errors?.maxLength"> | ||
Password must be between 6 and 32 characters in length | ||
</div> | ||
</div> | ||
<p>Enter the new password</p> | ||
<form [formGroup]="registerForm" (ngSubmit)="submit()"> | ||
<div class="mb-3"> | ||
<label for="password" class="form-label">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="visually-hidden" id="password-help"><ng-container [ngTemplateOutlet]="passwordTooltip"></ng-container></span> | ||
<input id="password" class="form-control" maxlength="32" minlength="6" formControlName="password" type="password" aria-describedby="password-help"> | ||
<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 class="float-end"> | ||
<button class="btn btn-secondary alt" type="submit">Submit</button> | ||
<div *ngIf="registerForm.get('password')?.errors?.minlength || registerForm.get('password')?.errors?.maxLength"> | ||
Password must be between 6 and 32 characters in length | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
|
||
<div class="float-end"> | ||
<button class="btn btn-secondary alt" type="submit">Submit</button> | ||
</div> | ||
</form> | ||
</ng-container> | ||
</app-splash-container> | ||
</app-splash-container> | ||
|
||
</ng-container> |
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
Binary file added
BIN
+301 KB
UI/Web/src/assets/fonts/EBGarmond/EBGaramond-Italic-VariableFont_wght.woff2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+42.5 KB
UI/Web/src/assets/fonts/Libre_Baskerville/LibreBaskerville-Bold.woff2
Binary file not shown.
Binary file added
BIN
+49.4 KB
UI/Web/src/assets/fonts/Libre_Baskerville/LibreBaskerville-Italic.woff2
Binary file not shown.
Binary file added
BIN
+41.5 KB
UI/Web/src/assets/fonts/Libre_Baskerville/LibreBaskerville-Regular.woff2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,25 @@ | ||
import os | ||
from fontTools.ttLib import TTFont | ||
|
||
# Function to convert a font file to woff2 | ||
def convert_to_woff2(font_path): | ||
font = TTFont(font_path) | ||
font.flavor = 'woff2' | ||
new_path = os.path.splitext(font_path)[0] + '.woff2' | ||
font.save(new_path) | ||
return new_path | ||
|
||
def main(): | ||
# Get the current directory of the script | ||
current_directory = os.path.dirname(os.path.abspath(__file__)) | ||
|
||
# Search for all OTF files recursively in the current directory | ||
for root, _, files in os.walk(current_directory): | ||
for file in files: | ||
if file.lower().endswith(('.otf', '.ttf')) and not file.lower().endswith(('.woff', '.woff2')): | ||
font_file = os.path.join(root, file) | ||
new_path = convert_to_woff2(font_file) | ||
print(f"Converted {font_file} to {new_path}") | ||
|
||
if __name__ == "__main__": | ||
main() |
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