Sengi-Windows-MacOS-Linux/src/app/components/stream/user-profile/user-profile.component.html

35 lines
1.8 KiB
HTML
Raw Normal View History

2018-11-03 04:36:35 +01:00
<div class="profile">
2018-11-02 00:36:52 +01:00
<app-waiting-animation *ngIf="isLoading" class="waiting-icon"></app-waiting-animation>
<div *ngIf="account" class="profile-header" [ngStyle]="{'background-image':'url('+account.header+')'}">
<div class="profile-header__inner">
<!-- <img class="profile-header__header" src="{{account.header}}" alt="header" /> -->
<img class="profile-header__avatar" src="{{account.avatar}}" alt="header" />
<h2 class="profile-header__display-name">{{account.display_name}}</h2>
<h2 class="profile-header__fullhandle"><a href="{{account.url}}" target="_blank">@{{account.acct}}</a></h2>
</div>
</div>
2018-11-01 05:44:58 +01:00
2018-11-03 04:36:35 +01:00
<div class="profile-sub-header flexcroll">
<div *ngIf="account && hasNote" class="profile-description">
<app-databinded-text class="status__content" [textIsSelectable]="false" [text]="account.note"
(accountSelected)="browseAccount($event)"
(hashtagSelected)="browseHashtag($event)"></app-databinded-text>
2018-11-03 04:36:35 +01:00
<!-- <p innerHTML="{{account.note}}"></p> -->
</div>
2018-11-03 04:36:35 +01:00
<div class="profile-statuses">
<app-waiting-animation *ngIf="statusLoading" class="waiting-icon"></app-waiting-animation>
<div *ngIf="!isLoading && !statusLoading && statuses.length == 0" class="profile-no-toots">
no toots found
</div>
2018-11-03 04:36:35 +01:00
<div *ngFor="let statusWrapper of statuses">
<app-status [statusWrapper]="statusWrapper"
(browseHashtagEvent)="browseHashtag($event)"
(browseAccountEvent)="browseAccount($event)"
(browseThreadEvent)="browseThread($event)"></app-status>
2018-11-03 04:36:35 +01:00
</div>
</div>
2018-11-01 05:44:58 +01:00
</div>
</div>