You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
8.5 KiB
1 line
8.5 KiB
3 years ago
|
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[478],{8750:function(e,n,t){t.d(n,{Z:function(){return B}});var r=t(5893),o=t(7294),i=t(1496),a=t(2293),c=t(7357),s=t(3321),l=[{text:"Files",image:"/pngs/files_on.png",uri:"/../file-manager"},{text:"Tasks",image:"/pngs/tasks_no-jobs_icon.png",uri:"/striker?jobs=true"},{text:"Configure",image:"/pngs/configure_icon_on.png",uri:"/striker?configure=true"},{text:"Striker",image:"/pngs/striker_icon_on.png",uri:"/striker?striker=true"},{text:"Anvil",image:"/pngs/anvil_icon_on.png",uri:"/striker?anvil=true"},{text:"Email",image:"/pngs/email_on.png",uri:"/striker?email=true"},{text:"Logout",image:"/pngs/users_icon_on.png",uri:"/striker?logout=true"},{text:"Help",image:"/pngs/help_icon_on.png",uri:"https://alteeve.com/w/Support"}],d={width:"40em",height:"40em"},u=t(7169),p=t(7533),m=t(8462),b=t(891),f=t(7720),g=t(5709),h=t(3430);function x(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function v(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),r.forEach((function(n){x(e,n,t[n])}))}return e}var j="AnvilDrawer",w={list:"".concat(j,"-list"),divider:"".concat(j,"-divider"),text:"".concat(j,"-text"),dashboardButton:"".concat(j,"-dashboardButton"),dashboardIcon:"".concat(j,"-dashboardIcon")},Z=(0,i.ZP)(p.ZP)((function(){var e;return x(e={},"& .".concat(w.list),{width:"200px"}),x(e,"& .".concat(w.divider),{backgroundColor:u.d}),x(e,"& .".concat(w.text),{paddingTop:".5em",paddingLeft:"1.5em"}),x(e,"& .".concat(w.dashboardButton),{paddingLeft:".1em"}),x(e,"& .".concat(w.dashboardIcon),{fontSize:"2.3em",color:u.s7}),e})),y=function(e){var n=e.open,t=e.setOpen;return(0,r.jsx)(Z,{BackdropProps:{invisible:!0},anchor:"left",open:n,onClose:function(){return t(!n)},children:(0,r.jsx)("div",{role:"presentation",children:(0,r.jsxs)(m.Z,{className:w.list,children:[(0,r.jsx)(b.ZP,{button:!0,children:(0,r.jsx)(h.z,{text:"Admin"})}),(0,r.jsx)(f.Z,{className:w.divider}),(0,r.jsx)(b.ZP,{button:!0,component:"a",href:"/index.html",children:(0,r.jsxs)(c.Z,{display:"flex",flexDirection:"row",width:"100%",children:[(0,r.jsx)(c.Z,{className:w.dashboardButton,children:(0,r.jsx)(g.Z,{className:w.dashboardIcon})}),(0,r.jsx)(c.Z,{flexGrow:1,className:w.text,children:(0,r.jsx)(h.A,{text:"Dashboard"})})]})}),l.map((function(e){return(0,r.jsx)(b.ZP,{button:!0,component:"a",href:-1!==e.uri.search(/^https?:/)?e.uri:"".concat("/cgi-bin").concat(e.uri),children:(0,r.jsxs)(c.Z,{display:"flex",flexDirection:"row",width:"100%",children:[(0,r.jsx)(c.Z,{children:(0,r.jsx)("img",v({alt:"",src:e.image},d),"icon")}),(0,r.jsx)(c.Z,{flexGrow:1,className:w.text,children:(0,r.jsx)(h.A,{text:e.text})})]})},e.image)}))]})})})};function k(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function P(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),r.forEach((function(n){k(e,n,t[n])}))}return e}var _="Header",S={input:"".concat(_,"-input"),barElement:"".concat(_,"-barElement"),iconBox:"".concat(_,"-iconBox"),searchBar:"".concat(_,"-searchBar"),icons:"".concat(_,"-icons")},O=(0,i.ZP)(a.Z)((function(e){var n,t=e.theme;return k(n={paddingTop:t.spacing(.5),paddingBottom:t.spacing(.5),paddingLeft:t.spacing(3),paddingRight:t.spacing(3),borderBottom:"solid 1px",borderBottomColor:u.hM,position:"static"},"& .".concat(S.input),{height:"2.8em",width:"30vw",backgroundColor:t.palette.secondary.main,borderRadius:u.n_}),k(n,"& .".concat(S.barElement),{padding:0}),k(n,"& .".concat(S.iconBox),k({},t.breakpoints.down("sm"),{display:"none"})),k(n,"& .".concat(S.searchBar),k({},t.bre
|