Compare commits
	
		
			1 commit
		
	
	
		
			develop
			...
			use-materi
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|  | 8a23594f9a | 
					 41 changed files with 98 additions and 75 deletions
				
			
		|  | @ -6,10 +6,10 @@ | ||||||
| > | > | ||||||
| 	<template v-if="!wait"> | 	<template v-if="!wait"> | ||||||
| 		<template v-if="isFollowing"> | 		<template v-if="isFollowing"> | ||||||
| 			<span v-if="full">{{ $ts.unfollow }}</span><Fa :icon="faMinus"/> | 			<span v-if="full">{{ $ts.unfollow }}</span><span class="_i round">remove</span> | ||||||
| 		</template> | 		</template> | ||||||
| 		<template v-else> | 		<template v-else> | ||||||
| 			<span v-if="full">{{ $ts.follow }}</span><Fa :icon="faPlus"/> | 			<span v-if="full">{{ $ts.follow }}</span><span class="_i round">add</span> | ||||||
| 		</template> | 		</template> | ||||||
| 	</template> | 	</template> | ||||||
| 	<template v-else> | 	<template v-else> | ||||||
|  |  | ||||||
|  | @ -12,13 +12,13 @@ | ||||||
| 			<span v-if="full">{{ $ts.processing }}</span><Fa :icon="faSpinner" pulse/> | 			<span v-if="full">{{ $ts.processing }}</span><Fa :icon="faSpinner" pulse/> | ||||||
| 		</template> | 		</template> | ||||||
| 		<template v-else-if="isFollowing"> | 		<template v-else-if="isFollowing"> | ||||||
| 			<span v-if="full">{{ $ts.unfollow }}</span><Fa :icon="faMinus"/> | 			<span v-if="full">{{ $ts.unfollow }}</span><span class="_i round">remove</span> | ||||||
| 		</template> | 		</template> | ||||||
| 		<template v-else-if="!isFollowing && user.isLocked"> | 		<template v-else-if="!isFollowing && user.isLocked"> | ||||||
| 			<span v-if="full">{{ $ts.followRequest }}</span><Fa :icon="faPlus"/> | 			<span v-if="full">{{ $ts.followRequest }}</span><span class="_i round">add</span> | ||||||
| 		</template> | 		</template> | ||||||
| 		<template v-else-if="!isFollowing && !user.isLocked"> | 		<template v-else-if="!isFollowing && !user.isLocked"> | ||||||
| 			<span v-if="full">{{ $ts.follow }}</span><Fa :icon="faPlus"/> | 			<span v-if="full">{{ $ts.follow }}</span><span class="_i round">add</span> | ||||||
| 		</template> | 		</template> | ||||||
| 	</template> | 	</template> | ||||||
| 	<template v-else> | 	<template v-else> | ||||||
|  |  | ||||||
|  | @ -12,7 +12,7 @@ | ||||||
| 	<XSub :note="appearNote.reply" class="reply-to" v-if="appearNote.reply"/> | 	<XSub :note="appearNote.reply" class="reply-to" v-if="appearNote.reply"/> | ||||||
| 	<div class="renote" v-if="isRenote"> | 	<div class="renote" v-if="isRenote"> | ||||||
| 		<MkAvatar class="avatar" :user="note.user"/> | 		<MkAvatar class="avatar" :user="note.user"/> | ||||||
| 		<Fa :icon="faRetweet"/> | 		<span class="_i round">repeat</span> | ||||||
| 		<I18n :src="$ts.renotedBy" tag="span"> | 		<I18n :src="$ts.renotedBy" tag="span"> | ||||||
| 			<template #user> | 			<template #user> | ||||||
| 				<MkA class="name" :to="userPage(note.user)" v-user-preview="note.userId"> | 				<MkA class="name" :to="userPage(note.user)" v-user-preview="note.userId"> | ||||||
|  | @ -64,7 +64,7 @@ | ||||||
| 				<div class="content" v-show="appearNote.cw == null || showContent"> | 				<div class="content" v-show="appearNote.cw == null || showContent"> | ||||||
| 					<div class="text"> | 					<div class="text"> | ||||||
| 						<span v-if="appearNote.isHidden" style="opacity: 0.5">({{ $ts.private }})</span> | 						<span v-if="appearNote.isHidden" style="opacity: 0.5">({{ $ts.private }})</span> | ||||||
| 						<MkA class="reply" v-if="appearNote.replyId" :to="`/notes/${appearNote.replyId}`"><Fa :icon="faReply"/></MkA> | 						<MkA class="reply" v-if="appearNote.replyId" :to="`/notes/${appearNote.replyId}`"><span class="_i round">reply</span></MkA> | ||||||
| 						<Mfm v-if="appearNote.text" :text="appearNote.text" :author="appearNote.user" :i="$i" :custom-emojis="appearNote.emojis"/> | 						<Mfm v-if="appearNote.text" :text="appearNote.text" :author="appearNote.user" :i="$i" :custom-emojis="appearNote.emojis"/> | ||||||
| 						<a class="rp" v-if="appearNote.renote != null">RN:</a> | 						<a class="rp" v-if="appearNote.renote != null">RN:</a> | ||||||
| 					</div> | 					</div> | ||||||
|  | @ -85,23 +85,23 @@ | ||||||
| 				<XReactionsViewer :note="appearNote" ref="reactionsViewer"/> | 				<XReactionsViewer :note="appearNote" ref="reactionsViewer"/> | ||||||
| 				<button @click="reply()" class="button _button"> | 				<button @click="reply()" class="button _button"> | ||||||
| 					<template v-if="appearNote.reply"><Fa :icon="faReplyAll"/></template> | 					<template v-if="appearNote.reply"><Fa :icon="faReplyAll"/></template> | ||||||
| 					<template v-else><Fa :icon="faReply"/></template> | 					<template v-else><span class="_i round">reply</span></template> | ||||||
| 					<p class="count" v-if="appearNote.repliesCount > 0">{{ appearNote.repliesCount }}</p> | 					<p class="count" v-if="appearNote.repliesCount > 0">{{ appearNote.repliesCount }}</p> | ||||||
| 				</button> | 				</button> | ||||||
| 				<button v-if="canRenote" @click="renote()" class="button _button" ref="renoteButton"> | 				<button v-if="canRenote" @click="renote()" class="button _button" ref="renoteButton"> | ||||||
| 					<Fa :icon="faRetweet"/><p class="count" v-if="appearNote.renoteCount > 0">{{ appearNote.renoteCount }}</p> | 					<span class="_i round">repeat</span><p class="count" v-if="appearNote.renoteCount > 0">{{ appearNote.renoteCount }}</p> | ||||||
| 				</button> | 				</button> | ||||||
| 				<button v-else class="button _button"> | 				<button v-else class="button _button"> | ||||||
| 					<Fa :icon="faBan"/> | 					<Fa :icon="faBan"/> | ||||||
| 				</button> | 				</button> | ||||||
| 				<button v-if="appearNote.myReaction == null" class="button _button" @click="react()" ref="reactButton"> | 				<button v-if="appearNote.myReaction == null" class="button _button" @click="react()" ref="reactButton"> | ||||||
| 					<Fa :icon="faPlus"/> | 					<span class="_i round">add</span> | ||||||
| 				</button> | 				</button> | ||||||
| 				<button v-if="appearNote.myReaction != null" class="button _button reacted" @click="undoReact(appearNote)" ref="reactButton"> | 				<button v-if="appearNote.myReaction != null" class="button _button reacted" @click="undoReact(appearNote)" ref="reactButton"> | ||||||
| 					<Fa :icon="faMinus"/> | 					<span class="_i round">remove</span> | ||||||
| 				</button> | 				</button> | ||||||
| 				<button class="button _button" @click="menu()" ref="menuButton"> | 				<button class="button _button" @click="menu()" ref="menuButton"> | ||||||
| 					<Fa :icon="faEllipsisH"/> | 					<span class="_i round">more_horiz</span> | ||||||
| 				</button> | 				</button> | ||||||
| 			</footer> | 			</footer> | ||||||
| 		</div> | 		</div> | ||||||
|  |  | ||||||
|  | @ -14,7 +14,7 @@ | ||||||
| 	<div class="info" v-if="appearNote._featuredId_"><Fa :icon="faBolt"/> {{ $ts.featured }}</div> | 	<div class="info" v-if="appearNote._featuredId_"><Fa :icon="faBolt"/> {{ $ts.featured }}</div> | ||||||
| 	<div class="renote" v-if="isRenote"> | 	<div class="renote" v-if="isRenote"> | ||||||
| 		<MkAvatar class="avatar" :user="note.user"/> | 		<MkAvatar class="avatar" :user="note.user"/> | ||||||
| 		<Fa :icon="faRetweet"/> | 		<span class="_i round">repeat</span> | ||||||
| 		<I18n :src="$ts.renotedBy" tag="span"> | 		<I18n :src="$ts.renotedBy" tag="span"> | ||||||
| 			<template #user> | 			<template #user> | ||||||
| 				<MkA class="name" :to="userPage(note.user)" v-user-preview="note.userId"> | 				<MkA class="name" :to="userPage(note.user)" v-user-preview="note.userId"> | ||||||
|  | @ -48,7 +48,7 @@ | ||||||
| 				<div class="content" :class="{ collapsed }" v-show="appearNote.cw == null || showContent"> | 				<div class="content" :class="{ collapsed }" v-show="appearNote.cw == null || showContent"> | ||||||
| 					<div class="text"> | 					<div class="text"> | ||||||
| 						<span v-if="appearNote.isHidden" style="opacity: 0.5">({{ $ts.private }})</span> | 						<span v-if="appearNote.isHidden" style="opacity: 0.5">({{ $ts.private }})</span> | ||||||
| 						<MkA class="reply" v-if="appearNote.replyId" :to="`/notes/${appearNote.replyId}`"><Fa :icon="faReply"/></MkA> | 						<MkA class="reply" v-if="appearNote.replyId" :to="`/notes/${appearNote.replyId}`"><span class="_i round">reply</span></MkA> | ||||||
| 						<Mfm v-if="appearNote.text" :text="appearNote.text" :author="appearNote.user" :i="$i" :custom-emojis="appearNote.emojis"/> | 						<Mfm v-if="appearNote.text" :text="appearNote.text" :author="appearNote.user" :i="$i" :custom-emojis="appearNote.emojis"/> | ||||||
| 						<a class="rp" v-if="appearNote.renote != null">RN:</a> | 						<a class="rp" v-if="appearNote.renote != null">RN:</a> | ||||||
| 					</div> | 					</div> | ||||||
|  | @ -68,23 +68,23 @@ | ||||||
| 				<XReactionsViewer :note="appearNote" ref="reactionsViewer"/> | 				<XReactionsViewer :note="appearNote" ref="reactionsViewer"/> | ||||||
| 				<button @click="reply()" class="button _button"> | 				<button @click="reply()" class="button _button"> | ||||||
| 					<template v-if="appearNote.reply"><Fa :icon="faReplyAll"/></template> | 					<template v-if="appearNote.reply"><Fa :icon="faReplyAll"/></template> | ||||||
| 					<template v-else><Fa :icon="faReply"/></template> | 					<template v-else><span class="_i round">reply</span></template> | ||||||
| 					<p class="count" v-if="appearNote.repliesCount > 0">{{ appearNote.repliesCount }}</p> | 					<p class="count" v-if="appearNote.repliesCount > 0">{{ appearNote.repliesCount }}</p> | ||||||
| 				</button> | 				</button> | ||||||
| 				<button v-if="canRenote" @click="renote()" class="button _button" ref="renoteButton"> | 				<button v-if="canRenote" @click="renote()" class="button _button" ref="renoteButton"> | ||||||
| 					<Fa :icon="faRetweet"/><p class="count" v-if="appearNote.renoteCount > 0">{{ appearNote.renoteCount }}</p> | 					<span class="_i round">repeat</span><p class="count" v-if="appearNote.renoteCount > 0">{{ appearNote.renoteCount }}</p> | ||||||
| 				</button> | 				</button> | ||||||
| 				<button v-else class="button _button"> | 				<button v-else class="button _button"> | ||||||
| 					<Fa :icon="faBan"/> | 					<Fa :icon="faBan"/> | ||||||
| 				</button> | 				</button> | ||||||
| 				<button v-if="appearNote.myReaction == null" class="button _button" @click="react()" ref="reactButton"> | 				<button v-if="appearNote.myReaction == null" class="button _button" @click="react()" ref="reactButton"> | ||||||
| 					<Fa :icon="faPlus"/> | 					<span class="_i round">add</span> | ||||||
| 				</button> | 				</button> | ||||||
| 				<button v-if="appearNote.myReaction != null" class="button _button reacted" @click="undoReact(appearNote)" ref="reactButton"> | 				<button v-if="appearNote.myReaction != null" class="button _button reacted" @click="undoReact(appearNote)" ref="reactButton"> | ||||||
| 					<Fa :icon="faMinus"/> | 					<span class="_i round">remove</span> | ||||||
| 				</button> | 				</button> | ||||||
| 				<button class="button _button" @click="menu()" ref="menuButton"> | 				<button class="button _button" @click="menu()" ref="menuButton"> | ||||||
| 					<Fa :icon="faEllipsisH"/> | 					<span class="_i round">more_horiz</span> | ||||||
| 				</button> | 				</button> | ||||||
| 			</footer> | 			</footer> | ||||||
| 		</div> | 		</div> | ||||||
|  |  | ||||||
|  | @ -3,7 +3,7 @@ | ||||||
| 	<div class="body"> | 	<div class="body"> | ||||||
| 		<span v-if="note.isHidden" style="opacity: 0.5">({{ $ts.private }})</span> | 		<span v-if="note.isHidden" style="opacity: 0.5">({{ $ts.private }})</span> | ||||||
| 		<span v-if="note.deletedAt" style="opacity: 0.5">({{ $ts.deleted }})</span> | 		<span v-if="note.deletedAt" style="opacity: 0.5">({{ $ts.deleted }})</span> | ||||||
| 		<MkA class="reply" v-if="note.replyId" :to="`/notes/${note.replyId}`"><Fa :icon="faReply"/></MkA> | 		<MkA class="reply" v-if="note.replyId" :to="`/notes/${note.replyId}`"><span class="_i round">reply</span></MkA> | ||||||
| 		<Mfm v-if="note.text" :text="note.text" :author="note.user" :i="$i" :custom-emojis="note.emojis"/> | 		<Mfm v-if="note.text" :text="note.text" :author="note.user" :i="$i" :custom-emojis="note.emojis"/> | ||||||
| 		<MkA class="rp" v-if="note.renoteId" :to="`/notes/${note.renoteId}`">RN: ...</MkA> | 		<MkA class="rp" v-if="note.renoteId" :to="`/notes/${note.renoteId}`">RN: ...</MkA> | ||||||
| 	</div> | 	</div> | ||||||
|  |  | ||||||
|  | @ -6,7 +6,7 @@ | ||||||
| 				<template #label>{{ $ts.selectWidget }}</template> | 				<template #label>{{ $ts.selectWidget }}</template> | ||||||
| 				<option v-for="widget in widgetDefs" :value="widget" :key="widget">{{ $t(`_widgets.${widget}`) }}</option> | 				<option v-for="widget in widgetDefs" :value="widget" :key="widget">{{ $t(`_widgets.${widget}`) }}</option> | ||||||
| 			</MkSelect> | 			</MkSelect> | ||||||
| 			<MkButton inline @click="addWidget" primary><Fa :icon="faPlus"/> {{ $ts.add }}</MkButton> | 			<MkButton inline @click="addWidget" primary><span class="_i round">add</span> {{ $ts.add }}</MkButton> | ||||||
| 			<MkButton inline @click="$emit('exit')">{{ $ts.close }}</MkButton> | 			<MkButton inline @click="$emit('exit')">{{ $ts.close }}</MkButton> | ||||||
| 		</header> | 		</header> | ||||||
| 		<XDraggable | 		<XDraggable | ||||||
|  | @ -16,7 +16,7 @@ | ||||||
| 		> | 		> | ||||||
| 			<template #item="{element}"> | 			<template #item="{element}"> | ||||||
| 				<div class="customize-container"> | 				<div class="customize-container"> | ||||||
| 					<button class="config _button" @click.prevent.stop="configWidget(element.id)"><Fa :icon="faCog"/></button> | 					<button class="config _button" @click.prevent.stop="configWidget(element.id)"><span class="_i round">settings</span></button> | ||||||
| 					<button class="remove _button" @click.prevent.stop="removeWidget(element)"><Fa :icon="faTimes"/></button> | 					<button class="remove _button" @click.prevent.stop="removeWidget(element)"><Fa :icon="faTimes"/></button> | ||||||
| 					<component :is="`mkw-${element.name}`" :widget="element" :setting-callback="setting => settings[element.id] = setting" :column="column" @updateProps="updateWidget(element.id, $event)"/> | 					<component :is="`mkw-${element.name}`" :widget="element" :setting-callback="setting => settings[element.id] = setting" :column="column" @updateProps="updateWidget(element.id, $event)"/> | ||||||
| 				</div> | 				</div> | ||||||
|  |  | ||||||
|  | @ -7,7 +7,7 @@ | ||||||
| 			<MkTextarea v-model:value="description">{{ $ts.description }}</MkTextarea> | 			<MkTextarea v-model:value="description">{{ $ts.description }}</MkTextarea> | ||||||
| 
 | 
 | ||||||
