2016-12-01 10:39:04 -05:00
|
|
|
<ion-header>
|
|
|
|
<ion-navbar>
|
2016-12-31 18:12:50 -05:00
|
|
|
<button ion-button icon-only menuToggle left>
|
|
|
|
<ion-icon name="menu" large></ion-icon>
|
2016-12-01 10:39:04 -05:00
|
|
|
</button>
|
2016-12-27 21:10:00 -05:00
|
|
|
<ion-searchbar (search)="getQuery($event)" (input)="setQuery($event)" [showCancelButton]="true"></ion-searchbar>
|
2016-12-01 10:39:04 -05:00
|
|
|
</ion-navbar>
|
|
|
|
</ion-header>
|
|
|
|
<ion-content padding class="search-card">
|
2016-12-31 18:12:50 -05:00
|
|
|
<ion-card *ngFor="let item of userProfile.user.items">
|
2016-12-28 16:57:40 -05:00
|
|
|
<passage *ngIf="isPassage(item.type)" [cardItem]="item" [item]="item.data" (onClose)="removeItem($event)" [dict]="item.dict" (onStrongsClicked)="getItemsNextToCard($event)"></passage>
|
|
|
|
<strongs *ngIf="isStrongs(item.type)" [cardItem]="item" [item]="item.data" (onClose)="removeItem($event)" (onPassageClicked)="getItemsNextToCard($event)"></strongs>
|
|
|
|
<words *ngIf="isWords(item.type)" [cardItem]="item" [item]="item.data" (onClose)="removeItem($event)" (onPassageClicked)="getItemsNextToCard($event)"></words>
|
2016-12-01 10:39:04 -05:00
|
|
|
<button ion-button icon-left clear small (click)="removeItem(item)">
|
|
|
|
<ion-icon name="close-circle"></ion-icon>
|
|
|
|
<div>Close</div>
|
|
|
|
</button>
|
2016-12-31 18:12:50 -05:00
|
|
|
<!--<button ion-button icon-left clear small>
|
2016-12-01 10:39:04 -05:00
|
|
|
<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>
|
2016-12-31 18:12:50 -05:00
|
|
|
</button>-->
|
2016-12-01 10:39:04 -05:00
|
|
|
</ion-card>
|
|
|
|
</ion-content>
|