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