Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 

2 lignes
3.0 KiB

  1. import{j as p,z as h,k as f,s as b,r as g,c as d,a as t,b as e,w as a,F as v,u as m,d as w,e as y,o as r,i as o,t as x}from"./index-b3134325.js";import{c as k,g as j}from"./api-04371953.js";const B={class:"page-wrapper",id:"app","data-layout":"horizontal","data-navbarbg":"skin6","data-sidebartype":"full","data-sidebar-position":"fixed","data-header-position":"fixed"},L=w('<header class="app-header"><nav class="navbar navbar-expand-lg navbar-light container-fluid px-0"><ul class="navbar-nav"><li class="nav-item d-none d-lg-block"><a href="index.html" class="text-nowrap nav-link"><img src="'+y+'" class="light-logo" width="180" alt=""></a></li></ul></nav></header>',1),D={class:"body-wrapper overflow-hidden"},N={class:"position-relative overflow-hidden min-vh-100 d-flex align-items-center justify-content-center drawise-auth-bg"},V={class:"d-flex align-items-center justify-content-center w-100"},z={class:"row justify-content-center w-100"},C={class:"col-md-8 col-lg-8 col-xxl-8"},E=t("i",{class:"ti ti-chevron-left fs-4 me-2"},null,-1),R=t("h1",{class:"display-6 fs-7 mb-4 text-center"}," Dashboard, let's Build it ",-1),S={class:"wrapper"},$={class:"tabs clearfix","data-tabgroup":"first-tab-group"},F={id:"first-tab-group",class:"tabgroup"},I={id:"tab1"},P={class:"card"},T={class:"card-body"},A={class:"row d-flex"},M={class:"col-6"},q={class:"fs-5 fw-bolder"},G={class:"col-6 d-flex justify-content-end"},H=t("button",{class:"btn btn-outline-primary btn-sm mx-2"},[t("i",{class:"ti ti-eye fs-4"})],-1),J=t("button",{class:"btn btn-primary btn-sm"},[t("i",{class:"ti ti-edit fs-4"})],-1),K=t("button",{class:"btn mb-1 d-block w-100 btn-outline-warning waves-effect waves-light",type:"button"},[t("i",{class:"ti ti-plus fs-4 me-2"}),o(" Add a page ")],-1),X=p({__name:"pages",setup(O){const _=h().params.id,n=f([]);b(()=>{k(),u()});async function u(){console.log("sjbvjs");try{(await j)(`/SitePages/site/${_}`).then(i=>{console.log(i.data),i.data.forEach(l=>{console.log(l.site),n.value.push(l)}),console.log(n.value)})}catch(i){console.error(i)}}return(i,l)=>{const s=g("RouterLink");return r(),d("div",B,[L,t("div",D,[t("div",N,[t("div",V,[t("div",z,[t("div",C,[e(s,{to:"../../dashboard",class:"btn btn-outline-warning py-8 mb-4 rounded-2"},{default:a(()=>[E,o(" Back To Dashboard")]),_:1}),R,t("div",S,[t("ul",$,[t("li",null,[e(s,{to:"pages",class:"active"},{default:a(()=>[o("Edit Pages")]),_:1})]),t("li",null,[e(s,{to:"basic"},{default:a(()=>[o("Basic Info")]),_:1})]),t("li",null,[e(s,{to:"layout"},{default:a(()=>[o("Layout")]),_:1})]),t("li",null,[e(s,{to:"domain"},{default:a(()=>[o("Link Domain")]),_:1})])]),t("section",F,[t("div",I,[(r(!0),d(v,null,m(n.value,c=>(r(),d("div",P,[t("div",T,[t("div",A,[t("div",M,[t("p",q,x(c.page_title),1)]),t("div",G,[e(s,{to:`../../site/page/${c.id}`,target:"_blank"},{default:a(()=>[H]),_:2},1032,["to"]),e(s,{to:`../../site/page/${c.id}/edit-page`},{default:a(()=>[J]),_:2},1032,["to"])])])])]))),256)),e(s,{to:"./new-page"},{default:a(()=>[K]),_:1})])])])])])])])])])}}});export{X as default};