treebird/static/account_sidebar.tmpl
nekobit 1083ed03ff Improve account sidebar
FossilOrigin-Name: 0c144ea23f1d0d1490b28492433fcd03032c19070c5826af5ee3583a1cd5c2f4
2022-07-16 03:11:41 +00:00

36 lines
1.1 KiB
Cheetah

<div class="account-sidebar" {{ %s : header }}>
<table class="acct-info">
<tr>
<td>
<img src="{{%s:avatar}}" class="acct-pfp" loading="lazy">
</td>
<td class="acct-info-right">
<span class="username">{{%s:username}}</span>
<span class="acct">@<span class="acct-js-grep">{{%s:acct}}</span></span>
</td>
</tr>
</table>
<table class="acct-stats">
<tr>
<td class="header-btn btn">
<a href="{{%s:prefix}}/@{{%s:acct}}">
<span class="btn-header">{{%s:statuses_text}}</span>
<span class="btn-content">{{%d:statuses_count}}</span>
</a>
</td>
<td class="header-btn btn">
<a href="{{%s:prefix}}/@{{%s:acct}}/following">
<span class="btn-header">{{%s:following_text}}</span>
<span class="btn-content">{{%d:following_count}}</span>
</a>
</td>
<td class="header-btn btn">
<a href="{{%s:prefix}}/@{{%s:acct}}/followers">
<span class="btn-header">{{%s:followers_text}}</span>
<span class="btn-content">{{%d:followers_count}}</span>
</a>
</td>
</tr>
</table>
</div>