PageSourceSearch

https://ai-nots.com/build/assets/show-DqX1isyG.js

js ai-nots.com collected 2026-10-02 01:23:17 UTC 2,895 bytes, 1 lines download raw bytes

1import{j as t,L as a,S as s}from"./app-BZkUBKZm.js";import{A as m}from"./admin-layout-Bo1y8r1I.js";import{B as i}from"./button-BPgOp1mo.js";import{A as l}from"./arrow-left-D0Ltuunw.js";/* empty css            */import"./app-sidebar-header-4EPEBmHu.js";import"./createLucideIcon-BWURzDql.js";import"./app-logo-icon-O6_yyeWX.js";import"./breadcrumb-CLStRzQ4.js";import"./index-BBFtwfOa.js";import"./index-x_nqfga4.js";import"./x-ClcN_CRv.js";import"./chevron-right-CdVUUVFw.js";import"./tooltip-CWAgeqol.js";import"./index-QYipHj9k.js";import"./floating-ui.react-dom-XQG5mYAu.js";import"./floating-ui.dom-B7cXm8BB.js";import"./layout-dashboard-C0Jyjq0F.js";import"./tag-D2-OJ5sV.js";import"./folder-tree-B_l4_Juv.js";import"./monitor-CoRSUuyb.js";import"./file-text-9MmbAEN7.js";import"./wand-sparkles-CZLudzQ8.js";import"./sparkles-vVtelXrJ.js";import"./users-T_5U4SrG.js";import"./mail-sUjbSH1C.js";import"./message-square-Vvprs_ms.js";import"./settings-BPqXElpj.js";const o=[{title:"Dashboard",href:"/dashboard"},{title:"Platforms",href:"/admin/platforms"}];function U({platform:e}){const r={active:"bg-green-100 text-green-800",pending:"bg-yellow-100 text-yellow-800",deactive:"bg-red-100 text-red-800"};return t.jsxs(m,{breadcrumbs:o,children:[t.jsx(a,{title:`Platform: ${e.name}`}),t.jsxs("div",{className:"flex items-center justify-between mb-4 px-4 pt-4",children:[t.jsx("h1",{className:"text-2xl font-bold",children:"Platform Details"}),t.jsxs(i,{variant:"outline",onClick:()=>s.visit(route("admin.platforms.index")),children:[t.jsx(l,{className:"w-4 h-4 mr-2"}),"Back to Platforms"]})]}),t.jsx("div",{className:"px-4 py-4 space-y-4",children:t.jsxs("div",{className:"bg-white rounded-lg shadow p-6 space-y-4",children:[t.jsxs("div",{children:[t.jsx("label",{className:"text-sm font-medium text-gray-500",children:"ID"}),t.jsx("p",{className:"mt-1 text-lg",children:e.id})]}),t.jsxs("div",{children:[t.jsx("label",{className:"text-sm font-medium text-gray-500",children:"Name"}),t.jsx("p",{className:"mt-1 text-lg",children:e.name})]}),t.jsxs("div",{children:[t.jsx("label",{className:"text-sm font-medium text-gray-500",children:"Status"}),t.jsx("p",{className:"mt-1",children:t.jsx("span",{className:`px-2 py-1 rounded-full text-xs font-medium ${r[e.status]||"bg-gray-100 text-gray-800"}`,children:e.status})})]}),t.jsxs("div",{children:[t.jsx("label",{className:"text-sm font-medium text-gray-500",children:"Created At"}),t.jsx("p",{className:"mt-1 text-lg",children:new Date(e.created_at).toLocaleString()})]}),t.jsxs("div",{children:[t.jsx("label",{className:"text-sm font-medium text-gray-500",children:"Updated At"}),t.jsx("p",{className:"mt-1 text-lg",children:new Date(e.updated_at).toLocaleString()})]}),t.jsx("div",{className:"pt-4 flex gap-2",children:t.jsx(i,{onClick:()=>s.visit(route("admin.platforms.edit",e.id)),children:"Edit Platform"})})]})})]})}export{U 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.