2017-01-21 00:15:00 -05:00
|
|
|
<ion-menu side="right" [content]="searchcontent" id="actions">
|
|
|
|
<ion-header>
|
|
|
|
<ion-toolbar>
|
|
|
|
<ion-title>Actions</ion-title>
|
|
|
|
</ion-toolbar>
|
|
|
|
</ion-header>
|
|
|
|
|
|
|
|
<ion-content>
|
|
|
|
<ion-list>
|
|
|
|
<button ion-item menuClose="actions" (click)="addPage()">
|
|
|
|
<ion-icon name="bookmarks" item-left></ion-icon>Save Current Results as Page
|
|
|
|
</button>
|
|
|
|
<button ion-item menuClose="actions" (click)="updatePage()">
|
|
|
|
<ion-icon name="arrow-up" item-left></ion-icon>Update Page with current Results
|
|
|
|
</button>
|
|
|
|
</ion-list>
|
|
|
|
</ion-content>
|
|
|
|
</ion-menu>
|
|
|
|
|
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>
|
2017-01-21 00:15:00 -05:00
|
|
|
<ion-buttons right>
|
|
|
|
<button ion-button icon-only secondary (click)="actionsMenu()">
|
|
|
|
<ion-icon name="apps" large></ion-icon>
|
|
|
|
</button>
|
|
|
|
</ion-buttons>
|
2016-12-01 10:39:04 -05:00
|
|
|
</ion-navbar>
|
|
|
|
</ion-header>
|
2017-01-18 17:51:06 -05:00
|
|
|
|
2017-01-21 00:15:00 -05:00
|
|
|
<ion-content #searchcontent padding class="search-card">
|
|
|
|
<span style="font-size: .8em; color: #555;">CURRENT PAGE: {{title}}</span>
|
2016-12-31 18:12:50 -05:00
|
|
|
<ion-card *ngFor="let item of userProfile.user.items">
|
2017-01-18 17:51:06 -05:00
|
|
|
<error *ngIf="isError(item.type)" [cardItem]="item" [item]="item.data" (onClose)="removeItem($event)"></error>
|
2017-01-20 18:57:02 -05:00
|
|
|
<passage *ngIf="isPassage(item.type)" [cardItem]="item" [item]="item.data" (onClose)="removeItem($event)" [dict]="item.dict" (onItemClicked)="getItemsNextToCard($event)"></passage>
|
|
|
|
<strongs *ngIf="isStrongs(item.type)" [cardItem]="item" [item]="item.data" (onClose)="removeItem($event)" (onItemClicked)="getItemsNextToCard($event)"></strongs>
|
|
|
|
<words *ngIf="isWords(item.type)" [cardItem]="item" [item]="item.data" (onClose)="removeItem($event)" (onItemClicked)="getItemsNextToCard($event)"></words>
|
2016-12-01 10:39:04 -05:00
|
|
|
</ion-card>
|
|
|
|
</ion-content>
|