1
0
Fork 1
mirror of https://example.com synced 2024-11-23 19:26:39 +09:00
This commit is contained in:
syuilo 2019-03-12 17:20:40 +09:00
parent 87573284f1
commit 922eb937ff
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
2 changed files with 7 additions and 4 deletions

View file

@ -1180,7 +1180,7 @@ admin/views/dashboard.vue:
federated: "連合"
admin/views/queue.vue:
operation: "操作"
title: "キュー"
remove-all-jobs: "すべてのジョブをクリア"
admin/views/abuse.vue:

View file

@ -1,9 +1,9 @@
<template>
<div>
<ui-card>
<template #title>{{ $t('operation') }}</template>
<template #title><fa :icon="faTasks"/> {{ $t('title') }}</template>
<section class="wptihjuy">
<header>Deliver</header>
<header><fa :icon="faPaperPlane"/> Deliver</header>
<ui-horizon-group inputs v-if="latestStats" class="fit-bottom">
<ui-input :value="latestStats.deliver.waiting | number" type="text" readonly>
<span>Waiting</span>
@ -18,7 +18,7 @@
<div ref="deliverChart" class="chart"></div>
</section>
<section class="wptihjuy">
<header>Inbox</header>
<header><fa :icon="faInbox"/> Inbox</header>
<ui-horizon-group inputs v-if="latestStats" class="fit-bottom">
<ui-input :value="latestStats.inbox.waiting | number" type="text" readonly>
<span>Waiting</span>
@ -44,6 +44,8 @@ import Vue from 'vue';
import i18n from '../../i18n';
import ApexCharts from 'apexcharts';
import * as tinycolor from 'tinycolor2';
import { faTasks, faInbox } from '@fortawesome/free-solid-svg-icons';
import { faPaperPlane } from '@fortawesome/free-regular-svg-icons';
export default Vue.extend({
i18n: i18n('admin/views/queue.vue'),
@ -53,6 +55,7 @@ export default Vue.extend({
stats: [],
deliverChart: null,
inboxChart: null,
faTasks, faPaperPlane, faInbox
};
},