48 lines
1.2 KiB
HTML
48 lines
1.2 KiB
HTML
<!--
|
|
Generated template for the StreamPage page.
|
|
|
|
See http://ionicframework.com/docs/components/#navigation for more info on
|
|
Ionic pages and navigation.
|
|
-->
|
|
<ion-header>
|
|
|
|
<ion-navbar>
|
|
<button ion-button menuToggle>
|
|
<ion-icon name="menu"></ion-icon>
|
|
</button>
|
|
<ion-title>{{ title }}</ion-title>
|
|
</ion-navbar>
|
|
|
|
</ion-header>
|
|
|
|
|
|
<ion-content overflow-scroll=”true”>
|
|
|
|
<ion-refresher (ionRefresh)="fetchNewerPosts($event)">
|
|
<ion-refresher-content></ion-refresher-content>
|
|
</ion-refresher>
|
|
|
|
<ion-list>
|
|
<ion-card *ngFor="let post of posts" color="{{ post.you_are_mentioned ? 'mention' : '' }}">
|
|
<post [post]="post" [hideImg]="hideImg" [ccOnReply]="ccOnReply" [myUsername]="myUsername"></post>
|
|
</ion-card>
|
|
</ion-list>
|
|
|
|
<ion-infinite-scroll (ionInfinite)="fetchOlderPosts($event)">
|
|
<ion-infinite-scroll-content></ion-infinite-scroll-content>
|
|
</ion-infinite-scroll>
|
|
|
|
<ion-fab right bottom>
|
|
<button ion-fab (click)="showNewPost()">
|
|
<ion-icon name="add"></ion-icon>
|
|
</button>
|
|
</ion-fab>
|
|
|
|
<ion-fab *ngIf="showScrollBtn" left bottom>
|
|
<button ion-fab color="light" (click)="scrollToTop()">
|
|
<ion-icon name="arrow-dropup"></ion-icon>
|
|
</button>
|
|
</ion-fab>
|
|
|
|
</ion-content>
|