[Client] Clean up
This commit is contained in:
parent
17e0c00d45
commit
899d032246
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