Merge remote-tracking branch 'thatonecalculator/self-host-images' into develop

This commit is contained in:
ThatOneCalculator 2022-07-18 20:34:37 -07:00
commit 4bfc6f2457
16 changed files with 37 additions and 40 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

View file

@ -31,9 +31,9 @@ html
link(rel='icon' href= icon || '/favicon.ico') link(rel='icon' href= icon || '/favicon.ico')
link(rel='apple-touch-icon' href= icon || '/apple-touch-icon.png') link(rel='apple-touch-icon' href= icon || '/apple-touch-icon.png')
link(rel='manifest' href='/manifest.json') link(rel='manifest' href='/manifest.json')
link(rel='prefetch' href='https://xn--931a.moe/assets/info.jpg') link(rel='prefetch' href='/static-assets/badges/info.jpg')
link(rel='prefetch' href='https://xn--931a.moe/assets/not-found.jpg') link(rel='prefetch' href='/static-assets/badges/not-found.jpg')
link(rel='prefetch' href='https://xn--931a.moe/assets/error.jpg') link(rel='prefetch' href='/static-assets/badges/error.jpg')
link(rel='stylesheet' href='/assets/fontawesome/css/all.css') link(rel='stylesheet' href='/assets/fontawesome/css/all.css')
link(rel='modulepreload' href=`/assets/${clientEntry.file}`) link(rel='modulepreload' href=`/assets/${clientEntry.file}`)

View file

@ -1,7 +1,7 @@
<template> <template>
<transition :name="$store.state.animation ? 'zoom' : ''" appear> <transition :name="$store.state.animation ? 'zoom' : ''" appear>
<div class="mjndxjcg"> <div class="mjndxjcg">
<img src="https://xn--931a.moe/assets/error.jpg" class="_ghost"/> <img src="/static-assets/badges/error.jpg" class="_ghost" alt="Error"/>
<p><i class="fas fa-exclamation-triangle"></i> {{ $ts.somethingHappened }}</p> <p><i class="fas fa-exclamation-triangle"></i> {{ $ts.somethingHappened }}</p>
<MkButton class="button" @click="() => $emit('retry')">{{ $ts.retry }}</MkButton> <MkButton class="button" @click="() => $emit('retry')">{{ $ts.retry }}</MkButton>
</div> </div>

View file

@ -2,7 +2,7 @@
<MkPagination ref="pagingComponent" :pagination="pagination"> <MkPagination ref="pagingComponent" :pagination="pagination">
<template #empty> <template #empty>
<div class="_fullinfo"> <div class="_fullinfo">
<img src="https://xn--931a.moe/assets/info.jpg" class="_ghost"/> <img src="/static-assets/badges/info.jpg" class="_ghost" alt="Info"/>
<div>{{ $ts.noNotes }}</div> <div>{{ $ts.noNotes }}</div>
</div> </div>
</template> </template>

View file

@ -2,7 +2,7 @@
<MkPagination ref="pagingComponent" :pagination="pagination"> <MkPagination ref="pagingComponent" :pagination="pagination">
<template #empty> <template #empty>
<div class="_fullinfo"> <div class="_fullinfo">
<img src="https://xn--931a.moe/assets/info.jpg" class="_ghost"/> <img src="/static-assets/badges/info.jpg" class="_ghost" alt="Info"/>
<div>{{ $ts.noNotifications }}</div> <div>{{ $ts.noNotifications }}</div>
</div> </div>
</template> </template>

View file

@ -7,7 +7,7 @@
<div v-else-if="empty" key="_empty_" class="empty"> <div v-else-if="empty" key="_empty_" class="empty">
<slot name="empty"> <slot name="empty">
<div class="_fullinfo"> <div class="_fullinfo">
<img src="https://xn--931a.moe/assets/info.jpg" class="_ghost"/> <img src="/static-assets/badges/info.jpg" class="_ghost" alt="Error"/>
<div>{{ $ts.nothing }}</div> <div>{{ $ts.nothing }}</div>
</div> </div>
</slot> </slot>

View file

@ -2,7 +2,7 @@
<MkPagination ref="pagingComponent" :pagination="pagination"> <MkPagination ref="pagingComponent" :pagination="pagination">
<template #empty> <template #empty>
<div class="_fullinfo"> <div class="_fullinfo">
<img src="https://xn--931a.moe/assets/info.jpg" class="_ghost"/> <img src="/static-assets/badges/info.jpg" class="_ghost" alt="Info"/>
<div>{{ $ts.noUsers }}</div> <div>{{ $ts.noUsers }}</div>
</div> </div>
</template> </template>

View file

@ -2,7 +2,7 @@
<MkLoading v-if="!loaded"/> <MkLoading v-if="!loaded"/>
<transition :name="$store.state.animation ? 'zoom' : ''" appear> <transition :name="$store.state.animation ? 'zoom' : ''" appear>
<div v-show="loaded" class="mjndxjch"> <div v-show="loaded" class="mjndxjch">
<img src="https://xn--931a.moe/assets/error.jpg" class="_ghost"/> <img src="/static-assets/badges/error.jpg" class="_ghost" alt="Error"/>
<p><b><i class="fas fa-exclamation-triangle"></i> {{ i18n.ts.pageLoadError }}</b></p> <p><b><i class="fas fa-exclamation-triangle"></i> {{ i18n.ts.pageLoadError }}</b></p>
<p v-if="meta && (version === meta.version)">{{ i18n.ts.pageLoadErrorDescription }}</p> <p v-if="meta && (version === meta.version)">{{ i18n.ts.pageLoadErrorDescription }}</p>
<p v-else-if="serverIsDead">{{ i18n.ts.serverIsDead }}</p> <p v-else-if="serverIsDead">{{ i18n.ts.serverIsDead }}</p>

