wip
This commit is contained in:
parent
1a6a72591f
commit
063193f429
175 changed files with 312 additions and 316 deletions
|
|
@ -1,6 +1,6 @@
|
|||
<mk-analog-clock>
|
||||
<canvas ref="canvas" width="256" height="256"></canvas>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
> canvas
|
||||
display block
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<span class="username">@{ username }</span>
|
||||
</li>
|
||||
</ol>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
position absolute
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<virtual if={ wait }>%fa:spinner .pulse .fw%</virtual>
|
||||
</button>
|
||||
<div class="init" if={ init }>%fa:spinner .pulse .fw%</div>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<mk-contextmenu>
|
||||
<yield />
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
$width = 240px
|
||||
$item-height = 38px
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
</div>
|
||||
</yield>
|
||||
</mk-window>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<div class="main" ref="main" if={ !fetching }>
|
||||
<mk-post-detail ref="detail" post={ post }/>
|
||||
</div>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
opacity 0
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
</virtual>
|
||||
</div>
|
||||
</div>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
よろしくお願いいたします。
|
||||
</p>
|
||||
</div>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
color #fff
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
<mk-drive-browser multiple={ true } folder={ parent.folder } ref="browser"/>
|
||||
</yield>
|
||||
</mk-window>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
> mk-window
|
||||
[data-yield='header']
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@
|
|||
<div class="dropzone" if={ draghover }></div>
|
||||
<mk-uploader ref="uploader"/>
|
||||
<input ref="fileInput" type="file" accept="*/*" multiple="multiple" tabindex="-1" onchange={ changeFileInput }/>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
<img src={ file.url + '?thumbnail&size=128' } alt="" onload={ onload }/>
|
||||
</div>
|
||||
<p class="name"><span>{ file.name.lastIndexOf('.') != -1 ? file.name.substr(0, file.name.lastIndexOf('.')) : file.name }</span><span class="ext" if={ file.name.lastIndexOf('.') != -1 }>{ file.name.substr(file.name.lastIndexOf('.')) }</span></p>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
padding 8px 0 0 0
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<mk-drive-browser-folder data-is-contextmenu-showing={ isContextmenuShowing.toString() } data-draghover={ draghover.toString() } @click="onclick" onmouseover={ onmouseover } onmouseout={ onmouseout } ondragover={ ondragover } ondragenter={ ondragenter } ondragleave={ ondragleave } ondrop={ ondrop } oncontextmenu={ oncontextmenu } draggable="true" ondragstart={ ondragstart } ondragend={ ondragend } title={ title }>
|
||||
<p class="name"><virtual if={ hover }>%fa:R folder-open .fw%</virtual><virtual if={ !hover }>%fa:R folder .fw%</virtual>{ folder.name }</p>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
padding 8px
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<mk-drive-browser-nav-folder data-draghover={ draghover } @click="onclick" ondragover={ ondragover } ondragenter={ ondragenter } ondragleave={ ondragleave } ondrop={ ondrop }>
|
||||
<virtual if={ folder == null }>%fa:cloud%</virtual><span>{ folder == null ? '%i18n:desktop.tags.mk-drive-browser-nav-folder.drive%' : folder.name }</span>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
&[data-draghover]
|
||||
background #eee
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
width 70px
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<virtual if={ wait }>%fa:spinner .pulse .fw%</virtual>
|
||||
</button>
|
||||
<div class="init" if={ init }>%fa:spinner .pulse .fw%</div>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
<p class="fetching" if={ fetching }>%fa:spinner .pulse .fw%読み込んでいます<mk-ellipsis/></p>
|
||||
<a class="refresh" @click="refresh">もっと見る</a>
|
||||
<button class="close" @click="close" title="閉じる">%fa:times%</button>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
padding 24px
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
<span>{ path }</span>
|
||||
</p>
|
||||
</div>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
overflow hidden
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<mk-activity-home-widget>
|
||||
<mk-activity-widget design={ data.design } view={ data.view } user={ I } ref="activity"/>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
}</h1>
|
||||
<p if={ !fetching }><mk-raw if={ broadcasts.length != 0 } content={ broadcasts[i].text }/><virtual if={ broadcasts.length == 0 }>%i18n:desktop.tags.mk-broadcast-home-widget.have-a-nice-day%</virtual></p>
|
||||
<a if={ broadcasts.length > 1 } @click="next">%i18n:desktop.tags.mk-broadcast-home-widget.next% >></a>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
padding 10px
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
padding 16px 0
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
</virtual>
|
||||
<p class="get-started" if={ this.data.channel == null }>%i18n:desktop.tags.mk-channel-home-widget.get-started%</p>
|
||||
<mk-channel ref="channel" show={ this.data.channel }/>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
background #fff
|
||||
|
|
@ -110,7 +110,7 @@
|
|||
<mk-channel-post each={ post in posts.slice().reverse() } post={ post } form={ parent.refs.form }/>
|
||||
</div>
|
||||
<mk-channel-form ref="form"/>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
|
@ -207,7 +207,7 @@
|
|||
</virtual>
|
||||
</div>
|
||||
</div>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
margin 0
|
||||
|
|
@ -253,7 +253,7 @@
|
|||
|
||||
<mk-channel-form>
|
||||
<input ref="text" disabled={ wait } onkeydown={ onkeydown } placeholder="書いて">
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
width 100%
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<h1>%fa:heart%%i18n:desktop.tags.mk-donation-home-widget.title%</h1>
|
||||
<p>{'%i18n:desktop.tags.mk-donation-home-widget.text%'.substr(0, '%i18n:desktop.tags.mk-donation-home-widget.text%'.indexOf('{'))}<a href="/syuilo" data-user-preview="@syuilo">@syuilo</a>{'%i18n:desktop.tags.mk-donation-home-widget.text%'.substr('%i18n:desktop.tags.mk-donation-home-widget.text%'.indexOf('}') + 1)}</p>
|
||||
</article>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
background #fff
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
<virtual if={ parent.moreLoading }>%fa:spinner .pulse .fw%</virtual>
|
||||
</yield/>
|
||||
</mk-timeline>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
background #fff
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<p class="title">%fa:comments%%i18n:desktop.tags.mk-messaging-home-widget.title%</p>
|
||||
</virtual>
|
||||
<mk-messaging ref="index" compact={ true }/>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
overflow hidden
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<mk-nav-home-widget>
|
||||
<mk-nav-links/>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
padding 16px
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
<button @click="settings" title="%i18n:desktop.tags.mk-notifications-home-widget.settings%">%fa:cog%</button>
|
||||
</virtual>
|
||||
<mk-notifications/>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
background #fff
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
</virtual>
|
||||
</div>
|
||||
<p class="empty" if={ !initializing && images.length == 0 }>%i18n:desktop.tags.mk-photo-stream-home-widget.no-photos%</p>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
background #fff
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
<textarea disabled={ posting } ref="text" onkeydown={ onkeydown } placeholder="%i18n:desktop.tags.mk-post-form-home-widget.placeholder%"></textarea>
|
||||
<button @click="post" disabled={ posting }>%i18n:desktop.tags.mk-post-form-home-widget.post%</button>
|
||||
</virtual>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
background #fff
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<img class="avatar" src={ I.avatar_url + '?thumbnail&size=96' } @click="setAvatar" alt="avatar" title="クリックでアバター編集" data-user-preview={ I.id }/>
|
||||
<a class="name" href={ '/' + I.username }>{ I.name }</a>
|
||||
<p class="username">@{ I.username }</p>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
overflow hidden
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
</div>
|
||||
<p class="empty" if={ !loading && poll == null }>%i18n:desktop.tags.mk-recommended-polls-home-widget.nothing%</p>
|
||||
<p class="loading" if={ loading }>%fa:spinner .pulse .fw%%i18n:common.loading%<mk-ellipsis/></p>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
background #fff
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
<virtual each={ item in items }><a href={ item.link } target="_blank">{ item.title }</a></virtual>
|
||||
</div>
|
||||
<p class="initializing" if={ initializing }>%fa:spinner .pulse .fw%%i18n:common.loading%<mk-ellipsis/></p>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
background #fff
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
<mk-server-home-widget-disk if={ !initializing } show={ data.view == 3 } connection={ connection }/>
|
||||
<mk-server-home-widget-uptimes if={ !initializing } show={ data.view == 4 } connection={ connection }/>
|
||||
<mk-server-home-widget-info if={ !initializing } show={ data.view == 5 } connection={ connection } meta={ meta }/>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
background #fff
|
||||
|
|
@ -158,7 +158,7 @@
|
|||
style="stroke: none; fill: url(#{ memGradientId }); mask: url(#{ memMaskId })"/>
|
||||
<text x="1" y="5">MEM <tspan>{ memP }%</tspan></text>
|
||||
</svg>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
|
@ -239,7 +239,7 @@
|
|||
<p>{ cores } Cores</p>
|
||||
<p>{ model }</p>
|
||||
</div>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
|
@ -297,7 +297,7 @@
|
|||
<p>Used: { bytesToSize(used, 1) }</p>
|
||||
<p>Free: { bytesToSize(free, 1) }</p>
|
||||
</div>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
|
@ -363,7 +363,7 @@
|
|||
<p>Available: { bytesToSize(available, 1) }</p>
|
||||
<p>Used: { bytesToSize(used, 1) }</p>
|
||||
</div>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
|
@ -426,7 +426,7 @@
|
|||
<p>Uptimes</p>
|
||||
<p>Process: { process ? process.toFixed(0) : '---' }s</p>
|
||||
<p>OS: { os ? os.toFixed(0) : '---' }s</p>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
padding 10px 14px
|
||||
|
|
@ -464,7 +464,7 @@
|
|||
<p>Maintainer: <b>{ meta.maintainer }</b></p>
|
||||
<p>Machine: { meta.machine }</p>
|
||||
<p>Node: { meta.node }</p>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
padding 10px 14px
|
||||
|
|
@ -498,7 +498,7 @@
|
|||
riot-stroke={ color }/>
|
||||
<text x="50%" y="50%" dy="0.05" text-anchor="middle">{ (p * 100).toFixed(0) }%</text>
|
||||
</svg>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<div ref="slideB" class="slide b"></div>
|
||||
</div>
|
||||
<button @click="resize">%fa:expand%</button>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
overflow hidden
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
<virtual if={ parent.moreLoading }>%fa:spinner .pulse .fw%</virtual>
|
||||
</yield/>
|
||||
</mk-timeline>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
background #fff
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<mk-timemachine-home-widget>
|
||||
<mk-calendar-widget design={ data.design } warp={ warp }/>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<mk-tips-home-widget>
|
||||
<p ref="tip">%fa:R lightbulb%<span ref="text"></span></p>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
overflow visible !important
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
</div>
|
||||
<p class="empty" if={ !loading && post == null }>%i18n:desktop.tags.mk-trends-home-widget.nothing%</p>
|
||||
<p class="loading" if={ loading }>%fa:spinner .pulse .fw%%i18n:common.loading%<mk-ellipsis/></p>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
background #fff
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
</div>
|
||||
<p class="empty" if={ !loading && users.length == 0 }>%i18n:desktop.tags.mk-user-recommendation-home-widget.no-one%</p>
|
||||
<p class="loading" if={ loading }>%fa:spinner .pulse .fw%%i18n:common.loading%<mk-ellipsis/></p>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
background #fff
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<mk-version-home-widget>
|
||||
<p>ver { _VERSION_ } (葵 aoi)</p>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
overflow visible !important
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@
|
|||
<div ref="right" data-place="right"></div>
|
||||
</div>
|
||||
</div>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<virtual each={ image in images }>
|
||||
<mk-images-image image={ image }/>
|
||||
</virtual>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display grid
|
||||
grid-gap 4px
|
||||
|
|
@ -60,7 +60,7 @@
|
|||
style={ styles }
|
||||
@click="click"
|
||||
title={ image.name }></a>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
overflow hidden
|
||||
|
|
@ -111,7 +111,7 @@
|
|||
|
||||
<mk-image-dialog>
|
||||
<div class="bg" ref="bg" @click="close"></div><img ref="img" src={ image.url } alt={ image.name } title={ image.name } @click="close"/>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
position fixed
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
</div>
|
||||
</yield>
|
||||
</mk-window>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<mk-follow-button user={ user }/>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
margin 0
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<mk-messaging-room user={ parent.user }/>
|
||||
</yield>
|
||||
</mk-window>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
> mk-window
|
||||
[data-yield='header']
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<mk-messaging ref="index"/>
|
||||
</yield>
|
||||
</mk-window>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
> mk-window
|
||||
[data-yield='header']
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@
|
|||
</button>
|
||||
<p class="empty" if={ notifications.length == 0 && !loading }>ありません!</p>
|
||||
<p class="loading" if={ loading }>%fa:spinner .pulse .fw%%i18n:common.loading%<mk-ellipsis/></p>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<mk-drive-page>
|
||||
<mk-drive-browser ref="browser" folder={ opts.folder }/>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
position fixed
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
left: 15px;
|
||||
}
|
||||
</style>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
$width = 1000px
|
||||
|
||||
|
|
@ -160,7 +160,7 @@
|
|||
<a href={ _API_URL_ + '/signin/twitter' }>Twitterでサインイン</a>
|
||||
<div class="divider"><span>or</span></div>
|
||||
<button class="signup" @click="parent.signup">新規登録</button><a class="introduction" @click="introduction">Misskeyについて</a>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
width 290px
|
||||
|
|
@ -296,7 +296,7 @@
|
|||
<mk-entrance-signup>
|
||||
<mk-signup/>
|
||||
<button class="cancel" type="button" @click="parent.signin" title="キャンセル">%fa:times%</button>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
width 368px
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<mk-home-customize-page>
|
||||
<mk-home ref="home" mode="timeline" customize={ true }/>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<mk-ui ref="ui" page={ page }>
|
||||
<mk-home ref="home" mode={ parent.opts.mode }/>
|
||||
</mk-ui>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<mk-messaging-room-page>
|
||||
<mk-messaging-room if={ user } user={ user } is-naked={ true }/>
|
||||
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
background #fff
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
<h1>Not Found</h1>
|
||||
</main>
|
||||
</mk-ui>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<a if={ parent.post.prev } href={ parent.post.prev }>%fa:angle-down%%i18n:desktop.tags.mk-post-page.prev%</a>
|
||||
</main>
|
||||
</mk-ui>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<mk-ui ref="ui">
|
||||
<mk-search ref="search" query={ parent.opts.query }/>
|
||||
</mk-ui>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<button class="ok" @click="ok">%i18n:desktop.tags.mk-selectdrive-page.ok%</button>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
position fixed
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<mk-ui ref="ui">
|
||||
<mk-user ref="user" user={ parent.user } page={ parent.opts.page }/>
|
||||
</mk-ui>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
margin 0
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@
|
|||
</virtual>
|
||||
</div>
|
||||
</div>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
margin 0
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
</div>
|
||||
</yield>
|
||||
</mk-window>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
> mk-window
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
</button>
|
||||
<input ref="file" type="file" accept="image/*" multiple="multiple" tabindex="-1" onchange={ changeFile }/>
|
||||
<div class="dropzone" if={ draghover }></div>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
padding 16px
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
margin 0
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
</div>
|
||||
</yield>
|
||||
</mk-window>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
<mk-repost-form ref="form" post={ parent.opts.post }/>
|
||||
</yield>
|
||||
</mk-window>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
> mk-window
|
||||
[data-yield='header']
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
<virtual if={ quote }>
|
||||
<mk-post-form ref="form" repost={ opts.post }/>
|
||||
</virtual>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
|
||||
> mk-post-preview
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
<virtual if={ parent.moreLoading }>%fa:spinner .pulse .fw%</virtual>
|
||||
</yield/>
|
||||
</mk-timeline>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
background #fff
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<h1>{ query }</h1>
|
||||
</header>
|
||||
<mk-search-posts ref="posts" query={ query }/>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
padding-bottom 32px
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
</div>
|
||||
</yield>
|
||||
</mk-window>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
> mk-window
|
||||
[data-yield='header']
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
</div>
|
||||
</yield>
|
||||
</mk-window>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
> mk-window
|
||||
[data-yield='header']
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<p><b>アバターを設定</b>してみませんか?
|
||||
<button @click="close">%fa:times%</button>
|
||||
</p>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
cursor pointer
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<p><b>バナーを設定</b>してみませんか?
|
||||
<button @click="close">%fa:times%</button>
|
||||
</p>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
cursor pointer
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<mk-settings/>
|
||||
</yield>
|
||||
</mk-window>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
> mk-window
|
||||
[data-yield='header']
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@
|
|||
%license%
|
||||
</section>
|
||||
</div>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display flex
|
||||
width 100%
|
||||
|
|
@ -150,7 +150,7 @@
|
|||
<input ref="accountBirthday" type="date" value={ I.profile.birthday } class="ui"/>
|
||||
</label>
|
||||
<button class="ui primary" @click="updateAccount">%i18n:desktop.tags.mk-profile-setting.save%</button>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
|
@ -196,7 +196,7 @@
|
|||
<div class="ui info warn"><p>%fa:exclamation-triangle%%i18n:desktop.tags.mk-api-info.caution%</p></div>
|
||||
<p>%i18n:desktop.tags.mk-api-info.regeneration-of-token%</p>
|
||||
<button class="ui" @click="regenerateToken">%i18n:desktop.tags.mk-api-info.regenerate-token%</button>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
color #4a535a
|
||||
|
|
@ -226,7 +226,7 @@
|
|||
|
||||
<mk-password-setting>
|
||||
<button @click="reset" class="ui primary">%i18n:desktop.tags.mk-password-setting.reset%</button>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
color #4a535a
|
||||
|
|
@ -281,7 +281,7 @@
|
|||
</ol>
|
||||
<div class="ui info"><p>%fa:info-circle%%i18n:desktop.tags.mk-2fa-setting.info%</p></div>
|
||||
</div>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
color #4a535a
|
||||
|
|
@ -351,7 +351,7 @@
|
|||
<text x="50%" y="50%" dy="0.05" text-anchor="middle">{ (usageP * 100).toFixed(0) }%</text>
|
||||
</svg>
|
||||
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
color #4a535a
|
||||
|
|
@ -403,7 +403,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
<summary>投票</summary>
|
||||
<mk-poll post={ post }/>
|
||||
</details>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
overflow-wrap break-word
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<footer data-yield="footer">
|
||||
<yield from="footer"/>
|
||||
</footer>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
|
@ -151,7 +151,7 @@
|
|||
<div class="detail" if={ isDetailOpened }>
|
||||
<mk-post-status-graph width="462" height="130" post={ p }/>
|
||||
</div>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
margin 0
|
||||
|
|
@ -613,7 +613,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
margin 0
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<yield />
|
||||
</div>
|
||||
<mk-stream-indicator if={ SIGNIN }/>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
</style>
|
||||
|
|
@ -56,7 +56,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
position -webkit-sticky
|
||||
|
|
@ -128,7 +128,7 @@
|
|||
<input ref="q" type="search" placeholder="%i18n:desktop.tags.mk-ui-header-search.placeholder%"/>
|
||||
<div class="result"></div>
|
||||
</form>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
|
||||
> form
|
||||
|
|
@ -187,7 +187,7 @@
|
|||
|
||||
<mk-ui-header-post-button>
|
||||
<button @click="post" title="%i18n:desktop.tags.mk-ui-header-post-button.post%">%fa:pencil-alt%</button>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display inline-block
|
||||
padding 8px
|
||||
|
|
@ -235,7 +235,7 @@
|
|||
<div class="notifications" if={ isOpen }>
|
||||
<mk-notifications/>
|
||||
</div>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
float left
|
||||
|
|
@ -420,7 +420,7 @@
|
|||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display inline-block
|
||||
margin 0
|
||||
|
|
@ -552,7 +552,7 @@
|
|||
<div class="content">
|
||||
<mk-analog-clock/>
|
||||
</div>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display inline-block
|
||||
overflow visible
|
||||
|
|
@ -656,7 +656,7 @@
|
|||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
float left
|
||||
|
|
@ -845,7 +845,7 @@
|
|||
|
||||
<mk-ui-notification>
|
||||
<p>{ opts.message }</p>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
position fixed
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<yield to="content">
|
||||
<mk-user-followers user={ parent.user }/></yield>
|
||||
</mk-window>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
> mk-window
|
||||
[data-yield='header']
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<mk-user-followers>
|
||||
<mk-users-list fetch={ fetch } count={ user.followers_count } you-know-count={ user.followers_you_know_count } no-users={ 'フォロワーはいないようです。' }/>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
height 100%
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<yield to="content">
|
||||
<mk-user-following user={ parent.user }/></yield>
|
||||
</mk-window>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
> mk-window
|
||||
[data-yield='header']
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<mk-user-following>
|
||||
<mk-users-list fetch={ fetch } count={ user.following_count } you-know-count={ user.following_you_know_count } no-users={ 'フォロー中のユーザーはいないようです。' }/>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
height 100%
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
</div>
|
||||
<mk-follow-button if={ SIGNIN && user.id != I.id } user={ userPromise }/>
|
||||
</virtual>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
position absolute
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
<virtual if={ parent.moreLoading }>%fa:spinner .pulse .fw%</virtual>
|
||||
</yield/>
|
||||
</mk-timeline>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
background #fff
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<mk-user-home if={ page == 'home' } user={ user }/>
|
||||
<mk-user-graphs if={ page == 'graphs' } user={ user }/>
|
||||
</div>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
|
@ -56,7 +56,7 @@
|
|||
<a href={ '/' + user.username + '/graphs' } data-active={ parent.page == 'graphs' }>%fa:chart-bar%グラフ</a>
|
||||
</footer>
|
||||
</div>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
$banner-height = 320px
|
||||
$footer-height = 58px
|
||||
|
|
@ -242,7 +242,7 @@
|
|||
<p class="following">%fa:angle-right%<a @click="showFollowing">{ user.following_count }</a>人を<b>フォロー</b></p>
|
||||
<p class="followers">%fa:angle-right%<a @click="showFollowers">{ user.followers_count }</a>人の<b>フォロワー</b></p>
|
||||
</div>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
background #fff
|
||||
|
|
@ -362,7 +362,7 @@
|
|||
</virtual>
|
||||
</div>
|
||||
<p class="empty" if={ !initializing && images.length == 0 }>%i18n:desktop.tags.mk-user.photos.no-photos%</p>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
background #fff
|
||||
|
|
@ -461,7 +461,7 @@
|
|||
<mk-follow-button user={ _user }/>
|
||||
</div>
|
||||
<p class="empty" if={ !initializing && users.length == 0 }>%i18n:desktop.tags.mk-user.frequently-replied-users.no-users%</p>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
background #fff
|
||||
|
|
@ -568,7 +568,7 @@
|
|||
</virtual>
|
||||
</div>
|
||||
<p class="empty" if={ !initializing && users.length == 0 }>%i18n:desktop.tags.mk-user.followers-you-know.no-users%</p>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
background #fff
|
||||
|
|
@ -654,7 +654,7 @@
|
|||
<div class="nav"><mk-nav-links/></div>
|
||||
</div>
|
||||
</div>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display flex
|
||||
justify-content center
|
||||
|
|
@ -753,7 +753,7 @@
|
|||
<mk-user-likes-graph user={ opts.user }/>
|
||||
</div>
|
||||
</section>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
|
@ -806,7 +806,7 @@
|
|||
</p>
|
||||
<p>* 中央値</p>
|
||||
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
</button>
|
||||
<p class="no" if={ !fetching && users.length == 0 }>{ opts.noUsers }</p>
|
||||
<p class="fetching" if={ fetching }>%fa:spinner .pulse .fw%読み込んでいます<mk-ellipsis/></p>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
height 100%
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<p class="initializing" if={ initializing }>%fa:spinner .pulse .fw%%i18n:common.loading%<mk-ellipsis/></p>
|
||||
<mk-activity-widget-calender if={ !initializing && view == 0 } data={ [].concat(activity) }/>
|
||||
<mk-activity-widget-chart if={ !initializing && view == 1 } data={ [].concat(activity) }/>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
background #fff
|
||||
|
|
@ -110,7 +110,7 @@
|
|||
stroke-width="0.1"
|
||||
stroke="#f73520"/>
|
||||
</svg>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
|
@ -174,7 +174,7 @@
|
|||
stroke="#555"
|
||||
stroke-dasharray="2 2"/>
|
||||
</svg>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
@click="go.bind(null, i + 1)"
|
||||
title={ isOutOfRange(i + 1) ? null : '%i18n:desktop.tags.mk-calendar-widget.go%' }><div>{ i + 1 }</div></div>
|
||||
</div>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
color #777
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
<div class="handle bottom-right" if={ canResize } onmousedown={ onBottomRightHandleMousedown }></div>
|
||||
<div class="handle bottom-left" if={ canResize } onmousedown={ onBottomLeftHandleMousedown }></div>
|
||||
</div>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue