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>
|
2017-01-21 09:48:56 -05:00
|
|
|
<ion-list-header>
|
|
|
|
Current Page: {{title}}
|
|
|
|
</ion-list-header>
|
2017-01-21 00:15:00 -05:00
|
|
|
<ion-list>
|
|
|
|
<button ion-item menuClose="actions" (click)="addPage()">
|
2017-01-21 09:48:56 -05:00
|
|
|
<ion-icon name="bookmarks" item-left></ion-icon>Save Current Results as New Page
|
2017-01-21 00:15:00 -05:00
|
|
|
</button>
|
2017-01-21 09:48:56 -05:00
|
|
|
<button *ngIf="title !== 'Search'" ion-item menuClose="actions" (click)="updatePage()">
|
2017-01-21 00:15:00 -05:00
|
|
|
<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">
|
2016-12-31 18:12:50 -05:00
|
|
|
<ion-card *ngFor="let item of userProfile.user.items">
|
2017-01-21 09:48:56 -05:00
|
|
|
<passage *ngIf="isPassage(item.type)"
|
|
|
|
[cardItem]="item"
|
2017-01-21 02:21:44 -05:00
|
|
|
[versesOnNewLine]="userProfile.user.verses_on_new_line"
|
2017-01-21 09:48:56 -05:00
|
|
|
(onClose)="removeItem($event)"
|
2017-01-21 02:21:44 -05:00
|
|
|
(onItemClicked)="getItemsNextToCard($event)"></passage>
|
2017-01-21 09:48:56 -05:00
|
|
|
<strongs *ngIf="isStrongs(item.type)"
|
|
|
|
[cardItem]="item"
|
|
|
|
(onClose)="removeItem($event)"
|
2017-01-21 02:21:44 -05:00
|
|
|
(onItemClicked)="getItemsNextToCard($event)"></strongs>
|
2017-01-21 09:48:56 -05:00
|
|
|
<words *ngIf="isWords(item.type)"
|
|
|
|
[cardItem]="item"
|
|
|
|
(onClose)="removeItem($event)"
|
|
|
|
(onItemClicked)="getItemsNextToCard($event)"></words>
|
|
|
|
<error *ngIf="isError(item.type)"
|
|
|
|
[cardItem]="item"
|
2017-01-21 02:21:44 -05:00
|
|
|
(onClose)="removeItem($event)"></error>
|
2016-12-01 10:39:04 -05:00
|
|
|
</ion-card>
|
|
|
|
</ion-content>
|