| 			<div class="banner"> | 			<div class="banner"> | ||||||
| 				<MkButton v-if="bannerId == null" @click="setBannerImage"><Fa :icon="faPlus"/> {{ $ts._channel.setBanner }}</MkButton> | 				<MkButton v-if="bannerId == null" @click="setBannerImage"><span class="_i round">add</span> {{ $ts._channel.setBanner }}</MkButton> | ||||||
| 				<div v-else-if="bannerUrl"> | 				<div v-else-if="bannerUrl"> | ||||||
| 					<img :src="bannerUrl" style="width: 100%;"/> | 					<img :src="bannerUrl" style="width: 100%;"/> | ||||||
| 					<MkButton @click="removeBannerImage()"><Fa :icon="faTrashAlt"/> {{ $ts._channel.removeBanner }}</MkButton> | 					<MkButton @click="removeBannerImage()"><Fa :icon="faTrashAlt"/> {{ $ts._channel.removeBanner }}</MkButton> | ||||||
|  |  | ||||||
|  | @ -22,7 +22,7 @@ | ||||||
| 		</div> | 		</div> | ||||||
| 
 | 
 | ||||||
| 		<div class="_content grwlizim owned" v-if="tab === 'owned'"> | 		<div class="_content grwlizim owned" v-if="tab === 'owned'"> | ||||||
| 			<MkButton class="new" @click="create()"><Fa :icon="faPlus"/></MkButton> | 			<MkButton class="new" @click="create()"><span class="_i round">add</span></MkButton> | ||||||
| 			<MkPagination :pagination="ownedPagination" #default="{items}"> | 			<MkPagination :pagination="ownedPagination" #default="{items}"> | ||||||
| 				<MkChannelPreview v-for="channel in items" class="_gap" :channel="channel" :key="channel.id"/> | 				<MkChannelPreview v-for="channel in items" class="_gap" :channel="channel" :key="channel.id"/> | ||||||
| 			</MkPagination> | 			</MkPagination> | ||||||
|  |  | ||||||
|  | @ -2,7 +2,7 @@ | ||||||
| <div class="ztgjmzrw"> | <div class="ztgjmzrw"> | ||||||
| 	<div class="_section"> | 	<div class="_section"> | ||||||
| 		<div class="_content"> | 		<div class="_content"> | ||||||
| 			<MkButton @click="add()" primary style="margin: 0 auto 16px auto;"><Fa :icon="faPlus"/> {{ $ts.add }}</MkButton> | 			<MkButton @click="add()" primary style="margin: 0 auto 16px auto;"><span class="_i round">add</span> {{ $ts.add }}</MkButton> | ||||||
| 			<section class="_card _gap announcements" v-for="announcement in announcements"> | 			<section class="_card _gap announcements" v-for="announcement in announcements"> | ||||||
| 				<div class="_content announcement"> | 				<div class="_content announcement"> | ||||||
| 					<MkInput v-model:value="announcement.title"> | 					<MkInput v-model:value="announcement.title"> | ||||||
|  |  | ||||||
|  | @ -9,7 +9,7 @@ | ||||||
| 
 | 
 | ||||||
