import s from"./TopBar.8157552e.js";import i from"./Container.f87d9f62.js";import e from"./Content.e22a1fd6.js";import m from"./Page.3927bdbf.js";import a from"./Pagination.a93b6f75.js";import n from"./PageHeader.a5f457a5.js";import p from"./PageHeaderTitle.3ed783af.js";import l from"./PageBody.dec1fae1.js";import c from"./Button.f17dffc9.js";import d from"./List.d5d221b1.js";import u from"./ListItem.ee1e88fb.js";import f from"./StatusBubble.4f1d8322.js";import _ from"./NotificationBadge.b6fae3d5.js";import v from"./MainLayout.17290af6.js";import x from"./SettingsLayout.3305573b.js";import C from"./SettingsSegment.e8fdfb41.js";import b from"./FormInput.7debc7c5.js";import g from"./Form.2cdcadd9.js";import y from"./FormActions.83ccca91.js";import h from"./Tabs.88273262.js";import P from"./IconPerson.ed5ea8af.js";import I from"./IconGlobe.07030b80.js";import S from"./IconStorage.ef2b2e41.js";import k from"./IconHarddisk.ca1952a6.js";import{n as B}from"./plugin-vue2_normalizer.000ba15c.js";import"./TopBar.27b84f08.js";import"./Dropdown.d1060583.js";import"./DropdownList.02c48c2f.js";import"./DropdownListItem.ac31464c.js";import"./IconMoon.ade3e41b.js";import"./IconSun.8809e5d7.js";import"./IconSearch.27dac870.js";import"./IconButton.eadc8d3d.js";import"./Breadcrumbs.d39e2491.js";import"./BreadcrumbsItem.da3f8155.js";import"./TopBarTabBarContainer.3bdb2bb3.js";import"./TabBar.c1d45ed5.js";import"./TabBarItem.e9886f0a.js";import"./Confirm.888708f1.js";import"./Notification.d432029f.js";import"./IconDanger.2f6e115d.js";import"./IconWarning.ca92fb65.js";import"./IconSuccess.09b85716.js";import"./IconInfo.ad7662f9.js";import"./SearchPalette.282fdde5.js";import"./notification.db2f2ae7.js";import"./app.79e1f42d.js";import"./FormGroup.efd02a6a.js";import"./Label.9d0d3ee0.js";import"./ErrorText.b141a597.js";import"./HelperText.14a7ed0b.js";import"./IconClipboard.8551be1b.js";import"./IconKey.455a255f.js";const L={metaInfo(){return{title:`${this.__("Administration")}`}},layout:v,components:{TopBar:s,Container:i,Content:e,Page:m,Pagination:a,PageHeader:n,PageHeaderTitle:p,PageBody:l,Button:c,List:d,ListItem:u,StatusBubble:f,NotificationBadge:_,FormInput:b,SettingsLayout:x,SettingsSegment:C,Form:g,FormActions:y,Tabs:h,IconPerson:P,IconGlobe:I,IconStorage:S,IconHarddisk:k},props:{servers:Number,sites:Number,users:Number,logs:[Array,Object]}};var w=function(){var o=this,t=o._self._c;return t("Page",[t("TopBar"),t("Content",[t("Container",[t("PageHeader",{scopedSlots:o._u([{key:"start",fn:function(){return[t("PageHeaderTitle",[o._v(o._s(o.__("Administration")))])]},proxy:!0}])}),t("PageBody",[t("SettingsLayout",{attrs:{space:"space-y-0"},scopedSlots:o._u([{key:"nav",fn:function(){return[t("Tabs",{staticClass:"mb-16"})]},proxy:!0},{key:"segments",fn:function(){return[t("div",{staticClass:"mb-16"},[t("ul",{staticClass:"grid grid-cols-3 gap-4"},[t("li",{staticClass:"p-6 rounded shadow bg-surface-3"},[t("div",{staticClass:"flex space-x-4"},[t("div",[t("IconHarddisk",{staticClass:"w-6 h-6"})],1),t("div",[t("h3",{staticClass:"font-semibold text-body",domProps:{textContent:o._s(o.servers)}}),t("p",{staticClass:"text-medium-emphasis text-small"},[o._v(o._s(o.__("Servers")))])])])]),t("li",{staticClass:"p-6 rounded shadow bg-surface-3"},[t("div",{staticClass:"flex space-x-4"},[t("div",[t("IconGlobe",{staticClass:"w-6 h-6"})],1),t("div",[t("h3",{staticClass:"font-semibold text-body",domProps:{textContent:o._s(o.sites)}}),t("p",{staticClass:"text-medium-emphasis text-small"},[o._v(o._s(o.__("Sites")))])])])]),t("li",{staticClass:"p-6 rounded shadow bg-surface-3"},[t("div",{staticClass:"flex space-x-4"},[t("div",[t("IconPerson",{staticClass:"w-6 h-6"})],1),t("div",[t("h3",{staticClass:"font-semibold text-body",domProps:{textContent:o._s(o.users)}}),t("p",{staticClass:"text-medium-emphasis text-small"},[o._v(o._s(o.__("Users")))])])])])])]),t("div",{staticClass:"pb-4"},[t("h2",[o._v(o._s(o.__("Recent logs")))]),t("List",o._l(o.logs.data,function(r){return t("ListItem",{key:r.id,scopedSlots:o._u([{key:"title",fn:function(){return[o._v(" "+o._s(r.title)+" ")]},proxy:!0},{key:"subtitle",fn:function(){return[o._v(o._s(r.description))]},proxy:!0},{key:"suffix",fn:function(){return[o._v(o._s(r.created_at_human))]},proxy:!0}],null,!0)})}),1)],1),t("pagination",{attrs:{links:o.logs}})]},proxy:!0}])})],1)],1)],1)],1)},H=[],T=B(L,w,H,!1,null,null,null,null);const At=T.exports;export{At as default};
