mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-14 18:53:08 +02:00
[Client] Implement #102
This commit is contained in:
parent
d6e68bf1fa
commit
9e772626ce
1 changed files with 17 additions and 5 deletions
|
@ -22,9 +22,12 @@
|
||||||
<a class="name" href={ CONFIG.url + '/' + p.user.username } data-user-preview={ p.user.id }>{ p.user.name }</a>
|
<a class="name" href={ CONFIG.url + '/' + p.user.username } data-user-preview={ p.user.id }>{ p.user.name }</a>
|
||||||
<span class="is-bot" if={ p.user.is_bot }>bot</span>
|
<span class="is-bot" if={ p.user.is_bot }>bot</span>
|
||||||
<span class="username">@{ p.user.username }</span>
|
<span class="username">@{ p.user.username }</span>
|
||||||
|
<div class="info">
|
||||||
|
<span class="app" if={ p.app }>via <b>{ p.app.name }</b></span>
|
||||||
<a class="created-at" href={ url }>
|
<a class="created-at" href={ url }>
|
||||||
<mk-time time={ p.created_at }></mk-time>
|
<mk-time time={ p.created_at }></mk-time>
|
||||||
</a>
|
</a>
|
||||||
|
</div>
|
||||||
</header>
|
</header>
|
||||||
<div class="body">
|
<div class="body">
|
||||||
<div class="text">
|
<div class="text">
|
||||||
|
@ -186,11 +189,20 @@
|
||||||
margin 0 0 0 8px
|
margin 0 0 0 8px
|
||||||
color #ccc
|
color #ccc
|
||||||
|
|
||||||
> .created-at
|
> .info
|
||||||
position absolute
|
position absolute
|
||||||
top 0
|
top 0
|
||||||
right 0
|
right 0
|
||||||
|
text-align right
|
||||||
font-size 0.9em
|
font-size 0.9em
|
||||||
|
|
||||||
|
> .app
|
||||||
|
margin-right 8px
|
||||||
|
padding-right 8px
|
||||||
|
color #ccc
|
||||||
|
border-right solid 1px #eaeaea
|
||||||
|
|
||||||
|
> .created-at
|
||||||
color #c0c0c0
|
color #c0c0c0
|
||||||
|
|
||||||
> .body
|
> .body
|
||||||
|
|
Loading…
Reference in a new issue