mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 09:03:08 +02:00
Improve readability
This commit is contained in:
parent
ed4a7ebd0c
commit
dbafa13d94
1 changed files with 7 additions and 5 deletions
|
@ -1,16 +1,18 @@
|
||||||
<mk-user-recommendation-home-widget>
|
<mk-user-recommendation-home-widget>
|
||||||
<p class="title"><i class="fa fa-users"></i>おすすめユーザー</p>
|
<p class="title"><i class="fa fa-users"></i>おすすめユーザー</p>
|
||||||
<button onclick={ refresh } title="他を見る"><i class="fa fa-refresh"></i></button>
|
<button onclick={ refresh } title="他を見る"><i class="fa fa-refresh"></i></button>
|
||||||
<div class="user" if={ !loading && users.length != 0 } each={ _user in users }><a class="avatar-anchor" href={ CONFIG.url + '/' + _user.username }><img class="avatar" src={ _user.avatar_url + '?thumbnail&size=42' } alt="" data-user-preview={ _user.id }/></a>
|
<div class="user" if={ !loading && users.length != 0 } each={ _user in users }>
|
||||||
<div class="body"><a class="name" href={ CONFIG.url + '/' + _user.username } data-user-preview={ _user.id }>{ _user.name }</a>
|
<a class="avatar-anchor" href={ CONFIG.url + '/' + _user.username }>
|
||||||
|
<img class="avatar" src={ _user.avatar_url + '?thumbnail&size=42' } alt="" data-user-preview={ _user.id }/>
|
||||||
|
</a>
|
||||||
|
<div class="body">
|
||||||
|
<a class="name" href={ CONFIG.url + '/' + _user.username } data-user-preview={ _user.id }>{ _user.name }</a>
|
||||||
<p class="username">@{ _user.username }</p>
|
<p class="username">@{ _user.username }</p>
|
||||||
</div>
|
</div>
|
||||||
<mk-follow-button user={ _user }></mk-follow-button>
|
<mk-follow-button user={ _user }></mk-follow-button>
|
||||||
</div>
|
</div>
|
||||||
<p class="empty" if={ !loading && users.length == 0 }>いません!</p>
|
<p class="empty" if={ !loading && users.length == 0 }>いません!</p>
|
||||||
<p class="loading" if={ loading }><i class="fa fa-spinner fa-pulse fa-fw"></i>読み込んでいます
|
<p class="loading" if={ loading }><i class="fa fa-spinner fa-pulse fa-fw"></i>読み込んでいます<mk-ellipsis></mk-ellipsis></p>
|
||||||
<mk-ellipsis></mk-ellipsis>
|
|
||||||
</p>
|
|
||||||
<style>
|
<style>
|
||||||
:scope
|
:scope
|
||||||
display block
|
display block
|
||||||
|
|
Loading…
Reference in a new issue