2019-01-02 15:18:49 -05:00
|
|
|
<ion-menu side='right' [content]='searchcontent' id='actions'>
|
2017-01-21 00:15:00 -05:00
|
|
|
<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>
|
2018-12-25 09:30:28 -06:00
|
|
|
Current Page: {{this.profileService.title}}
|
2017-01-21 09:48:56 -05:00
|
|
|
</ion-list-header>
|
2017-08-07 16:30:03 -04:00
|
|
|
|
2017-01-21 00:15:00 -05:00
|
|
|
<ion-list>
|
2019-01-02 15:18:49 -05:00
|
|
|
<button ion-item menuClose='actions' (click)='addPage()'>
|
|
|
|
<ion-icon name='bookmarks' item-left></ion-icon>Save Results as New Page
|
2017-01-21 00:15:00 -05:00
|
|
|
</button>
|
2019-01-02 15:18:49 -05:00
|
|
|
<button *ngIf='this.profileService.isOnSearchPage()' ion-item menuClose='actions' (click)='updatePage()'>
|
|
|
|
<ion-icon name='arrow-up' item-left></ion-icon>Update Page with Results
|
2017-01-21 00:15:00 -05:00
|
|
|
</button>
|
|
|
|
</ion-list>
|
2019-01-02 15:18:49 -05:00
|
|
|
<settings></settings>
|
2017-01-21 00:15:00 -05:00
|
|
|
</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>
|
2019-01-02 15:18:49 -05:00
|
|
|
<ion-icon name='menu' large></ion-icon>
|
2016-12-01 10:39:04 -05:00
|
|
|
</button>
|
2019-01-02 22:57:12 -05:00
|
|
|
<ion-auto-complete [dataProvider]='autocompleteService'
|
|
|
|
[(keyword)]='searchQuery'
|
|
|
|
(search)='getQuery($event)' (input)='setQuery($event)'
|
|
|
|
(itemSelected)='itemSelected($event)' [options]='{ showCancelButton : "true" }'
|
|
|
|
(autoFocus)='showHistory($event)' #searchbar></ion-auto-complete>
|
2017-01-21 00:15:00 -05:00
|
|
|
<ion-buttons right>
|
2019-01-02 15:18:49 -05:00
|
|
|
<button ion-button icon-only secondary (click)='versePicker()'>
|
|
|
|
<ion-icon name='albums' large></ion-icon>
|
2017-08-23 17:53:03 -04:00
|
|
|
</button>
|
2019-01-02 15:18:49 -05:00
|
|
|
<button ion-button icon-only secondary (click)='actionsMenu()'>
|
|
|
|
<ion-icon name='apps' large></ion-icon>
|
2017-01-21 00:15:00 -05:00
|
|
|
</button>
|
|
|
|
</ion-buttons>
|
2016-12-01 10:39:04 -05:00
|
|
|
</ion-navbar>
|
|
|
|
</ion-header>
|
2017-01-18 17:51:06 -05:00
|
|
|
|
2019-01-02 15:18:49 -05:00
|
|
|
<ion-content #searchcontent padding class='search-card'>
|
|
|
|
<ion-card *ngFor='let item of this.profileService.profile().items'>
|
|
|
|
<passage *ngIf='isPassage(item.type)' [cardItem]='item' (onClose)='this.profileService.removeItem($event)'
|
|
|
|
(onItemClicked)='getItemsNextToCard($event)'></passage>
|
|
|
|
<strongs *ngIf='isStrongs(item.type)' [cardItem]='item' (onClose)='this.profileService.removeItem($event)'
|
|
|
|
(onItemClicked)='getItemsNextToCard($event)'></strongs>
|
|
|
|
<words *ngIf='isWords(item.type)' [cardItem]='item' (onClose)='this.profileService.removeItem($event)'
|
|
|
|
(onItemClicked)='getItemsNextToCard($event)'></words>
|
|
|
|
<error *ngIf='isError(item.type)' [cardItem]='item' (onClose)='this.profileService.removeItem($event)'></error>
|
2016-12-01 10:39:04 -05:00
|
|
|
</ion-card>
|
2018-12-25 09:30:28 -06:00
|
|
|
</ion-content>
|