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
14 KiB
1 line
14 KiB
3 years ago
|
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[753],{6187:function(e,n,t){"use strict";t.d(n,{Z:function(){return _}});var r=t(5893),o=t(6265),i=t(7294),s=t(5258),c=t(1120),a=t(7748),l=t(282),u=[{text:"Files",image:"/pngs/files_on.png",uri:"/striker?files=true"},{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"},p=t(8788),f=t(7159),x=t(2822),m=t(998),h=t(5517),g=t(7623),b=t(442),j=t(4724);function v(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function y(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?v(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):v(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var w=(0,c.Z)((function(){return(0,g.Z)({list:{width:"200px"},divider:{background:p.d},text:{paddingTop:".5em",paddingLeft:"1.5em"},dashboardButton:{paddingLeft:".1em"},dashboardIcon:{fontSize:"2.3em",color:p.s7}})})),Z=function(e){var n=e.open,t=e.setOpen,o=w();return(0,r.jsx)(f.ZP,{BackdropProps:{invisible:!0},anchor:"left",open:n,onClose:function(){return t(!n)},children:(0,r.jsx)("div",{role:"presentation",children:(0,r.jsxs)(x.Z,{className:o.list,children:[(0,r.jsx)(m.Z,{button:!0,children:(0,r.jsx)(j.z,{text:"Admin"})}),(0,r.jsx)(h.Z,{className:o.divider}),(0,r.jsx)(m.Z,{button:!0,component:"a",href:"/index.html",children:(0,r.jsxs)(a.Z,{display:"flex",flexDirection:"row",width:"100%",children:[(0,r.jsx)(a.Z,{className:o.dashboardButton,children:(0,r.jsx)(b.Z,{className:o.dashboardIcon})}),(0,r.jsx)(a.Z,{flexGrow:1,className:o.text,children:(0,r.jsx)(j.A,{text:"Dashboard"})})]})}),u.map((function(e){return(0,r.jsx)(m.Z,{button:!0,component:"a",href:-1!==e.uri.search(/^https?:/)?e.uri:"".concat("/cgi-bin").concat(e.uri),children:(0,r.jsxs)(a.Z,{display:"flex",flexDirection:"row",width:"100%",children:[(0,r.jsx)(a.Z,{children:(0,r.jsx)("img",y({alt:"",src:e.image},d),"icon")}),(0,r.jsx)(a.Z,{flexGrow:1,className:o.text,children:(0,r.jsx)(j.A,{text:e.text})})]})},e.image)}))]})})})};function k(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function C(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?k(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):k(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var N=(0,c.Z)((function(e){return{appBar:{paddingTop:e.spacing(.5),paddingBottom:e.spacing(.5),paddingLeft:e.spacing(3),paddingRight:e.spacing(3),borderBottom:"solid 1px",borderBottomColor:p.hM},input:{height:"2.8em",width:"30vw",backgroundColor:e.palette.secondary.main,borderRadius:p.n_},barElement:{padding:0},iconBox:(0,o.Z)({},e.breakpoints.down("sm"),{display:"none"}),searchBar:(0,o.Z)({},e.breakpoints.down("sm"),{flexGrow:1,paddingLeft:"15vw"}),icons:{paddingLeft:".1em",paddingRight:".1em"}}})),_=function(){var e=N(),n=(0,i.useState)(!1),t=n[0],o=n[1];return(0,r.jsxs)(s.Z,{position:"static",className:e.appBar,children:[(0,r.jsxs)(a.Z,{display:"flex",justifyContent:"space-between",flexDirecti
|