mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-10 10:53:09 +02:00
[Client] Clean up
This commit is contained in:
parent
d99056304a
commit
484f063c01
2 changed files with 9 additions and 13 deletions
|
@ -1,9 +1,9 @@
|
|||
<mk-ui>
|
||||
<div class="global" ref="global">
|
||||
<mk-ui-header ref="header" page={ opts.page }></mk-ui-header>
|
||||
<mk-set-avatar-suggestion if={ SIGNIN && I.avatar_id == null }></mk-set-avatar-suggestion>
|
||||
<mk-set-banner-suggestion if={ SIGNIN && I.banner_id == null }></mk-set-banner-suggestion>
|
||||
<div class="content"><yield /></div>
|
||||
<mk-ui-header page={ opts.page }></mk-ui-header>
|
||||
<mk-set-avatar-suggestion if={ SIGNIN && I.avatar_id == null }></mk-set-avatar-suggestion>
|
||||
<mk-set-banner-suggestion if={ SIGNIN && I.banner_id == null }></mk-set-banner-suggestion>
|
||||
<div class="content">
|
||||
<yield />
|
||||
</div>
|
||||
<mk-stream-indicator></mk-stream-indicator>
|
||||
<style>
|
||||
|
|
|
@ -1,17 +1,13 @@
|
|||
<mk-ui>
|
||||
<div class="global" ref="global">
|
||||
<mk-ui-header ref="header"></mk-ui-header>
|
||||
<mk-ui-nav ref="nav"></mk-ui-nav>
|
||||
<div class="content" ref="main"><yield /></div>
|
||||
<mk-ui-header></mk-ui-header>
|
||||
<mk-ui-nav ref="nav"></mk-ui-nav>
|
||||
<div class="content">
|
||||
<yield />
|
||||
</div>
|
||||
<mk-stream-indicator></mk-stream-indicator>
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
|
||||
> .global
|
||||
> .content
|
||||
background #fff
|
||||
</style>
|
||||
<script>
|
||||
this.mixin('stream');
|
||||
|
|
Loading…
Reference in a new issue