UNPKG

zwave-js-ui

Version:

Z-Wave Control Panel and MQTT Gateway

2 lines (1 loc) 1.77 kB
import{_ as y,e as V,w as e,b as t,f as l,F as m,ag as _,i,l as d,k as s,at as c,t as u,ah as b,G as h,u as f,V as p,H as o,aw as q,z as x}from"./index-B8xHYEBg.js";const k={data(){return{query:{code:404,message:"Not Found",path:"/error"}}},methods:{},beforeMount(){this.query=Object.keys(this.$route.query).length>0?this.$route.query:this.query}},w={class:"text-h5 font-weight-bold"};function C(n,r,$,T,a,j){return x(),V(f,{fluid:"","fill-height":""},{default:e(()=>[t(p,{align:"center",justify:"center"},{default:e(()=>[t(l,{cols:"12",sm:"8",md:"4"},{default:e(()=>[t(m,{class:"elevation-12"},{default:e(()=>[t(_,{color:"primary"},{default:e(()=>[t(i,{icon:"",onClick:r[0]||(r[0]=g=>n.$router.go(-2))},{default:e(()=>[t(d,null,{default:e(()=>[...r[2]||(r[2]=[s("arrow_back",-1)])]),_:1})]),_:1}),t(c,null,{default:e(()=>[s(u(a.query.code+" - "+a.query.message),1)]),_:1}),t(b),t(i,{icon:"",onClick:r[1]||(r[1]=g=>n.$router.push("/"))},{default:e(()=>[t(d,null,{default:e(()=>[...r[3]||(r[3]=[s("home",-1)])]),_:1})]),_:1})]),_:1}),t(h,null,{default:e(()=>[t(f,{"fill-height":"","text-xs-center":""},{default:e(()=>[t(p,{justify:"center"},{default:e(()=>[t(l,null,{default:e(()=>[o("strong",w,[r[4]||(r[4]=s(" Error while requesting resource at ",-1)),o("code",null,u(a.query.path),1)])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),t(q,{absolute:"",class:"pa-3"},{default:e(()=>[t(l,{class:"d-flex pa-0 justify-center py-3 text-caption"},{default:e(()=>[s(" ©"+u(new Date().getFullYear())+" — ",1),r[5]||(r[5]=o("strong",{class:"ml-1 mr-2"},[o("a",{target:"_blank",href:"https://github.com/sponsors/robertsLando"},"Daniel Lando")],-1)),r[6]||(r[6]=s(" All Rights Reserved. ",-1))]),_:1})]),_:1})]),_:1})}const B=y(k,[["render",C]]);export{B as default};