feat: ✨ clickable domains on job queue
https://post.naskya.net/notes/9gbfos2mv5iz6g63
This commit is contained in:
parent
1a971efa68
commit
5e0a0df262
|
@ -201,7 +201,7 @@ const menuDef = $computed(() => [
|
||||||
active: currentPage?.route.name === "federation",
|
active: currentPage?.route.name === "federation",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
icon: "ph-clipboard-text ph-bold ph-lg",
|
icon: "ph-queue ph-bold ph-lg",
|
||||||
text: i18n.ts.jobQueue,
|
text: i18n.ts.jobQueue,
|
||||||
to: "/admin/queue",
|
to: "/admin/queue",
|
||||||
active: currentPage?.route.name === "queue",
|
active: currentPage?.route.name === "queue",
|
||||||
|
|
|
@ -41,7 +41,9 @@
|
||||||
<div class="jobs">
|
<div class="jobs">
|
||||||
<div v-if="jobs.length > 0">
|
<div v-if="jobs.length > 0">
|
||||||
<div v-for="job in jobs" :key="job[0]">
|
<div v-for="job in jobs" :key="job[0]">
|
||||||
<span>{{ job[0] }}</span>
|
<a :href="`https://${job[0]}`" class="_link"
|
||||||
|
><span>{{ job[0] }}</span></a
|
||||||
|
>
|
||||||
<span style="margin-left: 8px; opacity: 0.7"
|
<span style="margin-left: 8px; opacity: 0.7"
|
||||||
>({{ number(job[1]) }} jobs)</span
|
>({{ number(job[1]) }} jobs)</span
|
||||||
>
|
>
|
||||||
|
|
|
@ -63,6 +63,6 @@ const headerTabs = $computed(() => [
|
||||||
|
|
||||||
definePageMetadata({
|
definePageMetadata({
|
||||||
title: i18n.ts.jobQueue,
|
title: i18n.ts.jobQueue,
|
||||||
icon: "ph-clipboard-text ph-bold ph-lg",
|
icon: "ph-queue ph-bold ph-lg",
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue