mirror of
https://github.com/MisskeyIO/misskey
synced 2024-12-01 08:18:41 +09:00
[Client] Clean up
This commit is contained in:
parent
d99056304a
commit
484f063c01
@ -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 New Issue
Block a user