PageSourceSearch

https://peaceweb.com/build/assets/Vm6-DDhzPInl.js

js peaceweb.com collected 2026-10-10 00:07:26 UTC 3,564 bytes, 1 lines download raw bytes

1import{j as e}from"./vendor-react-B71pkc0u.js";import{H as o}from"./vendor-inertia-CCfyITfy.js";import{A as m,c,d as t,b as a}from"./AdminLayout-B6eaivXB.js";import{B as i}from"./onboarding-wizard-8d69wR1b.js";import"./dropdown-menu-BZa-QNLO.js";import"./vendor-radix-CNvn-D4_.js";import"./vendor-icons-dO54kHSW.js";import"./dialog-DAdEr7fa.js";import"./vendor-utils-CPRVqKOU.js";function k({pendingCounts:r,errors:d,locations:l,failedVirtualMachines:n}){return e.jsxs(m,{pendingCounts:r,title:"VM6 integration",description:"Location health, provisioning failures, and VM6-specific operator context.",breadcrumbs:[{label:"Integrations",href:"/admin/integrations"},{label:"VM6"}],children:[e.jsx(o,{title:"Admin · VM6 Integration"}),e.jsxs("div",{className:"space-y-6",children:[e.jsx(c,{items:[{label:"Overview",href:"/admin/integrations"},{label:"Stripe",href:"/admin/integrations/stripe"},{label:"HostBill",href:"/admin/integrations/hostbill"},{label:"VM6",href:"/admin/integrations/vm6",current:!0},{label:"Error queue",href:"/admin/integration-errors"}]}),e.jsxs("div",{className:"grid gap-6 xl:grid-cols-2",children:[e.jsxs(t,{className:"space-y-5",children:[e.jsx(a,{eyebrow:"Locations",title:"Registered VM6 environments",description:"Locations currently visible to the platform."}),e.jsx("div",{className:"space-y-3",children:l.map(s=>e.jsx("div",{className:"rounded-xl border border-slate-200/80 bg-white/80 p-4 dark:border-white/[0.06] dark:bg-white/[0.03]",children:e.jsxs("div",{className:"flex items-center justify-between gap-4",children:[e.jsxs("div",{children:[e.jsx("div",{className:"font-semibold text-slate-950 dark:text-slate-50",children:s.name}),e.jsx("div",{className:"mt-1 text-sm text-slate-500 dark:text-slate-400",children:s.code})]}),e.jsx(i,{className:s.is_active?"bg-emerald-100 text-emerald-700 dark:bg-emerald-950/50 dark:text-emerald-300":"bg-slate-200 text-slate-700 dark:bg-white/[0.05] dark:text-slate-300",children:s.is_active?"Active":"Inactive"})]})},s.id))})]}),e.jsxs(t,{className:"space-y-5",children:[e.jsx(a,{eyebrow:"Failures",title:"Failed virtual machines",description:"Most recent provisioning failures tracked locally."}),e.jsx("div",{className:"space-y-3",children:n.map(s=>e.jsxs("div",{className:"rounded-xl border border-slate-200/80 bg-white/80 p-4 dark:border-white/[0.06] dark:bg-white/[0.03]",children:[e.jsx("div",{className:"font-semibold text-slate-950 dark:text-slate-50",children:s.hostname}),e.jsxs("div",{className:"mt-1 text-sm text-slate-500 dark:text-slate-400",children:[s.user?.email??"Unknown user"," · ",s.user?.brand??"Unknown brand"," · ",s.location?.name??"No location"]})]},s.id))})]})]}),e.jsxs(t,{className:"space-y-5",children:[e.jsx(a,{eyebrow:"Issue queue",title:"VM6 errors",description:"Recent issues raised by VM6 and VMmanager workflows."}),e.jsx("div",{className:"space-y-3",children:d.map(s=>e.jsxs("div",{className:"rounded-xl border border-slate-200/80 bg-white/80 p-4 dark:border-white/[0.06] dark:bg-white/[0.03]",children:[e.jsxs("div",{className:"flex items-center justify-between gap-4",children:[e.jsxs("div",{className:"font-semibold text-slate-950 dark:text-slate-50",children:[s.integration,": ",s.operation]}),e.jsx(i,{className:s.resolved?"bg-slate-200 text-slate-700 dark:bg-white/[0.05] dark:text-slate-300":"bg-rose-100 text-rose-700 dark:bg-rose-950/50 dark:text-rose-300",children:s.resolved?"Resolved":"Open"})]}),e.jsx("div",{className:"mt-3 text-sm text-slate-500 dark:text-slate-400",children:s.error_message})]},s.id))})]})]})]})}export{k as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.