mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-23 18:13:10 +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>
|
||||
<p class="title"><i class="fa fa-users"></i>おすすめユーザー</p>
|
||||
<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="body"><a class="name" href={ CONFIG.url + '/' + _user.username } data-user-preview={ _user.id }>{ _user.name }</a>
|
||||
<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="body">
|
||||
<a class="name" href={ CONFIG.url + '/' + _user.username } data-user-preview={ _user.id }>{ _user.name }</a>
|
||||
<p class="username">@{ _user.username }</p>
|
||||
</div>
|
||||
<mk-follow-button user={ _user }></mk-follow-button>
|
||||
</div>
|
||||
<p class="empty" if={ !loading && users.length == 0 }>いません!</p>
|
||||
<p class="loading" if={ loading }><i class="fa fa-spinner fa-pulse fa-fw"></i>読み込んでいます
|
||||
<mk-ellipsis></mk-ellipsis>
|
||||
</p>
|
||||
<p class="loading" if={ loading }><i class="fa fa-spinner fa-pulse fa-fw"></i>読み込んでいます<mk-ellipsis></mk-ellipsis></p>
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
|
|
Loading…
Reference in a new issue