[Client] Clean up

This commit is contained in:
syuilo 2017-02-22 21:36:00 +09:00
parent 17e0c00d45
commit 899d032246
2 changed files with 9 additions and 13 deletions

View file

@ -1,9 +1,9 @@
<mk-ui> <mk-ui>
<div class="global" ref="global"> <mk-ui-header page={ opts.page }></mk-ui-header>
<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-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>
<mk-set-banner-suggestion if={ SIGNIN && I.banner_id == null }></mk-set-banner-suggestion> <div class="content">
<div class="content"><yield /></div> <yield />
</div> </div>
<mk-stream-indicator></mk-stream-indicator> <mk-stream-indicator></mk-stream-indicator>
<style> <style>

View file

@ -1,17 +1,13 @@
<mk-ui> <mk-ui>
<div class="global" ref="global"> <mk-ui-header></mk-ui-header>
<mk-ui-header ref="header"></mk-ui-header> <mk-ui-nav ref="nav"></mk-ui-nav>
<mk-ui-nav ref="nav"></mk-ui-nav> <div class="content">
<div class="content" ref="main"><yield /></div> <yield />
</div> </div>
<mk-stream-indicator></mk-stream-indicator> <mk-stream-indicator></mk-stream-indicator>
<style> <style>
:scope :scope
display block display block
> .global
> .content
background #fff
</style> </style>
<script> <script>
this.mixin('stream'); this.mixin('stream');