| 	<div class="_section"> | 	<div class="_section"> | ||||||
| 		<div class="local" v-if="tab === 'local'"> | 		<div class="local" v-if="tab === 'local'"> | ||||||
| 			<MkButton primary @click="add" style="margin: 0 auto var(--margin) auto;"><Fa :icon="faPlus"/> {{ $ts.addEmoji }}</MkButton> | 			<MkButton primary @click="add" style="margin: 0 auto var(--margin) auto;"><span class="_i round">add</span> {{ $ts.addEmoji }}</MkButton> | ||||||
| 			<MkInput v-model:value="query" :debounce="true" type="search"><template #icon><Fa :icon="faSearch"/></template><span>{{ $ts.search }}</span></MkInput> | 			<MkInput v-model:value="query" :debounce="true" type="search"><template #icon><Fa :icon="faSearch"/></template><span>{{ $ts.search }}</span></MkInput> | ||||||
| 			<MkPagination :pagination="pagination" ref="emojis"> | 			<MkPagination :pagination="pagination" ref="emojis"> | ||||||
| 				<template #empty><span>{{ $ts.noCustomEmojis }}</span></template> | 				<template #empty><span>{{ $ts.noCustomEmojis }}</span></template> | ||||||
|  |  | ||||||
|  | @ -1,12 +1,12 @@ | ||||||
| <template> | <template> | ||||||
| <div class="relaycxt"> | <div class="relaycxt"> | ||||||
| 	<section class="_section add"> | 	<section class="_section add"> | ||||||
| 		<div class="_title"><Fa :icon="faPlus"/> {{ $ts.addRelay }}</div> | 		<div class="_title"><span class="_i round">add</span> {{ $ts.addRelay }}</div> | ||||||
| 		<div class="_content"> | 		<div class="_content"> | ||||||
| 			<MkInput v-model:value="inbox"> | 			<MkInput v-model:value="inbox"> | ||||||
| 				<span>{{ $ts.inboxUrl }}</span> | 				<span>{{ $ts.inboxUrl }}</span> | ||||||
| 			</MkInput> | 			</MkInput> | ||||||
| 			<MkButton @click="add(inbox)" primary><Fa :icon="faPlus"/> {{ $ts.add }}</MkButton> | 			<MkButton @click="add(inbox)" primary><span class="_i round">add</span> {{ $ts.add }}</MkButton> | ||||||
| 		</div> | 		</div> | ||||||
| 	</section> | 	</section> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -2,7 +2,7 @@ | ||||||
| <div class="mk-instance-users"> | <div class="mk-instance-users"> | ||||||
| 	<div class="_section"> | 	<div class="_section"> | ||||||
| 		<div class="_content"> | 		<div class="_content"> | ||||||
| 			<MkButton inline primary @click="addUser()"><Fa :icon="faPlus"/> {{ $ts.addUser }}</MkButton> | 			<MkButton inline primary @click="addUser()"><span class="_i round">add</span> {{ $ts.addUser }}</MkButton> | ||||||
| 		</div> | 		</div> | ||||||
| 	</div> | 	</div> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -1,6 +1,6 @@ | ||||||
| <template> | <template> | ||||||
| <div class="yweeujhr _root" v-size="{ max: [400] }"> | <div class="yweeujhr _root" v-size="{ max: [400] }"> | ||||||
| 	<MkButton @click="start" primary class="start"><Fa :icon="faPlus"/> {{ $ts.startMessaging }}</MkButton> | 	<MkButton @click="start" primary class="start"><span class="_i round">add</span> {{ $ts.startMessaging }}</MkButton> | ||||||
| 
 | 
 | ||||||
| 	<div class="history" v-if="messages.length > 0"> | 	<div class="history" v-if="messages.length > 0"> | ||||||
| 		<MkA v-for="(message, i) in messages" | 		<MkA v-for="(message, i) in messages" | ||||||
|  |  | ||||||
|  | @ -1,6 +1,6 @@ | ||||||
| <template> | <template> | ||||||
| <div class="ieepwinx _section"> | <div class="ieepwinx _section"> | ||||||
| 	<MkButton @click="create" primary class="add"><Fa :icon="faPlus"/> {{ $ts.add }}</MkButton> | 	<MkButton @click="create" primary class="add"><span class="_i round">add</span> {{ $ts.add }}</MkButton> | ||||||
| 
 | 
 | ||||||
| 	<div class="_content"> | 	<div class="_content"> | ||||||
| 		<XAntenna v-if="draft" :antenna="draft" @created="onAntennaCreated" style="margin-bottom: var(--margin);"/> | 		<XAntenna v-if="draft" :antenna="draft" @created="onAntennaCreated" style="margin-bottom: var(--margin);"/> | ||||||
|  |  | ||||||
|  | @ -1,6 +1,6 @@ | ||||||
| <template> | <template> | ||||||
| <div class="_section qtcaoidl"> | <div class="_section qtcaoidl"> | ||||||
| 	<MkButton @click="create" primary class="add"><Fa :icon="faPlus"/> {{ $ts.add }}</MkButton> | 	<MkButton @click="create" primary class="add"><span class="_i round">add</span> {{ $ts.add }}</MkButton> | ||||||
| 
 | 
 | ||||||
| 	<div class="_content"> | 	<div class="_content"> | ||||||
| 		<MkPagination :pagination="pagination" #default="{items}" ref="list" class="list"> | 		<MkPagination :pagination="pagination" #default="{items}" ref="list" class="list"> | ||||||
|  |  | ||||||
|  | @ -10,7 +10,7 @@ | ||||||
| 
 | 
 | ||||||
