mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-23 18:53:08 +02:00
typo
This commit is contained in:
parent
9aeb466b3c
commit
8f51ec3919
31 changed files with 42 additions and 42 deletions
|
@ -32,7 +32,7 @@
|
||||||
</virtual>
|
</virtual>
|
||||||
</div>
|
</div>
|
||||||
<p class="no-history" if={ !fetching && history.length == 0 }>%i18n:common.tags.mk-messaging.no-history%</p>
|
<p class="no-history" if={ !fetching && history.length == 0 }>%i18n:common.tags.mk-messaging.no-history%</p>
|
||||||
<p class="fetching" if={ fetching }>%fa:spinner .pluse .fw%%i18n:common.loading%<mk-ellipsis/></p>
|
<p class="fetching" if={ fetching }>%fa:spinner .pulse .fw%%i18n:common.loading%<mk-ellipsis/></p>
|
||||||
<style>
|
<style>
|
||||||
:scope
|
:scope
|
||||||
display block
|
display block
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<p class="empty" if={ !init && messages.length == 0 }>%fa:info-circle%%i18n:common.tags.mk-messaging-room.empty%</p>
|
<p class="empty" if={ !init && messages.length == 0 }>%fa:info-circle%%i18n:common.tags.mk-messaging-room.empty%</p>
|
||||||
<p class="no-history" if={ !init && messages.length > 0 && !moreMessagesIsInStock }>%fa:flag%%i18n:common.tags.mk-messaging-room.no-history%</p>
|
<p class="no-history" if={ !init && messages.length > 0 && !moreMessagesIsInStock }>%fa:flag%%i18n:common.tags.mk-messaging-room.no-history%</p>
|
||||||
<button class="more { fetching: fetchingMoreMessages }" if={ moreMessagesIsInStock } onclick={ fetchMoreMessages } disabled={ fetchingMoreMessages }>
|
<button class="more { fetching: fetchingMoreMessages }" if={ moreMessagesIsInStock } onclick={ fetchMoreMessages } disabled={ fetchingMoreMessages }>
|
||||||
<virtual if={ fetchingMoreMessages }>%fa:spinner .pluse .fw%</virtual>{ fetchingMoreMessages ? '%i18n:common.loading%' : '%i18n:common.tags.mk-messaging-room.more%' }
|
<virtual if={ fetchingMoreMessages }>%fa:spinner .pulse .fw%</virtual>{ fetchingMoreMessages ? '%i18n:common.loading%' : '%i18n:common.tags.mk-messaging-room.more%' }
|
||||||
</button>
|
</button>
|
||||||
<virtual each={ message, i in messages }>
|
<virtual each={ message, i in messages }>
|
||||||
<mk-messaging-message message={ message }/>
|
<mk-messaging-message message={ message }/>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<p class="caption">%fa:at%%i18n:common.tags.mk-signup.username%</p>
|
<p class="caption">%fa:at%%i18n:common.tags.mk-signup.username%</p>
|
||||||
<input ref="username" type="text" pattern="^[a-zA-Z0-9-]{3,20}$" placeholder="a~z、A~Z、0~9、-" autocomplete="off" required="required" onkeyup={ onChangeUsername }/>
|
<input ref="username" type="text" pattern="^[a-zA-Z0-9-]{3,20}$" placeholder="a~z、A~Z、0~9、-" autocomplete="off" required="required" onkeyup={ onChangeUsername }/>
|
||||||
<p class="profile-page-url-preview" if={ refs.username.value != '' && username-state != 'invalidFormat' && username-state != 'minRange' && username-state != 'maxRange' }>{ _URL_ + '/' + refs.username.value }</p>
|
<p class="profile-page-url-preview" if={ refs.username.value != '' && username-state != 'invalidFormat' && username-state != 'minRange' && username-state != 'maxRange' }>{ _URL_ + '/' + refs.username.value }</p>
|
||||||
<p class="info" if={ usernameState == 'wait' } style="color:#999">%fa:spinner .pluse .fw%%i18n:common.tags.mk-signup.checking%</p>
|
<p class="info" if={ usernameState == 'wait' } style="color:#999">%fa:spinner .pulse .fw%%i18n:common.tags.mk-signup.checking%</p>
|
||||||
<p class="info" if={ usernameState == 'ok' } style="color:#3CB7B5">%fa:check .fw%%i18n:common.tags.mk-signup.available%</p>
|
<p class="info" if={ usernameState == 'ok' } style="color:#3CB7B5">%fa:check .fw%%i18n:common.tags.mk-signup.available%</p>
|
||||||
<p class="info" if={ usernameState == 'unavailable' } style="color:#FF1161">%fa:exclamation-triangle .fw%%i18n:common.tags.mk-signup.unavailable%</p>
|
<p class="info" if={ usernameState == 'unavailable' } style="color:#FF1161">%fa:exclamation-triangle .fw%%i18n:common.tags.mk-signup.unavailable%</p>
|
||||||
<p class="info" if={ usernameState == 'error' } style="color:#FF1161">%fa:exclamation-triangle .fw%%i18n:common.tags.mk-signup.error%</p>
|
<p class="info" if={ usernameState == 'error' } style="color:#FF1161">%fa:exclamation-triangle .fw%%i18n:common.tags.mk-signup.error%</p>
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
<mk-stream-indicator>
|
<mk-stream-indicator>
|
||||||
<p if={ connection.state == 'initializing' }>
|
<p if={ connection.state == 'initializing' }>
|
||||||
%fa:spinner .spin .pulse%
|
%fa:spinner .pulse%
|
||||||
<span>%i18n:common.tags.mk-stream-indicator.connecting%<mk-ellipsis/></span>
|
<span>%i18n:common.tags.mk-stream-indicator.connecting%<mk-ellipsis/></span>
|
||||||
</p>
|
</p>
|
||||||
<p if={ connection.state == 'reconnecting' }>
|
<p if={ connection.state == 'reconnecting' }>
|
||||||
%fa:spinner .spin .pulse%
|
%fa:spinner .pulse%
|
||||||
<span>%i18n:common.tags.mk-stream-indicator.reconnecting%<mk-ellipsis/></span>
|
<span>%i18n:common.tags.mk-stream-indicator.reconnecting%<mk-ellipsis/></span>
|
||||||
</p>
|
</p>
|
||||||
<p if={ connection.state == 'connected' }>
|
<p if={ connection.state == 'connected' }>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<ol if={ uploads.length > 0 }>
|
<ol if={ uploads.length > 0 }>
|
||||||
<li each={ uploads }>
|
<li each={ uploads }>
|
||||||
<div class="img" style="background-image: url({ img })"></div>
|
<div class="img" style="background-image: url({ img })"></div>
|
||||||
<p class="name">%fa:spinner .pluse%{ name }</p>
|
<p class="name">%fa:spinner .pulse%{ name }</p>
|
||||||
<p class="status"><span class="initing" if={ progress == undefined }>%i18n:common.tags.mk-uploader.waiting%<mk-ellipsis/></span><span class="kb" if={ progress != undefined }>{ String(Math.floor(progress.value / 1024)).replace(/(\d)(?=(\d\d\d)+(?!\d))/g, '$1,') }<i>KB</i> / { String(Math.floor(progress.max / 1024)).replace(/(\d)(?=(\d\d\d)+(?!\d))/g, '$1,') }<i>KB</i></span><span class="percentage" if={ progress != undefined }>{ Math.floor((progress.value / progress.max) * 100) }</span></p>
|
<p class="status"><span class="initing" if={ progress == undefined }>%i18n:common.tags.mk-uploader.waiting%<mk-ellipsis/></span><span class="kb" if={ progress != undefined }>{ String(Math.floor(progress.value / 1024)).replace(/(\d)(?=(\d\d\d)+(?!\d))/g, '$1,') }<i>KB</i> / { String(Math.floor(progress.max / 1024)).replace(/(\d)(?=(\d\d\d)+(?!\d))/g, '$1,') }<i>KB</i></span><span class="percentage" if={ progress != undefined }>{ Math.floor((progress.value / progress.max) * 100) }</span></p>
|
||||||
<progress if={ progress != undefined && progress.value != progress.max } value={ progress.value } max={ progress.max }></progress>
|
<progress if={ progress != undefined && progress.value != progress.max } value={ progress.value } max={ progress.max }></progress>
|
||||||
<div class="progress initing" if={ progress == undefined }></div>
|
<div class="progress initing" if={ progress == undefined }></div>
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
<button class={ wait: wait, follow: !user.is_following, unfollow: user.is_following } if={ !init } onclick={ onclick } disabled={ wait } title={ user.is_following ? 'フォロー解除' : 'フォローする' }>
|
<button class={ wait: wait, follow: !user.is_following, unfollow: user.is_following } if={ !init } onclick={ onclick } disabled={ wait } title={ user.is_following ? 'フォロー解除' : 'フォローする' }>
|
||||||
<span if={ !wait && user.is_following }>%fa:minus%フォロー解除</span>
|
<span if={ !wait && user.is_following }>%fa:minus%フォロー解除</span>
|
||||||
<span if={ !wait && !user.is_following }>%fa:plus%フォロー</span>
|
<span if={ !wait && !user.is_following }>%fa:plus%フォロー</span>
|
||||||
<virtual if={ wait }>%fa:spinner .pluse .fw%</virtual>
|
<virtual if={ wait }>%fa:spinner .pulse .fw%</virtual>
|
||||||
</button>
|
</button>
|
||||||
<div class="init" if={ init }>%fa:spinner .pluse .fw%</div>
|
<div class="init" if={ init }>%fa:spinner .pulse .fw%</div>
|
||||||
<style>
|
<style>
|
||||||
:scope
|
:scope
|
||||||
display block
|
display block
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
<button class={ wait: wait, follow: !user.is_following, unfollow: user.is_following } if={ !init } onclick={ onclick } disabled={ wait } title={ user.is_following ? 'フォロー解除' : 'フォローする' }>
|
<button class={ wait: wait, follow: !user.is_following, unfollow: user.is_following } if={ !init } onclick={ onclick } disabled={ wait } title={ user.is_following ? 'フォロー解除' : 'フォローする' }>
|
||||||
<virtual if={ !wait && user.is_following }>%fa:minus%</virtual>
|
<virtual if={ !wait && user.is_following }>%fa:minus%</virtual>
|
||||||
<virtual if={ !wait && !user.is_following }>%fa:plus%</virtual>
|
<virtual if={ !wait && !user.is_following }>%fa:plus%</virtual>
|
||||||
<virtual if={ wait }>%fa:spinner .pluse .fw%</virtual>
|
<virtual if={ wait }>%fa:spinner .pulse .fw%</virtual>
|
||||||
</button>
|
</button>
|
||||||
<div class="init" if={ init }>%fa:spinner .pluse .fw%</div>
|
<div class="init" if={ init }>%fa:spinner .pulse .fw%</div>
|
||||||
<style>
|
<style>
|
||||||
:scope
|
:scope
|
||||||
display block
|
display block
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<p class="empty" if={ !fetching && users.length == 0 }>おすすめのユーザーは見つかりませんでした。</p>
|
<p class="empty" if={ !fetching && users.length == 0 }>おすすめのユーザーは見つかりませんでした。</p>
|
||||||
<p class="fetching" if={ fetching }>%fa:spinner .pluse .fw%読み込んでいます<mk-ellipsis/></p>
|
<p class="fetching" if={ fetching }>%fa:spinner .pulse .fw%読み込んでいます<mk-ellipsis/></p>
|
||||||
<a class="refresh" onclick={ refresh }>もっと見る</a>
|
<a class="refresh" onclick={ refresh }>もっと見る</a>
|
||||||
<button class="close" onclick={ close } title="閉じる">%fa:times%</button>
|
<button class="close" onclick={ close } title="閉じる">%fa:times%</button>
|
||||||
<style>
|
<style>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<mk-timeline ref="timeline">
|
<mk-timeline ref="timeline">
|
||||||
<yield to="footer">
|
<yield to="footer">
|
||||||
<virtual if={ !parent.moreLoading }>%fa:moon%</virtual>
|
<virtual if={ !parent.moreLoading }>%fa:moon%</virtual>
|
||||||
<virtual if={ parent.moreLoading }>%fa:spinner .pluse .fw%</virtual>
|
<virtual if={ parent.moreLoading }>%fa:spinner .pulse .fw%</virtual>
|
||||||
</yield/>
|
</yield/>
|
||||||
</mk-timeline>
|
</mk-timeline>
|
||||||
<style>
|
<style>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<virtual if={ data.design == 0 }>
|
<virtual if={ data.design == 0 }>
|
||||||
<p class="title">%fa:camera%%i18n:desktop.tags.mk-photo-stream-home-widget.title%</p>
|
<p class="title">%fa:camera%%i18n:desktop.tags.mk-photo-stream-home-widget.title%</p>
|
||||||
</virtual>
|
</virtual>
|
||||||
<p class="initializing" if={ initializing }>%fa:spinner .pluse .fw%%i18n:common.loading%<mk-ellipsis/></p>
|
<p class="initializing" if={ initializing }>%fa:spinner .pulse .fw%%i18n:common.loading%<mk-ellipsis/></p>
|
||||||
<div class="stream" if={ !initializing && images.length > 0 }>
|
<div class="stream" if={ !initializing && images.length > 0 }>
|
||||||
<virtual each={ image in images }>
|
<virtual each={ image in images }>
|
||||||
<div class="img" style={ 'background-image: url(' + image.url + '?thumbnail&size=256)' }></div>
|
<div class="img" style={ 'background-image: url(' + image.url + '?thumbnail&size=256)' }></div>
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
<mk-poll post={ poll }/>
|
<mk-poll post={ poll }/>
|
||||||
</div>
|
</div>
|
||||||
<p class="empty" if={ !loading && poll == null }>%i18n:desktop.tags.mk-recommended-polls-home-widget.nothing%</p>
|
<p class="empty" if={ !loading && poll == null }>%i18n:desktop.tags.mk-recommended-polls-home-widget.nothing%</p>
|
||||||
<p class="loading" if={ loading }>%fa:spinner .pluse .fw%%i18n:common.loading%<mk-ellipsis/></p>
|
<p class="loading" if={ loading }>%fa:spinner .pulse .fw%%i18n:common.loading%<mk-ellipsis/></p>
|
||||||
<style>
|
<style>
|
||||||
:scope
|
:scope
|
||||||
display block
|
display block
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
<div class="feed" if={ !initializing }>
|
<div class="feed" if={ !initializing }>
|
||||||
<virtual each={ item in items }><a href={ item.link } target="_blank">{ item.title }</a></virtual>
|
<virtual each={ item in items }><a href={ item.link } target="_blank">{ item.title }</a></virtual>
|
||||||
</div>
|
</div>
|
||||||
<p class="initializing" if={ initializing }>%fa:spinner .pluse .fw%%i18n:common.loading%<mk-ellipsis/></p>
|
<p class="initializing" if={ initializing }>%fa:spinner .pulse .fw%%i18n:common.loading%<mk-ellipsis/></p>
|
||||||
<style>
|
<style>
|
||||||
:scope
|
:scope
|
||||||
display block
|
display block
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<p class="title">%fa:server%%i18n:desktop.tags.mk-server-home-widget.title%</p>
|
<p class="title">%fa:server%%i18n:desktop.tags.mk-server-home-widget.title%</p>
|
||||||
<button onclick={ toggle } title="%i18n:desktop.tags.mk-server-home-widget.toggle%">%fa:sort%</button>
|
<button onclick={ toggle } title="%i18n:desktop.tags.mk-server-home-widget.toggle%">%fa:sort%</button>
|
||||||
</virtual>
|
</virtual>
|
||||||
<p class="initializing" if={ initializing }>%fa:spinner .pluse .fw%%i18n:common.loading%<mk-ellipsis/></p>
|
<p class="initializing" if={ initializing }>%fa:spinner .pulse .fw%%i18n:common.loading%<mk-ellipsis/></p>
|
||||||
<mk-server-home-widget-cpu-and-memory-usage if={ !initializing } show={ data.view == 0 } connection={ connection }/>
|
<mk-server-home-widget-cpu-and-memory-usage if={ !initializing } show={ data.view == 0 } connection={ connection }/>
|
||||||
<mk-server-home-widget-cpu if={ !initializing } show={ data.view == 1 } connection={ connection } meta={ meta }/>
|
<mk-server-home-widget-cpu if={ !initializing } show={ data.view == 1 } connection={ connection } meta={ meta }/>
|
||||||
<mk-server-home-widget-memory if={ !initializing } show={ data.view == 2 } connection={ connection }/>
|
<mk-server-home-widget-memory if={ !initializing } show={ data.view == 2 } connection={ connection }/>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<mk-timeline ref="timeline" hide={ isLoading }>
|
<mk-timeline ref="timeline" hide={ isLoading }>
|
||||||
<yield to="footer">
|
<yield to="footer">
|
||||||
<virtual if={ !parent.moreLoading }>%fa:moon%</virtual>
|
<virtual if={ !parent.moreLoading }>%fa:moon%</virtual>
|
||||||
<virtual if={ parent.moreLoading }>%fa:spinner .pluse .fw%</virtual>
|
<virtual if={ parent.moreLoading }>%fa:spinner .pulse .fw%</virtual>
|
||||||
</yield/>
|
</yield/>
|
||||||
</mk-timeline>
|
</mk-timeline>
|
||||||
<style>
|
<style>
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<p class="author">―<a href="/{ post.user.username }">@{ post.user.username }</a></p>
|
<p class="author">―<a href="/{ post.user.username }">@{ post.user.username }</a></p>
|
||||||
</div>
|
</div>
|
||||||
<p class="empty" if={ !loading && post == null }>%i18n:desktop.tags.mk-trends-home-widget.nothing%</p>
|
<p class="empty" if={ !loading && post == null }>%i18n:desktop.tags.mk-trends-home-widget.nothing%</p>
|
||||||
<p class="loading" if={ loading }>%fa:spinner .pluse .fw%%i18n:common.loading%<mk-ellipsis/></p>
|
<p class="loading" if={ loading }>%fa:spinner .pulse .fw%%i18n:common.loading%<mk-ellipsis/></p>
|
||||||
<style>
|
<style>
|
||||||
:scope
|
:scope
|
||||||
display block
|
display block
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
<mk-follow-button user={ _user }/>
|
<mk-follow-button user={ _user }/>
|
||||||
</div>
|
</div>
|
||||||
<p class="empty" if={ !loading && users.length == 0 }>%i18n:desktop.tags.mk-user-recommendation-home-widget.no-one%</p>
|
<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 .pluse .fw%%i18n:common.loading%<mk-ellipsis/></p>
|
<p class="loading" if={ loading }>%fa:spinner .pulse .fw%%i18n:common.loading%<mk-ellipsis/></p>
|
||||||
<style>
|
<style>
|
||||||
:scope
|
:scope
|
||||||
display block
|
display block
|
||||||
|
|
|
@ -79,10 +79,10 @@
|
||||||
</virtual>
|
</virtual>
|
||||||
</div>
|
</div>
|
||||||
<button class="more { fetching: fetchingMoreNotifications }" if={ moreNotifications } onclick={ fetchMoreNotifications } disabled={ fetchingMoreNotifications }>
|
<button class="more { fetching: fetchingMoreNotifications }" if={ moreNotifications } onclick={ fetchMoreNotifications } disabled={ fetchingMoreNotifications }>
|
||||||
<virtual if={ fetchingMoreNotifications }>%fa:spinner .pluse .fw%</virtual>{ fetchingMoreNotifications ? '%i18n:common.loading%' : '%i18n:desktop.tags.mk-notifications.more%' }
|
<virtual if={ fetchingMoreNotifications }>%fa:spinner .pulse .fw%</virtual>{ fetchingMoreNotifications ? '%i18n:common.loading%' : '%i18n:desktop.tags.mk-notifications.more%' }
|
||||||
</button>
|
</button>
|
||||||
<p class="empty" if={ notifications.length == 0 && !loading }>ありません!</p>
|
<p class="empty" if={ notifications.length == 0 && !loading }>ありません!</p>
|
||||||
<p class="loading" if={ loading }>%fa:spinner .pluse .fw%%i18n:common.loading%<mk-ellipsis/></p>
|
<p class="loading" if={ loading }>%fa:spinner .pulse .fw%%i18n:common.loading%<mk-ellipsis/></p>
|
||||||
<style>
|
<style>
|
||||||
:scope
|
:scope
|
||||||
display block
|
display block
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<div class="main">
|
<div class="main">
|
||||||
<button class="read-more" if={ p.reply && p.reply.reply_id && context == null } title="会話をもっと読み込む" onclick={ loadContext } disabled={ contextFetching }>
|
<button class="read-more" if={ p.reply && p.reply.reply_id && context == null } title="会話をもっと読み込む" onclick={ loadContext } disabled={ contextFetching }>
|
||||||
<virtual if={ !contextFetching }>%fa:ellipsis-v%</virtual>
|
<virtual if={ !contextFetching }>%fa:ellipsis-v%</virtual>
|
||||||
<virtual if={ contextFetching }>%fa:spinner .pluse%</virtual>
|
<virtual if={ contextFetching }>%fa:spinner .pulse%</virtual>
|
||||||
</button>
|
</button>
|
||||||
<div class="context">
|
<div class="context">
|
||||||
<virtual each={ post in context }>
|
<virtual each={ post in context }>
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
<mk-timeline ref="timeline">
|
<mk-timeline ref="timeline">
|
||||||
<yield to="footer">
|
<yield to="footer">
|
||||||
<virtual if={ !parent.moreLoading }>%fa:moon%</virtual>
|
<virtual if={ !parent.moreLoading }>%fa:moon%</virtual>
|
||||||
<virtual if={ parent.moreLoading }>%fa:spinner .pluse .fw%</virtual>
|
<virtual if={ parent.moreLoading }>%fa:spinner .pulse .fw%</virtual>
|
||||||
</yield/>
|
</yield/>
|
||||||
</mk-timeline>
|
</mk-timeline>
|
||||||
<style>
|
<style>
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
<mk-timeline ref="timeline">
|
<mk-timeline ref="timeline">
|
||||||
<yield to="footer">
|
<yield to="footer">
|
||||||
<virtual if={ !parent.moreLoading }>%fa:moon%</virtual>
|
<virtual if={ !parent.moreLoading }>%fa:moon%</virtual>
|
||||||
<virtual if={ parent.moreLoading }>%fa:spinner .pluse .fw%</virtual>
|
<virtual if={ parent.moreLoading }>%fa:spinner .pulse .fw%</virtual>
|
||||||
</yield/>
|
</yield/>
|
||||||
</mk-timeline>
|
</mk-timeline>
|
||||||
<style>
|
<style>
|
||||||
|
|
|
@ -330,7 +330,7 @@
|
||||||
|
|
||||||
<mk-user-photos>
|
<mk-user-photos>
|
||||||
<p class="title">%fa:camera%%i18n:desktop.tags.mk-user.photos.title%</p>
|
<p class="title">%fa:camera%%i18n:desktop.tags.mk-user.photos.title%</p>
|
||||||
<p class="initializing" if={ initializing }>%fa:spinner .pluse .fw%%i18n:desktop.tags.mk-user.photos.loading%<mk-ellipsis/></p>
|
<p class="initializing" if={ initializing }>%fa:spinner .pulse .fw%%i18n:desktop.tags.mk-user.photos.loading%<mk-ellipsis/></p>
|
||||||
<div class="stream" if={ !initializing && images.length > 0 }>
|
<div class="stream" if={ !initializing && images.length > 0 }>
|
||||||
<virtual each={ image in images }>
|
<virtual each={ image in images }>
|
||||||
<div class="img" style={ 'background-image: url(' + image.url + '?thumbnail&size=256)' }></div>
|
<div class="img" style={ 'background-image: url(' + image.url + '?thumbnail&size=256)' }></div>
|
||||||
|
@ -424,7 +424,7 @@
|
||||||
|
|
||||||
<mk-user-frequently-replied-users>
|
<mk-user-frequently-replied-users>
|
||||||
<p class="title">%fa:users%%i18n:desktop.tags.mk-user.frequently-replied-users.title%</p>
|
<p class="title">%fa:users%%i18n:desktop.tags.mk-user.frequently-replied-users.title%</p>
|
||||||
<p class="initializing" if={ initializing }>%fa:spinner .pluse .fw%%i18n:desktop.tags.mk-user.frequently-replied-users.loading%<mk-ellipsis/></p>
|
<p class="initializing" if={ initializing }>%fa:spinner .pulse .fw%%i18n:desktop.tags.mk-user.frequently-replied-users.loading%<mk-ellipsis/></p>
|
||||||
<div class="user" if={ !initializing && users.length != 0 } each={ _user in users }>
|
<div class="user" if={ !initializing && users.length != 0 } each={ _user in users }>
|
||||||
<a class="avatar-anchor" href={ '/' + _user.username }>
|
<a class="avatar-anchor" href={ '/' + _user.username }>
|
||||||
<img class="avatar" src={ _user.avatar_url + '?thumbnail&size=42' } alt="" data-user-preview={ _user.id }/>
|
<img class="avatar" src={ _user.avatar_url + '?thumbnail&size=42' } alt="" data-user-preview={ _user.id }/>
|
||||||
|
@ -536,7 +536,7 @@
|
||||||
|
|
||||||
<mk-user-followers-you-know>
|
<mk-user-followers-you-know>
|
||||||
<p class="title">%fa:users%%i18n:desktop.tags.mk-user.followers-you-know.title%</p>
|
<p class="title">%fa:users%%i18n:desktop.tags.mk-user.followers-you-know.title%</p>
|
||||||
<p class="initializing" if={ initializing }>%fa:spinner .pluse .fw%%i18n:desktop.tags.mk-user.followers-you-know.loading%<mk-ellipsis/></p>
|
<p class="initializing" if={ initializing }>%fa:spinner .pulse .fw%%i18n:desktop.tags.mk-user.followers-you-know.loading%<mk-ellipsis/></p>
|
||||||
<div if={ !initializing && users.length > 0 }>
|
<div if={ !initializing && users.length > 0 }>
|
||||||
<virtual each={ user in users }>
|
<virtual each={ user in users }>
|
||||||
<a href={ '/' + user.username }><img src={ user.avatar_url + '?thumbnail&size=64' } alt={ user.name }/></a>
|
<a href={ '/' + user.username }><img src={ user.avatar_url + '?thumbnail&size=64' } alt={ user.name }/></a>
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
<span if={ moreFetching }>読み込み中<mk-ellipsis/></span>
|
<span if={ moreFetching }>読み込み中<mk-ellipsis/></span>
|
||||||
</button>
|
</button>
|
||||||
<p class="no" if={ !fetching && users.length == 0 }>{ opts.noUsers }</p>
|
<p class="no" if={ !fetching && users.length == 0 }>{ opts.noUsers }</p>
|
||||||
<p class="fetching" if={ fetching }>%fa:spinner .pluse .fw%読み込んでいます<mk-ellipsis/></p>
|
<p class="fetching" if={ fetching }>%fa:spinner .pulse .fw%読み込んでいます<mk-ellipsis/></p>
|
||||||
<style>
|
<style>
|
||||||
:scope
|
:scope
|
||||||
display block
|
display block
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<p class="title">%fa:chart-bar%%i18n:desktop.tags.mk-activity-widget.title%</p>
|
<p class="title">%fa:chart-bar%%i18n:desktop.tags.mk-activity-widget.title%</p>
|
||||||
<button onclick={ toggle } title="%i18n:desktop.tags.mk-activity-widget.toggle%">%fa:sort%</button>
|
<button onclick={ toggle } title="%i18n:desktop.tags.mk-activity-widget.toggle%">%fa:sort%</button>
|
||||||
</virtual>
|
</virtual>
|
||||||
<p class="initializing" if={ initializing }>%fa:spinner .pluse .fw%%i18n:common.loading%<mk-ellipsis/></p>
|
<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-calender if={ !initializing && view == 0 } data={ [].concat(activity) }/>
|
||||||
<mk-activity-widget-chart if={ !initializing && view == 1 } data={ [].concat(activity) }/>
|
<mk-activity-widget-chart if={ !initializing && view == 1 } data={ [].concat(activity) }/>
|
||||||
<style>
|
<style>
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
<label>
|
<label>
|
||||||
<p class="caption">Named ID</p>
|
<p class="caption">Named ID</p>
|
||||||
<input ref="nid" type="text" pattern="^[a-zA-Z0-9-]{3,30}$" placeholder="ex) misskey-for-ios" autocomplete="off" required="required" onkeyup={ onChangeNid }/>
|
<input ref="nid" type="text" pattern="^[a-zA-Z0-9-]{3,30}$" placeholder="ex) misskey-for-ios" autocomplete="off" required="required" onkeyup={ onChangeNid }/>
|
||||||
<p class="info" if={ nidState == 'wait' } style="color:#999">%fa:spinner .pluse .fw%確認しています...</p>
|
<p class="info" if={ nidState == 'wait' } style="color:#999">%fa:spinner .pulse .fw%確認しています...</p>
|
||||||
<p class="info" if={ nidState == 'ok' } style="color:#3CB7B5">%fa:fw check%利用できます</p>
|
<p class="info" if={ nidState == 'ok' } style="color:#3CB7B5">%fa:fw check%利用できます</p>
|
||||||
<p class="info" if={ nidState == 'unavailable' } style="color:#FF1161">%fa:fw exclamation-triangle%既に利用されています</p>
|
<p class="info" if={ nidState == 'unavailable' } style="color:#FF1161">%fa:fw exclamation-triangle%既に利用されています</p>
|
||||||
<p class="info" if={ nidState == 'error' } style="color:#FF1161">%fa:fw exclamation-triangle%通信エラー</p>
|
<p class="info" if={ nidState == 'error' } style="color:#FF1161">%fa:fw exclamation-triangle%通信エラー</p>
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
<button class={ wait: wait, follow: !user.is_following, unfollow: user.is_following } if={ !init } onclick={ onclick } disabled={ wait }>
|
<button class={ wait: wait, follow: !user.is_following, unfollow: user.is_following } if={ !init } onclick={ onclick } disabled={ wait }>
|
||||||
<virtual if={ !wait && user.is_following }>%fa:minus%</virtual>
|
<virtual if={ !wait && user.is_following }>%fa:minus%</virtual>
|
||||||
<virtual if={ !wait && !user.is_following }>%fa:plus%</virtual>
|
<virtual if={ !wait && !user.is_following }>%fa:plus%</virtual>
|
||||||
<virtual if={ wait }>%fa:spinner .pluse .fw%</virtual>{ user.is_following ? '%i18n:mobile.tags.mk-follow-button.unfollow%' : '%i18n:mobile.tags.mk-follow-button.follow%' }
|
<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>
|
</button>
|
||||||
<div class="init" if={ init }>%fa:spinner .pluse .fw%</div>
|
<div class="init" if={ init }>%fa:spinner .pulse .fw%</div>
|
||||||
<style>
|
<style>
|
||||||
:scope
|
:scope
|
||||||
display block
|
display block
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
</virtual>
|
</virtual>
|
||||||
</div>
|
</div>
|
||||||
<p class="empty" if={ !fetching && users.length == 0 }>おすすめのユーザーは見つかりませんでした。</p>
|
<p class="empty" if={ !fetching && users.length == 0 }>おすすめのユーザーは見つかりませんでした。</p>
|
||||||
<p class="fetching" if={ fetching }>%fa:spinner .pluse .fw%読み込んでいます<mk-ellipsis/></p>
|
<p class="fetching" if={ fetching }>%fa:spinner .pulse .fw%読み込んでいます<mk-ellipsis/></p>
|
||||||
<a class="refresh" onclick={ refresh }>もっと見る</a>
|
<a class="refresh" onclick={ refresh }>もっと見る</a>
|
||||||
<button class="close" onclick={ close } title="閉じる">%fa:times%</button>
|
<button class="close" onclick={ close } title="閉じる">%fa:times%</button>
|
||||||
<style>
|
<style>
|
||||||
|
|
|
@ -6,10 +6,10 @@
|
||||||
</virtual>
|
</virtual>
|
||||||
</div>
|
</div>
|
||||||
<button class="more" if={ moreNotifications } onclick={ fetchMoreNotifications } disabled={ fetchingMoreNotifications }>
|
<button class="more" if={ moreNotifications } onclick={ fetchMoreNotifications } disabled={ fetchingMoreNotifications }>
|
||||||
<virtual if={ fetchingMoreNotifications }>%fa:spinner .pluse .fw%</virtual>{ fetchingMoreNotifications ? '%i18n:common.loading%' : '%i18n:mobile.tags.mk-notifications.more%' }
|
<virtual if={ fetchingMoreNotifications }>%fa:spinner .pulse .fw%</virtual>{ fetchingMoreNotifications ? '%i18n:common.loading%' : '%i18n:mobile.tags.mk-notifications.more%' }
|
||||||
</button>
|
</button>
|
||||||
<p class="empty" if={ notifications.length == 0 && !loading }>%i18n:mobile.tags.mk-notifications.empty%</p>
|
<p class="empty" if={ notifications.length == 0 && !loading }>%i18n:mobile.tags.mk-notifications.empty%</p>
|
||||||
<p class="loading" if={ loading }>%fa:spinner .pluse .fw%%i18n:common.loading%<mk-ellipsis/></p>
|
<p class="loading" if={ loading }>%fa:spinner .pulse .fw%%i18n:common.loading%<mk-ellipsis/></p>
|
||||||
<style>
|
<style>
|
||||||
:scope
|
:scope
|
||||||
display block
|
display block
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<mk-post-detail>
|
<mk-post-detail>
|
||||||
<button class="read-more" if={ p.reply && p.reply.reply_id && context == null } onclick={ loadContext } disabled={ loadingContext }>
|
<button class="read-more" if={ p.reply && p.reply.reply_id && context == null } onclick={ loadContext } disabled={ loadingContext }>
|
||||||
<virtual if={ !contextFetching }>%fa:ellipsis-v%</virtual>
|
<virtual if={ !contextFetching }>%fa:ellipsis-v%</virtual>
|
||||||
<virtual if={ contextFetching }>%fa:spinner .pluse%</virtual>
|
<virtual if={ contextFetching }>%fa:spinner .pulse%</virtual>
|
||||||
</button>
|
</button>
|
||||||
<div class="context">
|
<div class="context">
|
||||||
<virtual each={ post in context }>
|
<virtual each={ post in context }>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<mk-timeline>
|
<mk-timeline>
|
||||||
<div class="init" if={ init }>
|
<div class="init" if={ init }>
|
||||||
%fa:spinner .pluse%%i18n:common.loading%
|
%fa:spinner .pulse%%i18n:common.loading%
|
||||||
</div>
|
</div>
|
||||||
<div class="empty" if={ !init && posts.length == 0 }>
|
<div class="empty" if={ !init && posts.length == 0 }>
|
||||||
%fa:R comments%{ opts.empty || '%i18n:mobile.tags.mk-timeline.empty%' }
|
%fa:R comments%{ opts.empty || '%i18n:mobile.tags.mk-timeline.empty%' }
|
||||||
|
|
|
@ -307,7 +307,7 @@
|
||||||
</mk-user-overview>
|
</mk-user-overview>
|
||||||
|
|
||||||
<mk-user-overview-posts>
|
<mk-user-overview-posts>
|
||||||
<p class="initializing" if={ initializing }>%fa:spinner .pluse .fw%%i18n:mobile.tags.mk-user-overview-posts.loading%<mk-ellipsis/></p>
|
<p class="initializing" if={ initializing }>%fa:spinner .pulse .fw%%i18n:mobile.tags.mk-user-overview-posts.loading%<mk-ellipsis/></p>
|
||||||
<div if={ !initializing && posts.length > 0 }>
|
<div if={ !initializing && posts.length > 0 }>
|
||||||
<virtual each={ posts }>
|
<virtual each={ posts }>
|
||||||
<mk-user-overview-posts-post-card post={ this }/>
|
<mk-user-overview-posts-post-card post={ this }/>
|
||||||
|
@ -436,7 +436,7 @@
|
||||||
</mk-user-overview-posts-post-card>
|
</mk-user-overview-posts-post-card>
|
||||||
|
|
||||||
<mk-user-overview-photos>
|
<mk-user-overview-photos>
|
||||||
<p class="initializing" if={ initializing }>%fa:spinner .pluse .fw%%i18n:mobile.tags.mk-user-overview-photos.loading%<mk-ellipsis/></p>
|
<p class="initializing" if={ initializing }>%fa:spinner .pulse .fw%%i18n:mobile.tags.mk-user-overview-photos.loading%<mk-ellipsis/></p>
|
||||||
<div class="stream" if={ !initializing && images.length > 0 }>
|
<div class="stream" if={ !initializing && images.length > 0 }>
|
||||||
<virtual each={ image in images }>
|
<virtual each={ image in images }>
|
||||||
<a class="img" style={ 'background-image: url(' + image.media.url + '?thumbnail&size=256)' } href={ '/' + image.post.user.username + '/' + image.post.id }></a>
|
<a class="img" style={ 'background-image: url(' + image.media.url + '?thumbnail&size=256)' } href={ '/' + image.post.user.username + '/' + image.post.id }></a>
|
||||||
|
@ -626,7 +626,7 @@
|
||||||
</mk-user-overview-domains>
|
</mk-user-overview-domains>
|
||||||
|
|
||||||
<mk-user-overview-frequently-replied-users>
|
<mk-user-overview-frequently-replied-users>
|
||||||
<p class="initializing" if={ initializing }>%fa:spinner .pluse .fw%%i18n:mobile.tags.mk-user-overview-frequently-replied-users.loading%<mk-ellipsis/></p>
|
<p class="initializing" if={ initializing }>%fa:spinner .pulse .fw%%i18n:mobile.tags.mk-user-overview-frequently-replied-users.loading%<mk-ellipsis/></p>
|
||||||
<div if={ !initializing && users.length > 0 }>
|
<div if={ !initializing && users.length > 0 }>
|
||||||
<virtual each={ users }>
|
<virtual each={ users }>
|
||||||
<mk-user-card user={ this.user }/>
|
<mk-user-card user={ this.user }/>
|
||||||
|
@ -678,7 +678,7 @@
|
||||||
</mk-user-overview-frequently-replied-users>
|
</mk-user-overview-frequently-replied-users>
|
||||||
|
|
||||||
<mk-user-overview-followers-you-know>
|
<mk-user-overview-followers-you-know>
|
||||||
<p class="initializing" if={ initializing }>%fa:spinner .pluse .fw%%i18n:mobile.tags.mk-user-overview-followers-you-know.loading%<mk-ellipsis/></p>
|
<p class="initializing" if={ initializing }>%fa:spinner .pulse .fw%%i18n:mobile.tags.mk-user-overview-followers-you-know.loading%<mk-ellipsis/></p>
|
||||||
<div if={ !initializing && users.length > 0 }>
|
<div if={ !initializing && users.length > 0 }>
|
||||||
<virtual each={ user in users }>
|
<virtual each={ user in users }>
|
||||||
<a href={ '/' + user.username }><img src={ user.avatar_url + '?thumbnail&size=64' } alt={ user.name }/></a>
|
<a href={ '/' + user.username }><img src={ user.avatar_url + '?thumbnail&size=64' } alt={ user.name }/></a>
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
<span if={ !moreFetching }>%i18n:mobile.tags.mk-users-list.load-more%</span>
|
<span if={ !moreFetching }>%i18n:mobile.tags.mk-users-list.load-more%</span>
|
||||||
<span if={ moreFetching }>%i18n:common.loading%<mk-ellipsis/></span></button>
|
<span if={ moreFetching }>%i18n:common.loading%<mk-ellipsis/></span></button>
|
||||||
<p class="no" if={ !fetching && users.length == 0 }>{ opts.noUsers }</p>
|
<p class="no" if={ !fetching && users.length == 0 }>{ opts.noUsers }</p>
|
||||||
<p class="fetching" if={ fetching }>%fa:spinner .pluse .fw%%i18n:common.loading%<mk-ellipsis/></p>
|
<p class="fetching" if={ fetching }>%fa:spinner .pulse .fw%%i18n:common.loading%<mk-ellipsis/></p>
|
||||||
<style>
|
<style>
|
||||||
:scope
|
:scope
|
||||||
display block
|
display block
|
||||||
|
|
Loading…
Reference in a new issue