This commit is contained in:
syuilo 2020-02-16 22:46:51 +09:00
parent 091923764d
commit 9cbfdc94d9
9 changed files with 9 additions and 9 deletions

View file

@ -2,7 +2,7 @@
<div class="swhvrteh" @contextmenu.prevent="() => {}"> <div class="swhvrteh" @contextmenu.prevent="() => {}">
<ol class="users" ref="suggests" v-if="type === 'user'"> <ol class="users" ref="suggests" v-if="type === 'user'">
<li v-for="user in users" @click="complete(type, user)" @keydown="onKeydown" tabindex="-1" class="user"> <li v-for="user in users" @click="complete(type, user)" @keydown="onKeydown" tabindex="-1" class="user">
<img class="avatar" :src="user.avatarUrl" alt=""/> <img class="avatar" :src="user.avatarUrl"/>
<span class="name"> <span class="name">
<mk-user-name :user="user" :key="user.id"/> <mk-user-name :user="user" :key="user.id"/>
</span> </span>

View file

@ -12,7 +12,7 @@
preload="metadata" preload="metadata"
controls controls
v-else-if="detail && is === 'video'"/> v-else-if="detail && is === 'video'"/>
<img :src="file.thumbnailUrl" alt="" @load="onThumbnailLoaded" :style="`object-fit: ${ fit }`" v-else-if="isThumbnailAvailable"/> <img :src="file.thumbnailUrl" @load="onThumbnailLoaded" :style="`object-fit: ${ fit }`" v-else-if="isThumbnailAvailable"/>
<fa :icon="faFileImage" class="icon" v-else-if="is === 'image'"/> <fa :icon="faFileImage" class="icon" v-else-if="is === 'image'"/>
<fa :icon="faFileVideo" class="icon" v-else-if="is === 'video'"/> <fa :icon="faFileVideo" class="icon" v-else-if="is === 'video'"/>

View file

@ -1,6 +1,6 @@
<template> <template>
<div class="mjndxjcg _panel"> <div class="mjndxjcg _panel">
<img src="https://xn--931a.moe/assets/error.png" alt="" class="_ghost"/> <img src="https://xn--931a.moe/assets/error.png" class="_ghost"/>
<p><fa :icon="faExclamationTriangle"/> {{ $t('error') }}</p> <p><fa :icon="faExclamationTriangle"/> {{ $t('error') }}</p>
<mk-button @click="() => $emit('retry')" class="button">{{ $t('retry') }}</mk-button> <mk-button @click="() => $emit('retry')" class="button">{{ $t('retry') }}</mk-button>
</div> </div>

View file

@ -1,7 +1,7 @@
<template> <template>
<div class="mk-notes" v-size="[{ max: 500 }]"> <div class="mk-notes" v-size="[{ max: 500 }]">
<div class="empty" v-if="empty"> <div class="empty" v-if="empty">
<img src="https://xn--931a.moe/assets/info.png" alt="" class="_ghost"/> <img src="https://xn--931a.moe/assets/info.png" class="_ghost"/>
<div>{{ $t('noNotes') }}</div> <div>{{ $t('noNotes') }}</div>
</div> </div>

View file

@ -1,6 +1,6 @@
<template> <template>
<div class="lzyxtsnt"> <div class="lzyxtsnt">
<img v-if="image" :src="image.url" alt=""/> <img v-if="image" :src="image.url"/>
</div> </div>
</template> </template>

View file

@ -8,7 +8,7 @@
<div class="_title"><span v-if="$store.getters.isSignedIn && !announcement.isRead">🆕 </span>{{ announcement.title }}</div> <div class="_title"><span v-if="$store.getters.isSignedIn && !announcement.isRead">🆕 </span>{{ announcement.title }}</div>
<div class="_content"> <div class="_content">
<mfm :text="announcement.text"/> <mfm :text="announcement.text"/>
<img v-if="announcement.imageUrl" :src="announcement.imageUrl" alt=""/> <img v-if="announcement.imageUrl" :src="announcement.imageUrl"/>
</div> </div>
<div class="_footer" v-if="$store.getters.isSignedIn && !announcement.isRead"> <div class="_footer" v-if="$store.getters.isSignedIn && !announcement.isRead">
<mk-button @click="read(announcement)" primary><fa :icon="faCheck"/> {{ $t('gotIt') }}</mk-button> <mk-button @click="read(announcement)" primary><fa :icon="faCheck"/> {{ $t('gotIt') }}</mk-button>

View file

@ -6,7 +6,7 @@
<mk-pagination :pagination="pagination" class="mk-follow-requests" ref="list"> <mk-pagination :pagination="pagination" class="mk-follow-requests" ref="list">
<template #empty> <template #empty>
<div class="tkdrhpxr"> <div class="tkdrhpxr">
<img src="https://xn--931a.moe/assets/info.png" alt="" class="_ghost"/> <img src="https://xn--931a.moe/assets/info.png" class="_ghost"/>
<div>{{ $t('noFollowRequests') }}</div> <div>{{ $t('noFollowRequests') }}</div>
</div> </div>
</template> </template>

View file

@ -32,7 +32,7 @@
</router-link> </router-link>
</sequential-entrance> </sequential-entrance>
<div class="no-history" v-if="!fetching && messages.length == 0"> <div class="no-history" v-if="!fetching && messages.length == 0">
<img src="https://xn--931a.moe/assets/info.png" alt="" class="_ghost"/> <img src="https://xn--931a.moe/assets/info.png" class="_ghost"/>
<div>{{ $t('noHistory') }}</div> <div>{{ $t('noHistory') }}</div>
</div> </div>
<mk-loading v-if="fetching"/> <mk-loading v-if="fetching"/>

View file

@ -5,7 +5,7 @@
<section class="_card"> <section class="_card">
<div class="_content"> <div class="_content">
<img src="https://xn--931a.moe/assets/not-found.png" alt="" class="_ghost"/> <img src="https://xn--931a.moe/assets/not-found.png" class="_ghost"/>
<div>{{ $t('notFoundDescription') }}</div> <div>{{ $t('notFoundDescription') }}</div>
</div> </div>
</section> </section>