mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-22 09:57:29 -07:00
Add icons 🎨
This commit is contained in:
parent
ff45a8d27d
commit
750db2e88a
1 changed files with 11 additions and 3 deletions
|
@ -7,18 +7,22 @@
|
||||||
<ui-horizon-group inputs v-if="latestStats" class="fit-bottom">
|
<ui-horizon-group inputs v-if="latestStats" class="fit-bottom">
|
||||||
<ui-input :value="latestStats.deliver.activeSincePrevTick | number" type="text" readonly>
|
<ui-input :value="latestStats.deliver.activeSincePrevTick | number" type="text" readonly>
|
||||||
<span>Process</span>
|
<span>Process</span>
|
||||||
|
<template #prefix><fa :icon="fasPlayCircle"/></template>
|
||||||
<template #suffix>jobs/s</template>
|
<template #suffix>jobs/s</template>
|
||||||
</ui-input>
|
</ui-input>
|
||||||
<ui-input :value="latestStats.deliver.active | number" type="text" readonly>
|
<ui-input :value="latestStats.deliver.active | number" type="text" readonly>
|
||||||
<span>Active</span>
|
<span>Active</span>
|
||||||
|
<template #prefix><fa :icon="farPlayCircle"/></template>
|
||||||
<template #suffix>jobs</template>
|
<template #suffix>jobs</template>
|
||||||
</ui-input>
|
</ui-input>
|
||||||
<ui-input :value="latestStats.deliver.waiting | number" type="text" readonly>
|
<ui-input :value="latestStats.deliver.waiting | number" type="text" readonly>
|
||||||
<span>Waiting</span>
|
<span>Waiting</span>
|
||||||
|
<template #prefix><fa :icon="faStopCircle"/></template>
|
||||||
<template #suffix>jobs</template>
|
<template #suffix>jobs</template>
|
||||||
</ui-input>
|
</ui-input>
|
||||||
<ui-input :value="latestStats.deliver.delayed | number" type="text" readonly>
|
<ui-input :value="latestStats.deliver.delayed | number" type="text" readonly>
|
||||||
<span>Delayed</span>
|
<span>Delayed</span>
|
||||||
|
<template #prefix><fa :icon="faStopwatch"/></template>
|
||||||
<template #suffix>jobs</template>
|
<template #suffix>jobs</template>
|
||||||
</ui-input>
|
</ui-input>
|
||||||
</ui-horizon-group>
|
</ui-horizon-group>
|
||||||
|
@ -29,18 +33,22 @@
|
||||||
<ui-horizon-group inputs v-if="latestStats" class="fit-bottom">
|
<ui-horizon-group inputs v-if="latestStats" class="fit-bottom">
|
||||||
<ui-input :value="latestStats.inbox.activeSincePrevTick | number" type="text" readonly>
|
<ui-input :value="latestStats.inbox.activeSincePrevTick | number" type="text" readonly>
|
||||||
<span>Process</span>
|
<span>Process</span>
|
||||||
|
<template #prefix><fa :icon="fasPlayCircle"/></template>
|
||||||
<template #suffix>jobs/s</template>
|
<template #suffix>jobs/s</template>
|
||||||
</ui-input>
|
</ui-input>
|
||||||
<ui-input :value="latestStats.inbox.active | number" type="text" readonly>
|
<ui-input :value="latestStats.inbox.active | number" type="text" readonly>
|
||||||
<span>Active</span>
|
<span>Active</span>
|
||||||
|
<template #prefix><fa :icon="farPlayCircle"/></template>
|
||||||
<template #suffix>jobs</template>
|
<template #suffix>jobs</template>
|
||||||
</ui-input>
|
</ui-input>
|
||||||
<ui-input :value="latestStats.inbox.waiting | number" type="text" readonly>
|
<ui-input :value="latestStats.inbox.waiting | number" type="text" readonly>
|
||||||
<span>Waiting</span>
|
<span>Waiting</span>
|
||||||
|
<template #prefix><fa :icon="faStopCircle"/></template>
|
||||||
<template #suffix>jobs</template>
|
<template #suffix>jobs</template>
|
||||||
</ui-input>
|
</ui-input>
|
||||||
<ui-input :value="latestStats.inbox.delayed | number" type="text" readonly>
|
<ui-input :value="latestStats.inbox.delayed | number" type="text" readonly>
|
||||||
<span>Delayed</span>
|
<span>Delayed</span>
|
||||||
|
<template #prefix><fa :icon="faStopwatch"/></template>
|
||||||
<template #suffix>jobs</template>
|
<template #suffix>jobs</template>
|
||||||
</ui-input>
|
</ui-input>
|
||||||
</ui-horizon-group>
|
</ui-horizon-group>
|
||||||
|
@ -58,8 +66,8 @@ import Vue from 'vue';
|
||||||
import i18n from '../../i18n';
|
import i18n from '../../i18n';
|
||||||
import ApexCharts from 'apexcharts';
|
import ApexCharts from 'apexcharts';
|
||||||
import * as tinycolor from 'tinycolor2';
|
import * as tinycolor from 'tinycolor2';
|
||||||
import { faTasks, faInbox } from '@fortawesome/free-solid-svg-icons';
|
import { faTasks, faInbox, faStopwatch, faPlayCircle as fasPlayCircle } from '@fortawesome/free-solid-svg-icons';
|
||||||
import { faPaperPlane } from '@fortawesome/free-regular-svg-icons';
|
import { faPaperPlane, faStopCircle, faPlayCircle as farPlayCircle } from '@fortawesome/free-regular-svg-icons';
|
||||||
|
|
||||||
export default Vue.extend({
|
export default Vue.extend({
|
||||||
i18n: i18n('admin/views/queue.vue'),
|
i18n: i18n('admin/views/queue.vue'),
|
||||||
|
@ -69,7 +77,7 @@ export default Vue.extend({
|
||||||
stats: [],
|
stats: [],
|
||||||
deliverChart: null,
|
deliverChart: null,
|
||||||
inboxChart: null,
|
inboxChart: null,
|
||||||
faTasks, faPaperPlane, faInbox
|
faTasks, faPaperPlane, faInbox, faStopwatch, faStopCircle, farPlayCircle, fasPlayCircle
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue