25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

layout-a05c014f.js 10 KiB

9 달 전
1
  1. import{j as b,z as u,k as c,s as h,r as H,c as D,a as A,b as l,w as n,F as j,u as w,d as p,e as Y,o as B,i,m as f,B as E}from"./index-5dca7a6a.js";import{c as Q,g as m,a as M}from"./api-2fe5baa7.js";const X={class:"page-wrapper",id:"app","data-layout":"horizontal","data-navbarbg":"skin6","data-sidebartype":"full","data-sidebar-position":"fixed","data-header-position":"fixed"},L=p('<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),x={class:"body-wrapper overflow-hidden"},G={class:"position-relative overflow-hidden min-vh-100 d-flex align-items-center justify-content-center drawise-auth-bg"},P={class:"d-flex align-items-center justify-content-center w-100"},R={class:"row justify-content-center w-100"},T={class:"col-md-8 col-lg-8 col-xxl-8"},V=A("i",{class:"ti ti-chevron-left fs-4 me-2"},null,-1),k=A("h1",{class:"display-6 fs-7 mb-4 text-center"}," Dashboard, let's Build it ",-1),N={class:"wrapper"},W={class:"tabs clearfix","data-tabgroup":"first-tab-group"},q={id:"first-tab-group",class:"tabgroup"},O={id:"tab1"},S={class:"col-12 pb-5 text-center"},U={class:"radio-tile-group"},z=["id","onClick","value"],F={class:"radio-tile"},J={class:"icon walk-icon"},Z=["src"],tA=b({__name:"layout",setup(K){const I=u().params.id,d=c(""),C=c(""),a=c(),g=[{value:"top",image:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMMAAACLCAYAAADcdC2rAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAaeSURBVHgB7d3rTlRXFMDxNTLAMMNFLkUQVKRYtbWpmmBM07Q28UP7pekbtG/QR1DeoI/QR7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L+B9A/gI1FBrVgSAgAAAABJRU5ErkJggg=="},{value:"left",image:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMQAAACLCAYAAAA+qDbSAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAcLSURBVHgB7drbclNVGMDxL03aNGkTWlprWwuEDigIHnAGRh1HYYYLvXHwicQnUd/ANxAv9AIcYQYYULGUQ6H0TAtt0ySN37e6d/kop7RYJMn/N7OnSfbO7iHrn71WICEbVKvVgn45pVuXAI1rTrefEonEqH8wEd+IQvhet+MCNI8fdPsuDiMEEcXws24FAZrPqG4nLIqW6IFvhRjQvAqyNjuSRHR1uC4ACnaFOCUAzDcWBJ8mAWu6WgTAOoIAHIIAnFStBy4Vy7K0UpZGlGlLSSb97D9FpVIJG+pTMpkMWy1qD0JjmF0oSkPKyQuDKJVKgvpVaxBMmQCHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIACHIOrY4tJy2PDfSck2Grt1U8Zu35TDHxyRbLbjsX0j1/6Wqcl7cuyTzwSbYxGcv3hVlvRrNtMe7h/96LDsyHXKVt1feCClUll6d3bJVk3NzElra+qlfo7/27YGYZKplMxOTz8WRLG4LLOz04KtuaAx2MB9Z18h3LeB+NvZC3Ly84/DgNyK8XtTIayXCeLW2HgIlCCe4403+mR8/I70DwyGOMzszIzk8zv066MoFhcfyo3rI7KiseTyXbKnsDccf+XyReno6AjHVioVebN/UN7atVsW5u/Lbb0CHTz0XnTO6XDe4X37pZHZoLUAPj324fpjNohtK5XLIYh/btyW66O3w76eKBwbqCP6uD3//vwDmdZz9Pf1ypH3Dshf10blpg5mc16uhsfiq9C8HpvNtsvRI4fDOS5fuSYp/R72M9g5dr3VH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ByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAByCAJxUrQdm2vTQnDSk8Ls9RzKZFNSvzbx+tQeRToWtGdkflCiaA1MmwCEIwCEIwLEg5gSAmUtUq9WC3rguAPa2JBKJUb1xRoDm9oO1kLBb0VXiZ90KAjSfUd1OWBBhUR1dJU7o9qMAzeWMRDHYncTGvdHV4pRuXQI0Lvsw6ac4hNi/TvVOE3+UQFkAAAAASUVORK5CYII="},{value:"float",image:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMMAAACLCAYAAADcdC2rAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAcySURBVHgB7d3rbhRlHMfx/+yhe2gLiAh4QKti1IgJmmiMMYoJifrGeAd6B14CcgdegpegL/WNvFETNEKiRlAOVVCKUiiltLvd3a7P7+E/TakUdrczC7TfTzJsZ3dmtiHPb57nP6cmtkK3290WXvaH6YABG9vxJEk+X/lGkv4QgvBxePkkTNsM2Bwmw3Q4hOIzzcQwhCAcshtBADajT0IgDichCBNh5qwBm9vbhfDPIQPwoXqGK0adAMwoDF0DYAUDEBEGwBEGwJV6XXBxcdGA+9HIyEhPy/UchlarZcD9qNcwMEwCHGEAHGEAHGEAXM8FNJCXQqEQpyRZvqNAV1Lb0tJSnIaFMOCuUMMvlUpWLpdN1wNdb7RM7b7jjb9SLlplpGzFQhIP6w8jGIQBQ6cQ6HDn3ELLLs3O28Jie81layMlG6+P2FhtJIai3W5bXggDhkohSApFuzB9+xCktIymy9cK9uiO0TicyusEMAU0hqZSqdhix+zcv3M9BWGldmcprqf1tZ08EAYMhWqDTjexqcvzYew/2F0DWk/razvaXtYIA3KnYrlQLNnF0JCzoECUQhiKxaJliTAgdxrWXL7WtFYnm6NBGjJdCdvLuneggEau1Ct0LbFr8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P21ePolBoXutrOwRhMIQhYxqqPBz2+Glg1CuosSoIoh4k/azm9cZqsX4IjV7DHa076iFLl3089AYKWRwSbRmjiM8Iw6Q+rVUTzIbGWqtWY6Nf2XOUSzeWb/XxLNE0OOnQSTQcSreFfPC/2yc1dDVW7bEf9GJXe+Yj3/wQhy31VXt7/Zzuxfv5Dtn33N6BC3L0j2FSn7R3fvaZiVgHaEik6ftQvD4VxvVqxBqzq7hVsax6IP3sTlQUq3fRutqOimt9h0J3MhTYR71muB2tp+/UNtA//ljJgDSGP3d+Kg5/VOiq8abUG6iIXv2ZGqmK5nT+Qmi4Cld6JOrk75PxyFEaHgUtDYfeUy+xcp10mS2hblB9cattoPc/VkIYsOH1GgaGSYAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAjDIAr9bpguVw2YCNLuoEBYJgEpAgD4AgD4BSGGQMwozB8YQA+19GkA+GHrw3Y3J4sJElyJPxw2IDN63DIwWSSzoUe4qPwcihMEwZsDqqXFYRPNZOs/jSE4oPwst+Aje1ImI6HICwfQPoPNyLYCTW3n80AAAAASUVORK5CYII="}];h(()=>{Q(),v()});async function v(){try{(await m)(`/create_site/sites/${I}/`).then(t=>{console.log(t.data),t.data&&(d.value=t.data.layout,a.value=t.data.layout,console.log(a.value),console.log(d.value),C.value=t.data.site_name,a.value=t.data.layout)})}catch(t){console.error(t)}}function y(t){d.value=t;try{M(`/create_site/sites/${I}/`,{layout:t,site_name:C.value}).then(e=>{console.log("Layout updated successfully:",e.data)})}catch(e){console.error("Error updating layout:",e)}}return(t,e)=>{const s=H("RouterLink");return B(),D("div",X,[L,A("div",x,[A("div",G,[A("div",P,[A("div",R,[A("div",T,[l(s,{to:"../../dashboard",class:"btn btn-outline-warning py-8 mb-4 rounded-2"},{default:n(()=>[V,i(" Back To Dashboard")]),_:1}),k,A("div",N,[A("ul",W,[A("li",null,[l(s,{to:"pages"},{default:n(()=>[i("Edit Pages")]),_:1})]),A("li",null,[l(s,{to:"basic"},{default:n(()=>[i("Basic Info")]),_:1})]),A("li",null,[l(s,{to:"layout",class:"active"},{default:n(()=>[i("Layout")]),_:1})]),A("li",null,[l(s,{to:"domain"},{default:n(()=>[i("Link Domain")]),_:1})])]),A("section",q,[A("div",O,[A("div",S,[A("div",U,[(B(),D(j,null,w(g,o=>A("div",{class:"input-container",key:o.value},[f(A("input",{id:o.value,class:"radio-button",type:"radio",name:"radio","onUpdate:modelValue":e[0]||(e[0]=r=>a.value=r),onClick:r=>y(o.value),value:o.value},null,8,z),[[E,a.value]]),A("div",F,[A("div",J,[A("img",{src:o.image,alt:""},null,8,Z)])])])),64))])])])])])])])])])])])}}});export{tA as default};