0
0

[Client] Clean up

This commit is contained in:
syuilo 2017-02-22 21:36:00 +09:00
parent d99056304a
commit 484f063c01
2 changed files with 9 additions and 13 deletions

View File

@ -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>

View File

@ -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');