View file

@ -5,7 +5,7 @@
<MkPagination ref="pagingComponent" :pagination="pagination"> <MkPagination ref="pagingComponent" :pagination="pagination">
<template #empty> <template #empty>
<div class="_fullinfo"> <div class="_fullinfo">
<img src="https://xn--931a.moe/assets/info.jpg" class="_ghost"/> <img src="/static-assets/badges/info.jpg" class="_ghost" alt="Info"/>
<div>{{ $ts.noNotes }}</div> <div>{{ $ts.noNotes }}</div>
</div> </div>
</template> </template>

View file

@ -1,30 +1,27 @@
<template> <template>
<MkStickyContainer> <div>
<template #header><MkPageHeader/></template> <MkPagination ref="paginationComponent" :pagination="pagination">
<MkSpacer :content-max="800"> <template #empty>
<MkPagination ref="paginationComponent" :pagination="pagination"> <div class="_fullinfo">
<template #empty> <img src="/static-assets/badges/info.jpg" class="_ghost" alt="Info"/>
<div class="_fullinfo"> <div>{{ $ts.noFollowRequests }}</div>
<img src="https://xn--931a.moe/assets/info.jpg" class="_ghost"/> </div>
<div>{{ $ts.noFollowRequests }}</div> </template>
</div> <template #default="{items}">
</template> <div class="mk-follow-requests">
<template #default="{items}"> <div v-for="req in items" :key="req.id" class="user _panel">
<div class="mk-follow-requests"> <MkAvatar class="avatar" :user="req.follower" :show-indicator="true"/>
<div v-for="req in items" :key="req.id" class="user _panel"> <div class="body">
<MkAvatar class="avatar" :user="req.follower" :show-indicator="true"/> <div class="name">
<div class="body"> <MkA v-user-preview="req.follower.id" class="name" :to="userPage(req.follower)"><MkUserName :user="req.follower"/></MkA>
<div class="name"> <p class="acct">@{{ acct(req.follower) }}</p>
<MkA v-user-preview="req.follower.id" class="name" :to="userPage(req.follower)"><MkUserName :user="req.follower"/></MkA> </div>
<p class="acct">@{{ acct(req.follower) }}</p> <div v-if="req.follower.description" class="description" :title="req.follower.description">
</div> <Mfm :text="req.follower.description" :is-note="false" :author="req.follower" :i="$i" :custom-emojis="req.follower.emojis" :plain="true" :nowrap="true"/>
<div v-if="req.follower.description" class="description" :title="req.follower.description"> </div>
<Mfm :text="req.follower.description" :is-note="false" :author="req.follower" :i="$i" :custom-emojis="req.follower.emojis" :plain="true" :nowrap="true"/> <div class="actions">
</div> <button class="_button" @click="accept(req.follower)"><i class="fas fa-check"></i></button>
<div class="actions"> <button class="_button" @click="reject(req.follower)"><i class="fas fa-times"></i></button>
<button class="_button" @click="accept(req.follower)"><i class="fas fa-check"></i></button>
<button class="_button" @click="reject(req.follower)"><i class="fas fa-times"></i></button>
</div>
</div> </div>
</div> </div>
</div> </div>

View file

@ -33,7 +33,7 @@
</MkA> </MkA>
</div> </div>
<div v-if="!fetching && messages.length == 0" class="_fullinfo"> <div v-if="!fetching && messages.length == 0" class="_fullinfo">
<img src="https://xn--931a.moe/assets/info.jpg" class="_ghost"/> <img src="/static-assets/badges/info.jpg" class="_ghost" alt="Info"/>
<div>{{ $ts.noHistory }}</div> <div>{{ $ts.noHistory }}</div>
</div> </div>
<MkLoading v-if="fetching"/> <MkLoading v-if="fetching"/>

View file

@ -10,7 +10,7 @@
<MkPagination v-if="pagination" ref="pagingComponent" :key="userAcct || groupId" :pagination="pagination"> <MkPagination v-if="pagination" ref="pagingComponent" :key="userAcct || groupId" :pagination="pagination">
<template #empty> <template #empty>
<div class="_fullinfo"> <div class="_fullinfo">
<img src="https://xn--931a.moe/assets/info.jpg" class="_ghost"/> <img src="/static-assets/badges/info.jpg" class="_ghost" alt="Info"/>
<div>{{ i18n.ts.noMessagesYet }}</div> <div>{{ i18n.ts.noMessagesYet }}</div>
</div> </div>
</template> </template>

View file

@ -1,7 +1,7 @@
<template> <template>
<div class="ipledcug"> <div class="ipledcug">
<div class="_fullinfo"> <div class="_fullinfo">
<img src="https://xn--931a.moe/assets/not-found.jpg" class="_ghost"/> <img src="/static-assets/badges/not-found.jpg" class="_ghost" alt="Not found"/>
<div>{{ $ts.notFoundDescription }}</div> <div>{{ $ts.notFoundDescription }}</div>
</div> </div>
</div> </div>

View file

@ -3,7 +3,7 @@
<FormPagination ref="list" :pagination="pagination"> <FormPagination ref="list" :pagination="pagination">
<template #empty> <template #empty>
<div class="_fullinfo"> <div class="_fullinfo">
<img src="https://xn--931a.moe/assets/info.jpg" class="_ghost"/> <img src="/static-assets/badges/info.jpg" class="_ghost" alt="Info"/>
<div>{{ i18n.ts.nothing }}</div> <div>{{ i18n.ts.nothing }}</div>
</div> </div>
</template> </template>