mirror of
https://gitlab.com/walljm/dynamicbible.git
synced 2025-07-23 07:19:50 -04:00

-- * Strongs rendering was happening for words that didn't have numbers. * Fix a number of issues caught by linting (lack of types, some casing issues that would have caused bugs) * Remove memory leaks from not cleaning up subscriptions * Fixed bug in Add Card to Saved Page dialog Enhancements -- * Button to clear all cards from current menu * Clear reported errors after 25 seconds so they don't stay on the screen forever. * Show multiple Strong's numbers in tabs instead of multiple dialogs on top of each other. * Make all the dialog titles consistent. Code Health -- * Implement better linting * Sort imports * Optimize regex * Remove unused imports/vars * Upgrade app service to a better style * Removed deprecated function calls * Removed redux, just use an RXJS observable * Removed old dependency from package.json that was no longer used and deprecated
38 lines
1.0 KiB
HTML
38 lines
1.0 KiB
HTML
<mat-toolbar>
|
|
<mat-icon>save</mat-icon>
|
|
<div class="title">Add Card to Saved Page</div>
|
|
</mat-toolbar>
|
|
<mat-dialog-content class="content">
|
|
<div class="page-list">
|
|
<mat-selection-list #pageList>
|
|
<mat-list-option
|
|
*ngFor="let page of this.pages$ | async"
|
|
[value]="page"
|
|
[checkboxPosition]="'before'"
|
|
>
|
|
{{ page.title }}
|
|
</mat-list-option>
|
|
|
|
<mat-divider></mat-divider>
|
|
</mat-selection-list>
|
|
</div>
|
|
<form [formGroup]="form" class="add-page-form">
|
|
<h4>Or create a New Page</h4>
|
|
<mat-form-field class="page-title">
|
|
<mat-label>Title</mat-label>
|
|
<input formControlName="title" matInput /> </mat-form-field
|
|
><button
|
|
class="page-add-button"
|
|
mat-icon-button
|
|
[disableRipple]="true"
|
|
(click)="addPage()"
|
|
>
|
|
<mat-icon>add</mat-icon>
|
|
</button>
|
|
</form>
|
|
<div mat-dialog-actions>
|
|
<button mat-button (click)="save()">Save</button>
|
|
<button mat-button (click)="cancel()">Cancel</button>
|
|
</div>
|
|
</mat-dialog-content>
|