| 	<div class="_section"> | 	<div class="_section"> | ||||||
| 		<div class="_content" v-if="tab === 'owned'"> | 		<div class="_content" v-if="tab === 'owned'"> | ||||||
| 			<MkButton @click="create" primary style="margin: 0 auto var(--margin) auto;"><Fa :icon="faPlus"/> {{ $ts.createGroup }}</MkButton> | 			<MkButton @click="create" primary style="margin: 0 auto var(--margin) auto;"><span class="_i round">add</span> {{ $ts.createGroup }}</MkButton> | ||||||
| 
 | 
 | ||||||
| 			<MkPagination :pagination="ownedPagination" #default="{items}" ref="owned"> | 			<MkPagination :pagination="ownedPagination" #default="{items}" ref="owned"> | ||||||
| 				<div class="_card" v-for="group in items" :key="group.id"> | 				<div class="_card" v-for="group in items" :key="group.id"> | ||||||
|  |  | ||||||
|  | @ -1,6 +1,6 @@ | ||||||
| <template> | <template> | ||||||
| <div class="qkcjvfiv _section"> | <div class="qkcjvfiv _section"> | ||||||
| 	<MkButton @click="create" primary class="add"><Fa :icon="faPlus"/> {{ $ts.createList }}</MkButton> | 	<MkButton @click="create" primary class="add"><span class="_i round">add</span> {{ $ts.createList }}</MkButton> | ||||||
| 
 | 
 | ||||||
| 	<MkPagination :pagination="pagination" #default="{items}" class="lists _content" ref="list"> | 	<MkPagination :pagination="pagination" #default="{items}" class="lists _content" ref="list"> | ||||||
| 		<div class="list _panel" v-for="(list, i) in items" :key="list.id"> | 		<div class="list _panel" v-for="(list, i) in items" :key="list.id"> | ||||||
|  |  | ||||||
|  | @ -3,7 +3,7 @@ | ||||||
| 	<template #header><Fa :icon="faQuestion"/> {{ $ts._pages.blocks.if }}</template> | 	<template #header><Fa :icon="faQuestion"/> {{ $ts._pages.blocks.if }}</template> | ||||||
| 	<template #func> | 	<template #func> | ||||||
| 		<button @click="add()" class="_button"> | 		<button @click="add()" class="_button"> | ||||||
| 			<Fa :icon="faPlus"/> | 			<span class="_i round">add</span> | ||||||
| 		</button> | 		</button> | ||||||
| 	</template> | 	</template> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -6,7 +6,7 @@ | ||||||
| 			<Fa :icon="faPencilAlt"/> | 			<Fa :icon="faPencilAlt"/> | ||||||
| 		</button> | 		</button> | ||||||
| 		<button @click="add()" class="_button"> | 		<button @click="add()" class="_button"> | ||||||
| 			<Fa :icon="faPlus"/> | 			<span class="_i round">add</span> | ||||||
| 		</button> | 		</button> | ||||||
| 	</template> | 	</template> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -9,7 +9,7 @@ | ||||||
| 	</div> | 	</div> | ||||||
| 
 | 
 | ||||||
| 	<MkContainer :foldable="true" :expanded="true" class="_gap"> | 	<MkContainer :foldable="true" :expanded="true" class="_gap"> | ||||||
| 		<template #header><Fa :icon="faCog"/> {{ $ts._pages.pageSetting }}</template> | 		<template #header><span class="_i round">settings</span> {{ $ts._pages.pageSetting }}</template> | ||||||
| 		<div style="padding: 16px;"> | 		<div style="padding: 16px;"> | ||||||
| 			<MkInput v-model:value="title"> | 			<MkInput v-model:value="title"> | ||||||
| 				<span>{{ $ts._pages.title }}</span> | 				<span>{{ $ts._pages.title }}</span> | ||||||
|  | @ -35,7 +35,7 @@ | ||||||
| 			<MkSwitch v-model:value="hideTitleWhenPinned">{{ $ts._pages.hideTitleWhenPinned }}</MkSwitch> | 			<MkSwitch v-model:value="hideTitleWhenPinned">{{ $ts._pages.hideTitleWhenPinned }}</MkSwitch> | ||||||
| 
 | 
 | ||||||
| 			<div class="eyeCatch"> | 			<div class="eyeCatch"> | ||||||
| 				<MkButton v-if="eyeCatchingImageId == null && !readonly" @click="setEyeCatchingImage"><Fa :icon="faPlus"/> {{ $ts._pages.eyeCatchingImageSet }}</MkButton> | 				<MkButton v-if="eyeCatchingImageId == null && !readonly" @click="setEyeCatchingImage"><span class="_i round">add</span> {{ $ts._pages.eyeCatchingImageSet }}</MkButton> | ||||||
| 				<div v-else-if="eyeCatchingImage"> | 				<div v-else-if="eyeCatchingImage"> | ||||||
| 					<img :src="eyeCatchingImage.url" :alt="eyeCatchingImage.name" style="max-width: 100%;"/> | 					<img :src="eyeCatchingImage.url" :alt="eyeCatchingImage.name" style="max-width: 100%;"/> | ||||||
| 					<MkButton @click="removeEyeCatchingImage()" v-if="!readonly"><Fa :icon="faTrashAlt"/> {{ $ts._pages.eyeCatchingImageRemove }}</MkButton> | 					<MkButton @click="removeEyeCatchingImage()" v-if="!readonly"><Fa :icon="faTrashAlt"/> {{ $ts._pages.eyeCatchingImageRemove }}</MkButton> | ||||||
|  | @ -49,7 +49,7 @@ | ||||||
| 		<div style="padding: 16px;"> | 		<div style="padding: 16px;"> | ||||||
| 			<XBlocks class="content" v-model:value="content" :hpml="hpml"/> | 			<XBlocks class="content" v-model:value="content" :hpml="hpml"/> | ||||||
| 
 | 
 | ||||||
| 			<MkButton @click="add()" v-if="!readonly"><Fa :icon="faPlus"/></MkButton> | 			<MkButton @click="add()" v-if="!readonly"><span class="_i round">add</span></MkButton> | ||||||
| 		</div> | 		</div> | ||||||
| 	</MkContainer> | 	</MkContainer> | ||||||
| 
 | 
 | ||||||
|  | @ -70,7 +70,7 @@ | ||||||
| 				</template> | 				</template> | ||||||
| 			</XDraggable> | 			</XDraggable> | ||||||
| 
 | 
 | ||||||
| 			<MkButton @click="addVariable()" class="add" v-if="!readonly"><Fa :icon="faPlus"/></MkButton> | 			<MkButton @click="addVariable()" class="add" v-if="!readonly"><span class="_i round">add</span></MkButton> | ||||||
| 		</div> | 		</div> | ||||||
| 	</MkContainer> | 	</MkContainer> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -14,7 +14,7 @@ | ||||||
| 		</div> | 		</div> | ||||||
| 
 | 
 | ||||||
| 		<div class="rknalgpo _content my" v-if="tab === 'my'"> | 		<div class="rknalgpo _content my" v-if="tab === 'my'"> | ||||||
| 			<MkButton class="new" @click="create()"><Fa :icon="faPlus"/></MkButton> | 			<MkButton class="new" @click="create()"><span class="_i round">add</span></MkButton> | ||||||
| 			<MkPagination :pagination="myPagesPagination" #default="{items}"> | 			<MkPagination :pagination="myPagesPagination" #default="{items}"> | ||||||
| 				<MkPagePreview v-for="page in items" class="ckltabjg" :page="page" :key="page.id"/> | 				<MkPagePreview v-for="page in items" class="ckltabjg" :page="page" :key="page.id"/> | ||||||
| 			</MkPagination> | 			</MkPagination> | ||||||
|  |  | ||||||
|  | @ -10,7 +10,7 @@ | ||||||
| 	</FormGroup> | 	</FormGroup> | ||||||
| 
 | 
 | ||||||
