1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-11-01 07:35:57 +09:00
This commit is contained in:
syuilo 2023-01-09 17:18:45 +09:00
parent 014c97fa85
commit b04155e7ba

View File

@ -2,15 +2,17 @@
<MkStickyContainer> <MkStickyContainer>
<template #header><XHeader :actions="headerActions" :tabs="headerTabs"/></template> <template #header><XHeader :actions="headerActions" :tabs="headerTabs"/></template>
<MkSpacer :content-max="800"> <MkSpacer :content-max="800">
<div v-for="relay in relays" :key="relay.inbox" class="relaycxt _panel" style="padding: 16px;"> <div class="_gaps">
<div>{{ relay.inbox }}</div> <div v-for="relay in relays" :key="relay.inbox" class="relaycxt _panel" style="padding: 16px;">
<div class="status"> <div>{{ relay.inbox }}</div>
<i v-if="relay.status === 'accepted'" class="ti ti-check icon accepted"></i> <div class="status">
<i v-else-if="relay.status === 'rejected'" class="ti ti-ban icon rejected"></i> <i v-if="relay.status === 'accepted'" class="ti ti-check icon accepted"></i>
<i v-else class="ti ti-clock icon requesting"></i> <i v-else-if="relay.status === 'rejected'" class="ti ti-ban icon rejected"></i>
<span>{{ $t(`_relayStatus.${relay.status}`) }}</span> <i v-else class="ti ti-clock icon requesting"></i>
<span>{{ $t(`_relayStatus.${relay.status}`) }}</span>
</div>
<MkButton class="button" inline danger @click="remove(relay.inbox)"><i class="ti ti-trash"></i> {{ i18n.ts.remove }}</MkButton>
</div> </div>
<MkButton class="button" inline danger @click="remove(relay.inbox)"><i class="ti ti-trash"></i> {{ i18n.ts.remove }}</MkButton>
</div> </div>
</MkSpacer> </MkSpacer>
</MkStickyContainer> </MkStickyContainer>