forked from FoundKeyGang/FoundKey
client: make headlines in queue widget links
The headlines "inbox queue" and "deliver queue" are now links to the admin panel page about the queue. Changelog: Changed
This commit is contained in:
parent
350f21d955
commit
73870e85cd
1 changed files with 9 additions and 3 deletions
|
@ -1,7 +1,10 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="mkw-jobQueue _monospace" :class="{ _panel: !widgetProps.transparent }">
|
<div class="mkw-jobQueue _monospace" :class="{ _panel: !widgetProps.transparent }">
|
||||||
<div class="inbox">
|
<div class="inbox">
|
||||||
<div class="label">Inbox queue<i v-if="current.inbox.waiting > 0" class="fas fa-exclamation-triangle icon"></i></div>
|
<div class="label">
|
||||||
|
<MkA to="/admin/queue">Inbox queue</MkA>
|
||||||
|
<i v-if="current.inbox.waiting > 0" class="fas fa-exclamation-triangle icon"></i>
|
||||||
|
</div>
|
||||||
<div class="values">
|
<div class="values">
|
||||||
<div>
|
<div>
|
||||||
<div>Process</div>
|
<div>Process</div>
|
||||||
|
@ -22,7 +25,10 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="deliver">
|
<div class="deliver">
|
||||||
<div class="label">Deliver queue<i v-if="current.deliver.waiting > 0" class="fas fa-exclamation-triangle icon"></i></div>
|
<div class="label">
|
||||||
|
<MkA to="/admin/queue">Deliver queue</MkA>
|
||||||
|
<i v-if="current.deliver.waiting > 0" class="fas fa-exclamation-triangle icon"></i>
|
||||||
|
</div>
|
||||||
<div class="values">
|
<div class="values">
|
||||||
<div>
|
<div>
|
||||||
<div>Process</div>
|
<div>Process</div>
|
||||||
|
@ -46,7 +52,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { onMounted, onUnmounted, reactive, ref } from 'vue';
|
import { onMounted, onUnmounted, reactive } from 'vue';
|
||||||
import { useWidgetPropsManager, Widget, WidgetComponentEmits, WidgetComponentExpose, WidgetComponentProps } from './widget';
|
import { useWidgetPropsManager, Widget, WidgetComponentEmits, WidgetComponentExpose, WidgetComponentProps } from './widget';
|
||||||
import { GetFormResultType } from '@/scripts/form';
|
import { GetFormResultType } from '@/scripts/form';
|
||||||
import { stream } from '@/stream';
|
import { stream } from '@/stream';
|
||||||
|
|
Loading…
Reference in a new issue