| 	<FormLink to="/settings/email/notification"> | 	<FormLink to="/settings/email/notification"> | ||||||
| 		<template #icon><Fa :icon="faBell"/></template> | 		<template #icon><span class="_i round">notifications</span></template> | ||||||
| 		{{ $ts.emailNotification }} | 		{{ $ts.emailNotification }} | ||||||
| 	</FormLink> | 	</FormLink> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -8,7 +8,7 @@ | ||||||
| 				<FormLink :active="page === 'privacy'" replace to="/settings/privacy"><template #icon><Fa :icon="faLockOpen"/></template>{{ $ts.privacy }}</FormLink> | 				<FormLink :active="page === 'privacy'" replace to="/settings/privacy"><template #icon><Fa :icon="faLockOpen"/></template>{{ $ts.privacy }}</FormLink> | ||||||
| 				<FormLink :active="page === 'reaction'" replace to="/settings/reaction"><template #icon><Fa :icon="faLaugh"/></template>{{ $ts.reaction }}</FormLink> | 				<FormLink :active="page === 'reaction'" replace to="/settings/reaction"><template #icon><Fa :icon="faLaugh"/></template>{{ $ts.reaction }}</FormLink> | ||||||
| 				<FormLink :active="page === 'drive'" replace to="/settings/drive"><template #icon><Fa :icon="faCloud"/></template>{{ $ts.drive }}</FormLink> | 				<FormLink :active="page === 'drive'" replace to="/settings/drive"><template #icon><Fa :icon="faCloud"/></template>{{ $ts.drive }}</FormLink> | ||||||
| 				<FormLink :active="page === 'notifications'" replace to="/settings/notifications"><template #icon><Fa :icon="faBell"/></template>{{ $ts.notifications }}</FormLink> | 				<FormLink :active="page === 'notifications'" replace to="/settings/notifications"><template #icon><span class="_i round">notifications</span></template>{{ $ts.notifications }}</FormLink> | ||||||
| 				<FormLink :active="page === 'email'" replace to="/settings/email"><template #icon><Fa :icon="faEnvelope"/></template>{{ $ts.email }}</FormLink> | 				<FormLink :active="page === 'email'" replace to="/settings/email"><template #icon><Fa :icon="faEnvelope"/></template>{{ $ts.email }}</FormLink> | ||||||
| 				<FormLink :active="page === 'integration'" replace to="/settings/integration"><template #icon><Fa :icon="faShareAlt"/></template>{{ $ts.integration }}</FormLink> | 				<FormLink :active="page === 'integration'" replace to="/settings/integration"><template #icon><Fa :icon="faShareAlt"/></template>{{ $ts.integration }}</FormLink> | ||||||
| 				<FormLink :active="page === 'security'" replace to="/settings/security"><template #icon><Fa :icon="faLock"/></template>{{ $ts.security }}</FormLink> | 				<FormLink :active="page === 'security'" replace to="/settings/security"><template #icon><Fa :icon="faLock"/></template>{{ $ts.security }}</FormLink> | ||||||
|  | @ -27,7 +27,7 @@ | ||||||
| 				<FormLink :active="page === 'mute-block'" replace to="/settings/mute-block"><template #icon><Fa :icon="faBan"/></template>{{ $ts.muteAndBlock }}</FormLink> | 				<FormLink :active="page === 'mute-block'" replace to="/settings/mute-block"><template #icon><Fa :icon="faBan"/></template>{{ $ts.muteAndBlock }}</FormLink> | ||||||
| 				<FormLink :active="page === 'word-mute'" replace to="/settings/word-mute"><template #icon><Fa :icon="faCommentSlash"/></template>{{ $ts.wordMute }}</FormLink> | 				<FormLink :active="page === 'word-mute'" replace to="/settings/word-mute"><template #icon><Fa :icon="faCommentSlash"/></template>{{ $ts.wordMute }}</FormLink> | ||||||
| 				<FormLink :active="page === 'api'" replace to="/settings/api"><template #icon><Fa :icon="faKey"/></template>API</FormLink> | 				<FormLink :active="page === 'api'" replace to="/settings/api"><template #icon><Fa :icon="faKey"/></template>API</FormLink> | ||||||
| 				<FormLink :active="page === 'other'" replace to="/settings/other"><template #icon><Fa :icon="faEllipsisH"/></template>{{ $ts.other }}</FormLink> | 				<FormLink :active="page === 'other'" replace to="/settings/other"><template #icon><span class="_i round">more_horiz</span></template>{{ $ts.other }}</FormLink> | ||||||
| 			</FormGroup> | 			</FormGroup> | ||||||
| 			<FormGroup> | 			<FormGroup> | ||||||
| 				<FormButton @click="clear">{{ $ts.clearCache }}</FormButton> | 				<FormButton @click="clear">{{ $ts.clearCache }}</FormButton> | ||||||
|  |  | ||||||
|  | @ -22,7 +22,7 @@ | ||||||
| 		</div> | 		</div> | ||||||
| 		<div class="_formItem"> | 		<div class="_formItem"> | ||||||
| 			<div class="_formPanel" style="padding: 16px;"> | 			<div class="_formPanel" style="padding: 16px;"> | ||||||
| 				<MkButton @click="config(plugin)" inline v-if="plugin.config"><Fa :icon="faCog"/> {{ $ts.settings }}</MkButton> | 				<MkButton @click="config(plugin)" inline v-if="plugin.config"><span class="_i round">settings</span> {{ $ts.settings }}</MkButton> | ||||||
| 				<MkButton @click="uninstall(plugin)" inline danger><Fa :icon="faTrashAlt"/> {{ $ts.uninstall }}</MkButton> | 				<MkButton @click="uninstall(plugin)" inline danger><Fa :icon="faTrashAlt"/> {{ $ts.uninstall }}</MkButton> | ||||||
| 			</div> | 			</div> | ||||||
| 		</div> | 		</div> | ||||||
|  |  | ||||||
|  | @ -10,7 +10,7 @@ | ||||||
| 					</button> | 					</button> | ||||||
| 				</template> | 				</template> | ||||||
| 				<template #footer> | 				<template #footer> | ||||||
| 					<button class="_button add" @click="chooseEmoji"><Fa :icon="faPlus"/></button> | 					<button class="_button add" @click="chooseEmoji"><span class="_i round">add</span></button> | ||||||
| 				</template> | 				</template> | ||||||
| 			</XDraggable> | 			</XDraggable> | ||||||
| 		</div> | 		</div> | ||||||
|  |  | ||||||
|  | @ -4,10 +4,10 @@ | ||||||
| 	<XPostForm v-if="$store.reactiveState.showFixedPostForm.value" class="post-form _block" fixed/> | 	<XPostForm v-if="$store.reactiveState.showFixedPostForm.value" class="post-form _block" fixed/> | ||||||
| 	<div class="tabs _block"> | 	<div class="tabs _block"> | ||||||
| 		<div class="left"> | 		<div class="left"> | ||||||
| 			<button class="_button tab" @click="() => { src = 'home'; saveSrc(); }" :class="{ active: src === 'home' }" v-tooltip="$ts._timelines.home"><Fa :icon="faHome"/></button> | 			<button class="_button tab" @click="() => { src = 'home'; saveSrc(); }" :class="{ active: src === 'home' }" v-tooltip="$ts._timelines.home"><span class="_i round">home</span></button> | ||||||
| 			<button class="_button tab" @click="() => { src = 'local'; saveSrc(); }" :class="{ active: src === 'local' }" v-tooltip="$ts._timelines.local" v-if="isLocalTimelineAvailable"><Fa :icon="faComments"/></button> | 			<button class="_button tab" @click="() => { src = 'local'; saveSrc(); }" :class="{ active: src === 'local' }" v-tooltip="$ts._timelines.local" v-if="isLocalTimelineAvailable"><span class="_i round">forum</span></button> | ||||||
| 			<button class="_button tab" @click="() => { src = 'social'; saveSrc(); }" :class="{ active: src === 'social' }" v-tooltip="$ts._timelines.social" v-if="isLocalTimelineAvailable"><Fa :icon="faShareAlt"/></button> | 			<button class="_button tab" @click="() => { src = 'social'; saveSrc(); }" :class="{ active: src === 'social' }" v-tooltip="$ts._timelines.social" v-if="isLocalTimelineAvailable"><span class="_i round">share</span></button> | ||||||
| 			<button class="_button tab" @click="() => { src = 'global'; saveSrc(); }" :class="{ active: src === 'global' }" v-tooltip="$ts._timelines.global" v-if="isGlobalTimelineAvailable"><Fa :icon="faGlobe"/></button> | 			<button class="_button tab" @click="() => { src = 'global'; saveSrc(); }" :class="{ active: src === 'global' }" v-tooltip="$ts._timelines.global" v-if="isGlobalTimelineAvailable"><span class="_i round">public</span></button> | ||||||
| 			<span class="divider"></span> | 			<span class="divider"></span> | ||||||
| 			<button class="_button tab" @click="() => { src = 'mentions'; saveSrc(); }" :class="{ active: src === 'mentions' }" v-tooltip="$ts.mentions"><Fa :icon="faAt"/><Fa :icon="faCircle" class="i" v-if="$i.hasUnreadMentions"/></button> | 			<button class="_button tab" @click="() => { src = 'mentions'; saveSrc(); }" :class="{ active: src === 'mentions' }" v-tooltip="$ts.mentions"><Fa :icon="faAt"/><Fa :icon="faCircle" class="i" v-if="$i.hasUnreadMentions"/></button> | ||||||
| 			<button class="_button tab" @click="() => { src = 'directs'; saveSrc(); }" :class="{ active: src === 'directs' }" v-tooltip="$ts.directNotes"><Fa :icon="faEnvelope"/><Fa :icon="faCircle" class="i" v-if="$i.hasUnreadSpecifiedNotes"/></button> | 			<button class="_button tab" @click="() => { src = 'directs'; saveSrc(); }" :class="{ active: src === 'directs' }" v-tooltip="$ts.directNotes"><Fa :icon="faEnvelope"/><Fa :icon="faCircle" class="i" v-if="$i.hasUnreadSpecifiedNotes"/></button> | ||||||
|  |  | ||||||
|  | @ -74,7 +74,7 @@ | ||||||
| 						<span>{{ $ts.pages }}</span> | 						<span>{{ $ts.pages }}</span> | ||||||
| 					</MkA> | 					</MkA> | ||||||
| 					<div class="actions"> | 					<div class="actions"> | ||||||
| 						<button @click="menu" class="menu _button"><Fa :icon="faEllipsisH"/></button> | 						<button @click="menu" class="menu _button"><span class="_i round">more_horiz</span></button> | ||||||
| 						<MkFollowButton v-if="!$i || $i.id != user.id" :user="user" :inline="true" :transparent="false" :full="true" large class="koudoku"/> | 						<MkFollowButton v-if="!$i || $i.id != user.id" :user="user" :inline="true" :transparent="false" :full="true" large class="koudoku"/> | ||||||
| 					</div> | 					</div> | ||||||
| 				</div> | 				</div> | ||||||
|  | @ -117,7 +117,7 @@ | ||||||
| 					</div> | 					</div> | ||||||
| 					<span class="followed" v-if="$i && $i.id != user.id && user.isFollowed">{{ $ts.followsYou }}</span> | 					<span class="followed" v-if="$i && $i.id != user.id && user.isFollowed">{{ $ts.followsYou }}</span> | ||||||
| 					<div class="actions" v-if="$i"> | 					<div class="actions" v-if="$i"> | ||||||
| 						<button @click="menu" class="menu _button"><Fa :icon="faEllipsisH"/></button> | 						<button @click="menu" class="menu _button"><span class="_i round">more_horiz</span></button> | ||||||
| 						<MkFollowButton v-if="$i.id != user.id" :user="user" :inline="true" :transparent="false" :full="true" class="koudoku"/> | 						<MkFollowButton v-if="$i.id != user.id" :user="user" :inline="true" :transparent="false" :full="true" class="koudoku"/> | ||||||
| 					</div> | 					</div> | ||||||
| 				</div> | 				</div> | ||||||
|  |  | ||||||
|  | @ -43,7 +43,7 @@ | ||||||
| 						<template #n><b>{{ onlineUsersCount }}</b></template> | 						<template #n><b>{{ onlineUsersCount }}</b></template> | ||||||
| 					</I18n> | 					</I18n> | ||||||
| 				</div> | 				</div> | ||||||
| 				<button class="_button _acrylic menu" @click="showMenu"><Fa :icon="faEllipsisH"/></button> | 				<button class="_button _acrylic menu" @click="showMenu"><span class="_i round">more_horiz</span></button> | ||||||
| 			</div> | 			</div> | ||||||
| 		</div> | 		</div> | ||||||
| 	</div> | 	</div> | ||||||
|  |  | ||||||
|  | @ -40,7 +40,7 @@ | ||||||
| 							<template #n><b>{{ onlineUsersCount }}</b></template> | 							<template #n><b>{{ onlineUsersCount }}</b></template> | ||||||
| 						</I18n> | 						</I18n> | ||||||
| 					</div> | 					</div> | ||||||
| 					<button class="_button _acrylic menu" @click="showMenu"><Fa :icon="faEllipsisH"/></button> | 					<button class="_button _acrylic menu" @click="showMenu"><span class="_i round">more_horiz</span></button> | ||||||
| 				</div> | 				</div> | ||||||
| 			</div> | 			</div> | ||||||
| 			<nav class="nav"> | 			<nav class="nav"> | ||||||
|  |  | ||||||
|  | @ -253,6 +253,28 @@ hr { | ||||||
| 	margin: var(--margin) 0; | 	margin: var(--margin) 0; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | ._i { | ||||||
|  | 	font-family: 'Material Icons'; | ||||||
|  | 
 | ||||||
|  | 	&.round { | ||||||
|  | 		font-family: 'Material Icons Round'; | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	font-weight: normal; | ||||||
|  | 	font-style: normal; | ||||||
|  | 	font-size: 130%; | ||||||
|  | 	line-height: 1; | ||||||
|  | 	letter-spacing: normal; | ||||||
|  | 	text-transform: none; | ||||||
|  | 	display: inline-block; | ||||||
|  | 	white-space: nowrap; | ||||||
|  | 	word-wrap: normal; | ||||||
|  | 	vertical-align: middle; | ||||||
|  | 	direction: ltr; | ||||||
|  | 	-webkit-font-feature-settings: 'liga'; | ||||||
|  | 	-webkit-font-smoothing: antialiased; | ||||||
|  | } | ||||||
|  | 
 | ||||||
| ._card { | ._card { | ||||||
| 	@extend ._panel; | 	@extend ._panel; | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -16,7 +16,7 @@ | ||||||
| 			<template v-if="info.actions && showActions"> | 			<template v-if="info.actions && showActions"> | ||||||
| 				<button v-for="action in info.actions" class="_button button" @click.stop="action.handler" v-tooltip="action.text"><Fa :icon="action.icon"/></button> | 				<button v-for="action in info.actions" class="_button button" @click.stop="action.handler" v-tooltip="action.text"><Fa :icon="action.icon"/></button> | ||||||
| 			</template> | 			</template> | ||||||
| 			<button v-if="showMenu" class="_button button" @click.stop="menu"><Fa :icon="faEllipsisH"/></button> | 			<button v-if="showMenu" class="_button button" @click.stop="menu"><span class="_i round">more_horiz</span></button> | ||||||
| 		</div> | 		</div> | ||||||
| 	</template> | 	</template> | ||||||
| </div> | </div> | ||||||
|  |  | ||||||
|  | @ -27,25 +27,25 @@ | ||||||
| 				</div> | 				</div> | ||||||
| 			</div> | 			</div> | ||||||
| 			<div class="container" v-if="followedChannels"> | 			<div class="container" v-if="followedChannels"> | ||||||
| 				<div class="header">{{ $ts.channel }} ({{ $ts.following }})<button class="_button add" @click="addChannel"><Fa :icon="faPlus"/></button></div> | 				<div class="header">{{ $ts.channel }} ({{ $ts.following }})<button class="_button add" @click="addChannel"><span class="_i round">add</span></button></div> | ||||||
| 				<div class="body"> | 				<div class="body"> | ||||||
| 					<MkA v-for="channel in followedChannels" :key="channel.id" :to="`/channels/${ channel.id }`" class="item" :class="{ active: tl === `channel:${ channel.id }`, read: !channel.hasUnreadNote }"><Fa :icon="faSatelliteDish" class="icon"/>{{ channel.name }}</MkA> | 					<MkA v-for="channel in followedChannels" :key="channel.id" :to="`/channels/${ channel.id }`" class="item" :class="{ active: tl === `channel:${ channel.id }`, read: !channel.hasUnreadNote }"><Fa :icon="faSatelliteDish" class="icon"/>{{ channel.name }}</MkA> | ||||||
| 				</div> | 				</div> | ||||||
| 			</div> | 			</div> | ||||||
| 			<div class="container" v-if="featuredChannels"> | 			<div class="container" v-if="featuredChannels"> | ||||||
| 				<div class="header">{{ $ts.channel }}<button class="_button add" @click="addChannel"><Fa :icon="faPlus"/></button></div> | 				<div class="header">{{ $ts.channel }}<button class="_button add" @click="addChannel"><span class="_i round">add</span></button></div> | ||||||
| 				<div class="body"> | 				<div class="body"> | ||||||
| 					<MkA v-for="channel in featuredChannels" :key="channel.id" :to="`/channels/${ channel.id }`" class="item" :class="{ active: tl === `channel:${ channel.id }` }"><Fa :icon="faSatelliteDish" class="icon"/>{{ channel.name }}</MkA> | 					<MkA v-for="channel in featuredChannels" :key="channel.id" :to="`/channels/${ channel.id }`" class="item" :class="{ active: tl === `channel:${ channel.id }` }"><Fa :icon="faSatelliteDish" class="icon"/>{{ channel.name }}</MkA> | ||||||
| 				</div> | 				</div> | ||||||
| 			</div> | 			</div> | ||||||
| 			<div class="container" v-if="lists"> | 			<div class="container" v-if="lists"> | ||||||
| 				<div class="header">{{ $ts.lists }}<button class="_button add" @click="addList"><Fa :icon="faPlus"/></button></div> | 				<div class="header">{{ $ts.lists }}<button class="_button add" @click="addList"><span class="_i round">add</span></button></div> | ||||||
| 				<div class="body"> | 				<div class="body"> | ||||||
| 					<MkA v-for="list in lists" :key="list.id" :to="`/my/list/${ list.id }`" class="item" :class="{ active: tl === `list:${ list.id }` }"><Fa :icon="faListUl" class="icon"/>{{ list.name }}</MkA> | 					<MkA v-for="list in lists" :key="list.id" :to="`/my/list/${ list.id }`" class="item" :class="{ active: tl === `list:${ list.id }` }"><Fa :icon="faListUl" class="icon"/>{{ list.name }}</MkA> | ||||||
| 				</div> | 				</div> | ||||||
| 			</div> | 			</div> | ||||||
| 			<div class="container" v-if="antennas"> | 			<div class="container" v-if="antennas"> | ||||||
| 				<div class="header">{{ $ts.antennas }}<button class="_button add" @click="addAntenna"><Fa :icon="faPlus"/></button></div> | 				<div class="header">{{ $ts.antennas }}<button class="_button add" @click="addAntenna"><span class="_i round">add</span></button></div> | ||||||
| 				<div class="body"> | 				<div class="body"> | ||||||
| 					<MkA v-for="antenna in antennas" :key="antenna.id" :to="`/my/antenna/${ antenna.id }`" class="item" :class="{ active: tl === `antenna:${ antenna.id }` }"><Fa :icon="faSatellite" class="icon"/>{{ antenna.name }}</MkA> | 					<MkA v-for="antenna in antennas" :key="antenna.id" :to="`/my/antenna/${ antenna.id }`" class="item" :class="{ active: tl === `antenna:${ antenna.id }` }"><Fa :icon="faSatellite" class="icon"/>{{ antenna.name }}</MkA> | ||||||
| 				</div> | 				</div> | ||||||
|  | @ -113,7 +113,7 @@ | ||||||
| 					<Fa v-else :icon="farStar"/> | 					<Fa v-else :icon="farStar"/> | ||||||
| 				</button> | 				</button> | ||||||
| 				<button class="_button button menu" v-if="tl.startsWith('channel:') && currentChannel" @click="openChannelMenu"> | 				<button class="_button button menu" v-if="tl.startsWith('channel:') && currentChannel" @click="openChannelMenu"> | ||||||
| 					<Fa :icon="faEllipsisH"/> | 					<span class="_i round">more_horiz</span> | ||||||
| 				</button> | 				</button> | ||||||
| 			</div> | 			</div> | ||||||
| 		</header> | 		</header> | ||||||
|  |  | ||||||
|  | @ -13,7 +13,7 @@ | ||||||
| 	<div class="info" v-if="appearNote._featuredId_"><Fa :icon="faBolt"/> {{ $ts.featured }}</div> | 	<div class="info" v-if="appearNote._featuredId_"><Fa :icon="faBolt"/> {{ $ts.featured }}</div> | ||||||
| 	<div class="renote" v-if="isRenote"> | 	<div class="renote" v-if="isRenote"> | ||||||
| 		<MkAvatar class="avatar" :user="note.user"/> | 		<MkAvatar class="avatar" :user="note.user"/> | ||||||
| 		<Fa :icon="faRetweet"/> | 		<span class="_i round">repeat</span> | ||||||
| 		<I18n :src="$ts.renotedBy" tag="span"> | 		<I18n :src="$ts.renotedBy" tag="span"> | ||||||
| 			<template #user> | 			<template #user> | ||||||
| 				<MkA class="name" :to="userPage(note.user)" v-user-preview="note.userId"> | 				<MkA class="name" :to="userPage(note.user)" v-user-preview="note.userId"> | ||||||
|  | @ -47,7 +47,7 @@ | ||||||
| 				<div class="content" :class="{ collapsed }" v-show="appearNote.cw == null || showContent"> | 				<div class="content" :class="{ collapsed }" v-show="appearNote.cw == null || showContent"> | ||||||
| 					<div class="text"> | 					<div class="text"> | ||||||
| 						<span v-if="appearNote.isHidden" style="opacity: 0.5">({{ $ts.private }})</span> | 						<span v-if="appearNote.isHidden" style="opacity: 0.5">({{ $ts.private }})</span> | ||||||
| 						<MkA class="reply" v-if="appearNote.replyId" :to="`/notes/${appearNote.replyId}`"><Fa :icon="faReply"/></MkA> | 						<MkA class="reply" v-if="appearNote.replyId" :to="`/notes/${appearNote.replyId}`"><span class="_i round">reply</span></MkA> | ||||||
| 						<Mfm v-if="appearNote.text" :text="appearNote.text" :author="appearNote.user" :i="$i" :custom-emojis="appearNote.emojis"/> | 						<Mfm v-if="appearNote.text" :text="appearNote.text" :author="appearNote.user" :i="$i" :custom-emojis="appearNote.emojis"/> | ||||||
| 						<a class="rp" v-if="appearNote.renote != null">RN:</a> | 						<a class="rp" v-if="appearNote.renote != null">RN:</a> | ||||||
| 					</div> | 					</div> | ||||||
|  | @ -67,23 +67,23 @@ | ||||||
| 			<footer class="footer _panel"> | 			<footer class="footer _panel"> | ||||||
| 				<button @click="reply()" class="button _button" v-tooltip="$ts.reply"> | 				<button @click="reply()" class="button _button" v-tooltip="$ts.reply"> | ||||||
| 					<template v-if="appearNote.reply"><Fa :icon="faReplyAll"/></template> | 					<template v-if="appearNote.reply"><Fa :icon="faReplyAll"/></template> | ||||||
| 					<template v-else><Fa :icon="faReply"/></template> | 					<template v-else><span class="_i round">reply</span></template> | ||||||
| 					<p class="count" v-if="appearNote.repliesCount > 0">{{ appearNote.repliesCount }}</p> | 					<p class="count" v-if="appearNote.repliesCount > 0">{{ appearNote.repliesCount }}</p> | ||||||
| 				</button> | 				</button> | ||||||
| 				<button v-if="canRenote" @click="renote()" class="button _button" ref="renoteButton" v-tooltip="$ts.renote"> | 				<button v-if="canRenote" @click="renote()" class="button _button" ref="renoteButton" v-tooltip="$ts.renote"> | ||||||
| 					<Fa :icon="faRetweet"/><p class="count" v-if="appearNote.renoteCount > 0">{{ appearNote.renoteCount }}</p> | 					<span class="_i round">repeat</span><p class="count" v-if="appearNote.renoteCount > 0">{{ appearNote.renoteCount }}</p> | ||||||
| 				</button> | 				</button> | ||||||
| 				<button v-else class="button _button"> | 				<button v-else class="button _button"> | ||||||
| 					<Fa :icon="faBan"/> | 					<Fa :icon="faBan"/> | ||||||
| 				</button> | 				</button> | ||||||
| 				<button v-if="appearNote.myReaction == null" class="button _button" @click="react()" ref="reactButton" v-tooltip="$ts.reaction"> | 				<button v-if="appearNote.myReaction == null" class="button _button" @click="react()" ref="reactButton" v-tooltip="$ts.reaction"> | ||||||
| 					<Fa :icon="faPlus"/> | 					<span class="_i round">add</span> | ||||||
| 				</button> | 				</button> | ||||||
| 				<button v-if="appearNote.myReaction != null" class="button _button reacted" @click="undoReact(appearNote)" ref="reactButton" v-tooltip="$ts.reaction"> | 				<button v-if="appearNote.myReaction != null" class="button _button reacted" @click="undoReact(appearNote)" ref="reactButton" v-tooltip="$ts.reaction"> | ||||||
| 					<Fa :icon="faMinus"/> | 					<span class="_i round">remove</span> | ||||||
| 				</button> | 				</button> | ||||||
| 				<button class="button _button" @click="menu()" ref="menuButton"> | 				<button class="button _button" @click="menu()" ref="menuButton"> | ||||||
| 					<Fa :icon="faEllipsisH"/> | 					<span class="_i round">more_horiz</span> | ||||||
| 				</button> | 				</button> | ||||||
| 			</footer> | 			</footer> | ||||||
| 		</div> | 		</div> | ||||||
|  |  | ||||||
|  | @ -3,7 +3,7 @@ | ||||||
| 	<div class="body"> | 	<div class="body"> | ||||||
| 		<span v-if="note.isHidden" style="opacity: 0.5">({{ $ts.private }})</span> | 		<span v-if="note.isHidden" style="opacity: 0.5">({{ $ts.private }})</span> | ||||||
| 		<span v-if="note.deletedAt" style="opacity: 0.5">({{ $ts.deleted }})</span> | 		<span v-if="note.deletedAt" style="opacity: 0.5">({{ $ts.deleted }})</span> | ||||||
| 		<MkA class="reply" v-if="note.replyId" :to="`/notes/${note.replyId}`"><Fa :icon="faReply"/></MkA> | 		<MkA class="reply" v-if="note.replyId" :to="`/notes/${note.replyId}`"><span class="_i round">reply</span></MkA> | ||||||
| 		<Mfm v-if="note.text" :text="note.text" :author="note.user" :i="$i" :custom-emojis="note.emojis"/> | 		<Mfm v-if="note.text" :text="note.text" :author="note.user" :i="$i" :custom-emojis="note.emojis"/> | ||||||
| 		<MkA class="rp" v-if="note.renoteId" :to="`/notes/${note.renoteId}`">RN: ...</MkA> | 		<MkA class="rp" v-if="note.renoteId" :to="`/notes/${note.renoteId}`">RN: ...</MkA> | ||||||
| 	</div> | 	</div> | ||||||
|  |  | ||||||
|  | @ -28,7 +28,7 @@ | ||||||
| 	<div class="buttons" v-if="isMobile"> | 	<div class="buttons" v-if="isMobile"> | ||||||
| 		<button class="button nav _button" @click="showDrawerNav" ref="navButton"><Fa :icon="faBars"/><i v-if="navIndicated"><Fa :icon="faCircle"/></i></button> | 		<button class="button nav _button" @click="showDrawerNav" ref="navButton"><Fa :icon="faBars"/><i v-if="navIndicated"><Fa :icon="faCircle"/></i></button> | ||||||
| 		<button class="button home _button" @click="$route.name === 'index' ? top() : $router.push('/')"><Fa :icon="faHome"/></button> | 		<button class="button home _button" @click="$route.name === 'index' ? top() : $router.push('/')"><Fa :icon="faHome"/></button> | ||||||
| 		<button class="button notifications _button" @click="$router.push('/my/notifications')"><Fa :icon="faBell"/><i v-if="$i.hasUnreadNotification"><Fa :icon="faCircle"/></i></button> | 		<button class="button notifications _button" @click="$router.push('/my/notifications')"><span class="_i round">notifications</span><i v-if="$i.hasUnreadNotification"><Fa :icon="faCircle"/></i></button> | ||||||
| 		<button class="button widget _button" @click="widgetsShowing = true"><Fa :icon="faLayerGroup"/></button> | 		<button class="button widget _button" @click="widgetsShowing = true"><Fa :icon="faLayerGroup"/></button> | ||||||
| 		<button class="button post _button" @click="post"><Fa :icon="faPencilAlt"/></button> | 		<button class="button post _button" @click="post"><Fa :icon="faPencilAlt"/></button> | ||||||
| 	</div> | 	</div> | ||||||
|  |  | ||||||
|  | @ -29,7 +29,7 @@ | ||||||
| 	<div class="buttons" :class="{ navHidden }"> | 	<div class="buttons" :class="{ navHidden }"> | ||||||
| 		<button class="button nav _button" @click="showNav" ref="navButton"><Fa :icon="faBars"/><i v-if="navIndicated"><Fa :icon="faCircle"/></i></button> | 		<button class="button nav _button" @click="showNav" ref="navButton"><Fa :icon="faBars"/><i v-if="navIndicated"><Fa :icon="faCircle"/></i></button> | ||||||
| 		<button class="button home _button" @click="$route.name === 'index' ? top() : $router.push('/')"><Fa :icon="faHome"/></button> | 		<button class="button home _button" @click="$route.name === 'index' ? top() : $router.push('/')"><Fa :icon="faHome"/></button> | ||||||
| 		<button class="button notifications _button" @click="$router.push('/my/notifications')"><Fa :icon="faBell"/><i v-if="$i.hasUnreadNotification"><Fa :icon="faCircle"/></i></button> | 		<button class="button notifications _button" @click="$router.push('/my/notifications')"><span class="_i round">notifications</span><i v-if="$i.hasUnreadNotification"><Fa :icon="faCircle"/></i></button> | ||||||
| 		<button class="button widget _button" @click="widgetsShowing = true"><Fa :icon="faLayerGroup"/></button> | 		<button class="button widget _button" @click="widgetsShowing = true"><Fa :icon="faLayerGroup"/></button> | ||||||
| 		<button class="button post _button" @click="post"><Fa :icon="faPencilAlt"/></button> | 		<button class="button post _button" @click="post"><Fa :icon="faPencilAlt"/></button> | ||||||
| 	</div> | 	</div> | ||||||
|  |  | ||||||
|  | @ -1,7 +1,7 @@ | ||||||
| <template> | <template> | ||||||
| <MkContainer :show-header="props.showHeader" :naked="props.transparent"> | <MkContainer :show-header="props.showHeader" :naked="props.transparent"> | ||||||
| 	<template #header><Fa :icon="faChartBar"/>{{ $ts._widgets.activity }}</template> | 	<template #header><Fa :icon="faChartBar"/>{{ $ts._widgets.activity }}</template> | ||||||
| 	<template #func><button @click="toggleView()" class="_button"><Fa :icon="faSort"/></button></template> | 	<template #func><button @click="toggleView()" class="_button"><span class="_i round">switch_left</span></button></template> | ||||||
| 
 | 
 | ||||||
| 	<div> | 	<div> | ||||||
| 		<MkLoading v-if="fetching"/> | 		<MkLoading v-if="fetching"/> | ||||||
|  |  | ||||||
|  | @ -1,7 +1,7 @@ | ||||||
| <template> | <template> | ||||||
| <MkContainer :style="`height: ${props.height}px;`" :show-header="props.showHeader" :scrollable="true"> | <MkContainer :style="`height: ${props.height}px;`" :show-header="props.showHeader" :scrollable="true"> | ||||||
| 	<template #header><Fa :icon="faBell"/>{{ $ts.notifications }}</template> | 	<template #header><span class="_i round">notifications</span>{{ $ts.notifications }}</template> | ||||||
| 	<template #func><button @click="configure()" class="_button"><Fa :icon="faCog"/></button></template> | 	<template #func><button @click="configure()" class="_button"><span class="_i round">settings</span></button></template> | ||||||
| 
 | 
 | ||||||
| 	<div class="_flat_"> | 	<div class="_flat_"> | ||||||
| 		<XNotifications :include-types="props.includingTypes"/> | 		<XNotifications :include-types="props.includingTypes"/> | ||||||
|  |  | ||||||
|  | @ -1,7 +1,7 @@ | ||||||
| <template> | <template> | ||||||
| <MkContainer :show-header="props.showHeader"> | <MkContainer :show-header="props.showHeader"> | ||||||
| 	<template #header><Fa :icon="faRssSquare"/>RSS</template> | 	<template #header><Fa :icon="faRssSquare"/>RSS</template> | ||||||
| 	<template #func><button class="_button" @click="setting"><Fa :icon="faCog"/></button></template> | 	<template #func><button class="_button" @click="setting"><span class="_i round">settings</span></button></template> | ||||||
| 
 | 
 | ||||||
| 	<div class="ekmkgxbj"> | 	<div class="ekmkgxbj"> | ||||||
| 		<MkLoading v-if="fetching"/> | 		<MkLoading v-if="fetching"/> | ||||||
|  |  | ||||||
|  | @ -1,7 +1,7 @@ | ||||||
| <template> | <template> | ||||||
| <MkContainer :show-header="props.showHeader" :naked="props.transparent"> | <MkContainer :show-header="props.showHeader" :naked="props.transparent"> | ||||||
| 	<template #header><Fa :icon="faServer"/>{{ $ts._widgets.serverMetric }}</template> | 	<template #header><Fa :icon="faServer"/>{{ $ts._widgets.serverMetric }}</template> | ||||||
| 	<template #func><button @click="toggleView()" class="_button"><Fa :icon="faSort"/></button></template> | 	<template #func><button @click="toggleView()" class="_button"><span class="_i round">switch_left</span></button></template> | ||||||
| 
 | 
 | ||||||
| 	<div class="mkw-serverMetric" v-if="meta"> | 	<div class="mkw-serverMetric" v-if="meta"> | ||||||
| 		<XCpuMemory v-if="props.view === 0" :connection="connection" :meta="meta"/> | 		<XCpuMemory v-if="props.view === 0" :connection="connection" :meta="meta"/> | ||||||
|  |  | ||||||
|  | @ -22,6 +22,7 @@ html | ||||||
| 		link(rel='prefetch' href='https://xn--931a.moe/assets/info.jpg') | 		link(rel='prefetch' href='https://xn--931a.moe/assets/info.jpg') | ||||||
| 		link(rel='prefetch' href='https://xn--931a.moe/assets/not-found.jpg') | 		link(rel='prefetch' href='https://xn--931a.moe/assets/not-found.jpg') | ||||||
| 		link(rel='prefetch' href='https://xn--931a.moe/assets/error.jpg') | 		link(rel='prefetch' href='https://xn--931a.moe/assets/error.jpg') | ||||||
|  | 		link(rel='stylesheet' href='https://fonts.googleapis.com/icon?family=Material+Icons|Material+Icons+Round') | ||||||
| 
 | 
 | ||||||
| 		title | 		title | ||||||
| 			block title | 			block title | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue