wip
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
</header>
|
||||
<mk-drive ref="browser" select-folder={ true }/>
|
||||
</div>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
position fixed
|
||||
|
@ -7,7 +7,7 @@
|
||||
</header>
|
||||
<mk-drive ref="browser" select-file={ true } multiple={ opts.multiple }/>
|
||||
</div>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
position fixed
|
||||
|
@ -51,7 +51,7 @@
|
||||
</div>
|
||||
<input ref="file" type="file" multiple="multiple" onchange={ changeLocalFile }/>
|
||||
<mk-drive-file-viewer if={ file != null } file={ file }/>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
background #fff
|
||||
|
@ -60,7 +60,7 @@
|
||||
<code>{ file.md5 }</code>
|
||||
</div>
|
||||
</div>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
<p class="name">%fa:folder%{ folder.name }</p>%fa:angle-right%
|
||||
</div>
|
||||
</a>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
<virtual if={ wait }>%fa:spinner .pulse .fw%</virtual>{ user.is_following ? '%i18n:mobile.tags.mk-follow-button.unfollow%' : '%i18n:mobile.tags.mk-follow-button.follow%' }
|
||||
</button>
|
||||
<div class="init" if={ init }>%fa:spinner .pulse .fw%</div>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
<mk-home-timeline>
|
||||
<mk-init-following if={ noFollowing } />
|
||||
<mk-timeline ref="timeline" init={ init } more={ more } empty={ '%i18n:mobile.tags.mk-home-timeline.empty-timeline%' }/>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<mk-home>
|
||||
<mk-home-timeline ref="tl"/>
|
||||
<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
|
||||
@ -57,7 +57,7 @@
|
||||
|
||||
<mk-images-image>
|
||||
<a ref="view" href={ image.url } target="_blank" style={ styles } title={ image.name }></a>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
overflow hidden
|
||||
|
@ -9,7 +9,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
|
||||
background #fff
|
||||
|
@ -47,7 +47,7 @@
|
||||
<p class="post-ref">%fa:quote-left%{ getPostSummary(notification.post) }%fa:quote-right%</p>
|
||||
</div>
|
||||
</virtual>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
margin 0
|
||||
|
@ -89,7 +89,7 @@
|
||||
</a>
|
||||
</div>
|
||||
</virtual>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
margin 0
|
||||
|
@ -10,7 +10,7 @@
|
||||
</button>
|
||||
<p class="empty" if={ notifications.length == 0 && !loading }>%i18n:mobile.tags.mk-notifications.empty%</p>
|
||||
<p class="loading" if={ loading }>%fa:spinner .pulse .fw%%i18n:common.loading%<mk-ellipsis/></p>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
margin 8px auto
|
||||
|
@ -1,6 +1,6 @@
|
||||
<mk-notify>
|
||||
<mk-notification-preview notification={ opts.notification }/>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
position fixed
|
||||
|
@ -2,7 +2,7 @@
|
||||
<mk-ui ref="ui">
|
||||
<mk-drive ref="browser" folder={ parent.opts.folder } file={ parent.opts.file } is-naked={ true } top={ 48 }/>
|
||||
</mk-ui>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
</style>
|
||||
|
@ -10,7 +10,7 @@
|
||||
<footer>
|
||||
<p class="c">{ _COPYRIGHT_ }</p>
|
||||
</footer>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
height 100%
|
||||
|
@ -3,7 +3,7 @@
|
||||
<a href={ _API_URL_ + '/signin/twitter' }>Twitterでサインイン</a>
|
||||
<div class="divider"><span>or</span></div>
|
||||
<button class="signup" @click="parent.signup">%i18n:mobile.tags.mk-entrance-signin.signup%</button><a class="introduction" @click="parent.introduction">%i18n:mobile.tags.mk-entrance-signin.about%</a>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
margin 0 auto
|
||||
|
@ -1,7 +1,7 @@
|
||||
<mk-entrance-signup>
|
||||
<mk-signup/>
|
||||
<button class="cancel" type="button" @click="parent.signin" title="%i18n:mobile.tags.mk-entrance-signup.cancel%">%fa:times%</button>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
margin 0 auto
|
||||
|
@ -2,7 +2,7 @@
|
||||
<mk-ui ref="ui">
|
||||
<mk-home ref="home"/>
|
||||
</mk-ui>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
</style>
|
||||
|
@ -2,7 +2,7 @@
|
||||
<mk-ui ref="ui">
|
||||
<mk-messaging-room if={ !parent.fetching } user={ parent.user } is-naked={ true }/>
|
||||
</mk-ui>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
</style>
|
||||
|
@ -2,7 +2,7 @@
|
||||
<mk-ui ref="ui">
|
||||
<mk-messaging ref="index"/>
|
||||
</mk-ui>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
</style>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<mk-new-post-page>
|
||||
<mk-post-form ref="form"/>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
</style>
|
||||
|
@ -2,7 +2,7 @@
|
||||
<mk-ui ref="ui">
|
||||
<mk-notifications ref="notifications"/>
|
||||
</mk-ui>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
</style>
|
||||
|
@ -8,7 +8,7 @@
|
||||
<a if={ parent.post.prev } href={ parent.post.prev }>%fa:angle-down%%i18n:mobile.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 @@
|
||||
</header>
|
||||
<mk-drive ref="browser" select-file={ true } multiple={ multiple } is-naked={ true } top={ 42 }/>
|
||||
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
width 100%
|
||||
|
@ -2,7 +2,7 @@
|
||||
<mk-ui ref="ui">
|
||||
<mk-settings />
|
||||
</mk-ui>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
</style>
|
||||
@ -29,7 +29,7 @@
|
||||
<li><a @click="signout">%fa:power-off%%i18n:mobile.tags.mk-settings-page.signout%</a></li>
|
||||
</ul>
|
||||
<p><small>ver { _VERSION_ } (葵 aoi)</small></p>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
<mk-ui ref="ui">
|
||||
<mk-authorized-apps/>
|
||||
</mk-ui>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
</style>
|
||||
|
@ -2,7 +2,7 @@
|
||||
<mk-ui ref="ui">
|
||||
<mk-profile-setting/>
|
||||
</mk-ui>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
</style>
|
||||
@ -51,7 +51,7 @@
|
||||
</div>
|
||||
<button class="save" @click="save" disabled={ saving }>%fa:check%%i18n:mobile.tags.mk-profile-setting.save%</button>
|
||||
</div>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
<mk-ui ref="ui">
|
||||
<mk-signin-history/>
|
||||
</mk-ui>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
</style>
|
||||
|
@ -2,7 +2,7 @@
|
||||
<mk-ui ref="ui">
|
||||
<mk-twitter-setting/>
|
||||
</mk-ui>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
</style>
|
||||
|
@ -2,7 +2,7 @@
|
||||
<mk-ui ref="ui">
|
||||
<mk-user-followers ref="list" if={ !parent.fetching } user={ parent.user }/>
|
||||
</mk-ui>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
</style>
|
||||
|
@ -2,7 +2,7 @@
|
||||
<mk-ui ref="ui">
|
||||
<mk-user-following ref="list" if={ !parent.fetching } user={ parent.user }/>
|
||||
</mk-ui>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
</style>
|
||||
|
@ -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>
|
||||
|
@ -62,7 +62,7 @@
|
||||
<mk-post-detail-sub post={ post }/>
|
||||
</virtual>
|
||||
</div>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
overflow hidden
|
||||
@ -367,7 +367,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
margin 0
|
||||
|
@ -24,7 +24,7 @@
|
||||
<button class="poll" @click="addPoll">%fa:chart-pie%</button>
|
||||
<input ref="file" type="file" accept="image/*" multiple="multiple" onchange={ changeFile }/>
|
||||
</div>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
max-width 500px
|
||||
|
@ -16,7 +16,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
margin 0
|
||||
|
@ -1,6 +1,6 @@
|
||||
<mk-search-posts>
|
||||
<mk-timeline init={ init } more={ more } empty={ '%i18n:mobile.tags.mk-search-posts.empty%'.replace('{}', query) }/>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
margin 8px auto
|
||||
|
@ -1,6 +1,6 @@
|
||||
<mk-search>
|
||||
<mk-search-posts ref="posts" query={ query }/>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
</style>
|
||||
|
@ -8,7 +8,7 @@
|
||||
<summary>%i18n:mobile.tags.mk-sub-post-content.poll%</summary>
|
||||
<mk-poll post={ post }/>
|
||||
</details>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
overflow-wrap break-word
|
||||
|
@ -18,7 +18,7 @@
|
||||
<span if={ fetching }>%i18n:common.loading%<mk-ellipsis/></span>
|
||||
</button>
|
||||
</footer>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
background #fff
|
||||
@ -197,7 +197,7 @@
|
||||
</footer>
|
||||
</div>
|
||||
</article>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
margin 0
|
||||
@ -595,7 +595,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
margin 0
|
||||
|
@ -5,7 +5,7 @@
|
||||
<yield />
|
||||
</div>
|
||||
<mk-stream-indicator if={ SIGNIN }/>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
padding-top 48px
|
||||
@ -58,7 +58,7 @@
|
||||
<button if={ func } @click="func"><mk-raw content={ funcIcon }/></button>
|
||||
</div>
|
||||
</div>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
$height = 48px
|
||||
|
||||
@ -250,7 +250,7 @@
|
||||
</div>
|
||||
<a href={ aboutUrl }><p class="about">%i18n:mobile.tags.mk-ui-nav.about%</p></a>
|
||||
</div>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display none
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a class="name" href={ '/' + user.username } target="_blank">{ user.name }</a>
|
||||
<p class="username">@{ user.username }</p>
|
||||
<mk-follow-button user={ user }/>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display inline-block
|
||||
width 200px
|
||||
|
@ -1,6 +1,6 @@
|
||||
<mk-user-followers>
|
||||
<mk-users-list ref="list" fetch={ fetch } count={ user.followers_count } you-know-count={ user.followers_you_know_count } no-users={ '%i18n:mobile.tags.mk-user-followers.no-users%' }/>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<mk-user-following>
|
||||
<mk-users-list ref="list" fetch={ fetch } count={ user.following_count } you-know-count={ user.following_you_know_count } no-users={ '%i18n:mobile.tags.mk-user-following.no-users%' }/>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
<div class="description">{ user.description }</div>
|
||||
</div>
|
||||
</div>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
margin 0
|
||||
|
@ -1,6 +1,6 @@
|
||||
<mk-user-timeline>
|
||||
<mk-timeline ref="timeline" init={ init } more={ more } empty={ withMedia ? '%i18n:mobile.tags.mk-user-timeline.no-posts-with-media%' : '%i18n:mobile.tags.mk-user-timeline.no-posts%' }/>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
max-width 600px
|
||||
|
@ -50,7 +50,7 @@
|
||||
<mk-user-timeline if={ page == 'media' } user={ user } with-media={ true }/>
|
||||
</div>
|
||||
</div>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
|
||||
@ -259,7 +259,7 @@
|
||||
</div>
|
||||
</section>
|
||||
<p>%i18n:mobile.tags.mk-user-overview.last-used-at%: <b><mk-time time={ user.last_used_at }/></b></p>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
max-width 600px
|
||||
@ -314,7 +314,7 @@
|
||||
</virtual>
|
||||
</div>
|
||||
<p class="empty" if={ !initializing && posts.length == 0 }>%i18n:mobile.tags.mk-user-overview-posts.no-posts%</p>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
|
||||
@ -370,7 +370,7 @@
|
||||
</div>
|
||||
<mk-time time={ post.created_at }/>
|
||||
</a>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display inline-block
|
||||
width 150px
|
||||
@ -443,7 +443,7 @@
|
||||
</virtual>
|
||||
</div>
|
||||
<p class="empty" if={ !initializing && images.length == 0 }>%i18n:mobile.tags.mk-user-overview-photos.no-photos%</p>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
|
||||
@ -519,7 +519,7 @@
|
||||
fill="#a1de41"/>
|
||||
</g>
|
||||
</svg>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
max-width 600px
|
||||
@ -564,7 +564,7 @@
|
||||
</virtual>
|
||||
</div>
|
||||
<p class="empty" if={ user.keywords == null || user.keywords.length == 0 }>%i18n:mobile.tags.mk-user-overview-keywords.no-keywords%</p>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
|
||||
@ -598,7 +598,7 @@
|
||||
</virtual>
|
||||
</div>
|
||||
<p class="empty" if={ user.domains == null || user.domains.length == 0 }>%i18n:mobile.tags.mk-user-overview-domains.no-domains%</p>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
|
||||
@ -633,7 +633,7 @@
|
||||
</virtual>
|
||||
</div>
|
||||
<p class="empty" if={ !initializing && users.length == 0 }>%i18n:mobile.tags.mk-user-overview-frequently-replied-users.no-users%</p>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
|
||||
@ -685,7 +685,7 @@
|
||||
</virtual>
|
||||
</div>
|
||||
<p class="empty" if={ !initializing && users.length == 0 }>%i18n:mobile.tags.mk-user-overview-followers-you-know.no-users%</p>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
<span if={ moreFetching }>%i18n:common.loading%<mk-ellipsis/></span></button>
|
||||
<p class="no" if={ !fetching && users.length == 0 }>{ opts.noUsers }</p>
|
||||
<p class="fetching" if={ fetching }>%fa:spinner .pulse .fw%%i18n:common.loading%<mk-ellipsis/></p>
|
||||
<style>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
Reference in New Issue
Block a user