44 lines
1 KiB
HTML
44 lines
1 KiB
HTML
|
<!--
|
||
|
Generated template for the ProfilePage page.
|
||
|
|
||
|
See http://ionicframework.com/docs/components/#navigation for more info on
|
||
|
Ionic pages and navigation.
|
||
|
-->
|
||
|
<ion-header>
|
||
|
|
||
|
<ion-navbar>
|
||
|
<ion-title>{{ user.username }}</ion-title>
|
||
|
</ion-navbar>
|
||
|
|
||
|
</ion-header>
|
||
|
|
||
|
|
||
|
<ion-content padding>
|
||
|
|
||
|
<img src="{{ user.content.cover_image.link }}">
|
||
|
|
||
|
<ion-item>
|
||
|
<ion-avatar item-start>
|
||
|
<img src="{{ user.content.avatar_image.link }}">
|
||
|
</ion-avatar>
|
||
|
<h2>{{ user.name }}</h2>
|
||
|
<p>@{{ user.username }}</p>
|
||
|
<button ion-button item-end>{{ user.you_follow ? "Unfollow" : "Follow" }}</button>
|
||
|
</ion-item>
|
||
|
|
||
|
<p><div [innerHTML]="user.content.html | parser"></div>
|
||
|
|
||
|
<p>
|
||
|
<ion-row>
|
||
|
<ion-col text-center>
|
||
|
<button ion-button >{{ user.counts.posts }}<br/>posts</button>
|
||
|
<button ion-button >{{ user.counts.followers }}<br/>followers</button>
|
||
|
<button ion-button >{{ user.counts.following }}<br/>following</button>
|
||
|
<button ion-button >{{ user.counts.bookmarks }}<br/>stars</button>
|
||
|
</ion-col>
|
||
|
</ion-row>
|
||
|
|
||
|
|
||
|
|
||
|
</ion-content>
|