mirror of
https://gitlab.com/walljm/dynamicbible.git
synced 2025-07-25 16:29:49 -04:00

* added saving of state. * moved all state into the user profile, this will allow us to load state after a user logs in when we add user accounts later.
27 lines
1.4 KiB
HTML
27 lines
1.4 KiB
HTML
<ion-header>
|
|
<ion-navbar>
|
|
<button menuToggle large>
|
|
<ion-icon name="menu"></ion-icon>
|
|
</button>
|
|
<ion-searchbar (search)="getQuery($event)" (input)="setQuery($event)" [showCancelButton]="true"></ion-searchbar>
|
|
</ion-navbar>
|
|
</ion-header>
|
|
<ion-content padding class="search-card">
|
|
<ion-card *ngFor="let item of user.items">
|
|
<passage *ngIf="isPassage(item.type)" [cardItem]="item" [item]="item.data" (onClose)="removeItem($event)" [dict]="item.dict" (onStrongsClicked)="getItems($event)"></passage>
|
|
<strongs *ngIf="isStrongs(item.type)" [cardItem]="item" [item]="item.data" (onClose)="removeItem($event)" (onPassageClicked)="getItems($event)"></strongs>
|
|
<words *ngIf="isWords(item.type)" [cardItem]="item" [item]="item.data" (onClose)="removeItem($event)" (onPassageClicked)="getItems($event)"></words>
|
|
<button ion-button icon-left clear small (click)="removeItem(item)">
|
|
<ion-icon name="close-circle"></ion-icon>
|
|
<div>Close</div>
|
|
</button>
|
|
<button ion-button icon-left clear small>
|
|
<ion-icon name="text"></ion-icon>
|
|
<div>4 Notes</div>
|
|
</button>
|
|
<button ion-button icon-left clear small>
|
|
<ion-icon name="text"></ion-icon>
|
|
<div>8 Tags</div>
|
|
</button>
|
|
</ion-card>
|
|
</ion-content> |