diff --git a/src/NODE_ISSUES.txt b/src/NODE_ISSUES.txt new file mode 100644 index 0000000..4f92516 --- /dev/null +++ b/src/NODE_ISSUES.txt @@ -0,0 +1,32 @@ +Issue: + +opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ], +library: 'digital envelope routines', +reason: 'unsupported', +code: 'ERR_OSSL_EVP_UNSUPPORTED' + +Here are two options now - + + Try to uninstall Node.js version 17+ and reinstall Node.js version 16+ + +1. You can re-install the current LTS Node.js version from their Official site. Or more specific downloads from here; + +2. You can use NVM (Node Version Manager) + + Linux and Mac users can use this nvm package link + Windows users can use this nvm package link + + Open a terminal and paste these as described: + + Linux and macOS (Windows Git Bash)- + + export NODE_OPTIONS=--openssl-legacy-provider + + Windows command prompt- + + set NODE_OPTIONS=--openssl-legacy-provider + + Windows PowerShell- + + $env:NODE_OPTIONS = "--openssl-legacy-provider" + diff --git a/src/public/alert.mp3 b/src/public/alert.mp3 new file mode 100644 index 0000000..ebf4380 Binary files /dev/null and b/src/public/alert.mp3 differ diff --git a/src/public/global.css b/src/public/global.css index 54f09fa..87d3818 100644 --- a/src/public/global.css +++ b/src/public/global.css @@ -1 +1 @@ -::-webkit-scrollbar{width:10px}::-webkit-scrollbar-track-piece{background-color:#fff}::-webkit-scrollbar-thumb{background-color:#cbcbcb;outline:2px solid #fff;outline-offset:-2px;border:.1px solid #b7b7b7}::-webkit-scrollbar-thumb:hover{background-color:#909090}iframe{display:none !important}body{background-color:#0c0b10 !important}body .MuiButton-root.MuiButton-contained,body .MuiTab-root.Mui-selected{border-radius:5px;background-color:#664eff}body .MuiButton-root.MuiButton-contained:hover,body .MuiTab-root.Mui-selected:hover{filter:brightness(0.7);transform:none !important}body .swal2-modal{background-color:#000 !important;border:1px solid #fff;color:#fff !important}body #root{min-height:100vh}body #root .css-1cjsu7f-MuiPaper-root-MuiDrawer-paper .MuiList-root .MuiBox-root{border-radius:0}body #root .css-1cjsu7f-MuiPaper-root-MuiDrawer-paper .MuiList-root .MuiBox-root .MuiListItemIcon-root{background-color:#151419 !important}body #root .css-1cjsu7f-MuiPaper-root-MuiDrawer-paper .MuiList-root .MuiBox-root .MuiListItemIcon-root svg{fill:#fff !important}body #root .css-1cjsu7f-MuiPaper-root-MuiDrawer-paper .MuiList-root .MuiBox-root.css-wac2lw{border-left:3px solid #664eff;background-color:#151419 !important}body #root .css-1cjsu7f-MuiPaper-root-MuiDrawer-paper .MuiList-root .MuiBox-root.css-wac2lw:hover{background-color:#151419 !important}body #root .css-1cjsu7f-MuiPaper-root-MuiDrawer-paper .MuiList-root .MuiBox-root:hover{background-color:#151419 !important;color:#fff !important}body #root .css-8t2800,body #root .css-8t2800 .MuiInputBase-root,body #root .css-8t2800 input,body #root .css-19i8cn2,body #root .css-19i8cn2 input,body #root .css-19i8cn2 .MuiInputBase-root{border:none;border-radius:5px;background:#151419 !important}body #root .css-8t2800 .css-unz5y7,body #root .css-8t2800 .MuiInputBase-root .css-unz5y7,body #root .css-8t2800 input .css-unz5y7,body #root .css-19i8cn2 .css-unz5y7,body #root .css-19i8cn2 input .css-unz5y7,body #root .css-19i8cn2 .MuiInputBase-root .css-unz5y7{color:#fff !important}body #root .css-8t2800 .css-unz5y7 .MuiIcon-root,body #root .css-8t2800 .MuiInputBase-root .css-unz5y7 .MuiIcon-root,body #root .css-8t2800 input .css-unz5y7 .MuiIcon-root,body #root .css-19i8cn2 .css-unz5y7 .MuiIcon-root,body #root .css-19i8cn2 input .css-unz5y7 .MuiIcon-root,body #root .css-19i8cn2 .MuiInputBase-root .css-unz5y7 .MuiIcon-root{color:#fff !important}body #root header.MuiAppBar-root{border-radius:5px}@media screen and (max-width: 600px){body #root .css-141xdzq{justify-content:end}body #root .css-1edr710{display:none}}body #root .Card-Root{background:#151419 !important;border-radius:5px}body #root .Card-Fix{border-radius:5px}body #root .Configurator{background:#151419 !important}body #root .css-1lcz7bp-MuiPaper-root-MuiCard-root .css-uo81m3{background:rgba(0,0,0,0) !important}/*# sourceMappingURL=global.css.map */ \ No newline at end of file +::-webkit-scrollbar{width:10px}::-webkit-scrollbar-track-piece{background-color:#fff}::-webkit-scrollbar-thumb{background-color:#cbcbcb;outline:2px solid #fff;outline-offset:-2px;border:.1px solid #b7b7b7}::-webkit-scrollbar-thumb:hover{background-color:#909090}iframe{display:none !important}body{background-color:#0c0b10 !important}body .MuiButton-root.MuiButton-contained,body .MuiTab-root.Mui-selected{border-radius:5px;background-color:#664eff}body .MuiButton-root.MuiButton-contained:hover,body .MuiTab-root.Mui-selected:hover{filter:brightness(0.7);transform:none !important}body #root{min-height:100vh}body #root .css-1cjsu7f-MuiPaper-root-MuiDrawer-paper .MuiList-root .MuiBox-root{border-radius:0}body #root .css-1cjsu7f-MuiPaper-root-MuiDrawer-paper .MuiList-root .MuiBox-root .MuiListItemIcon-root{background-color:#151419 !important}body #root .css-1cjsu7f-MuiPaper-root-MuiDrawer-paper .MuiList-root .MuiBox-root .MuiListItemIcon-root svg{fill:#fff !important}body #root .css-1cjsu7f-MuiPaper-root-MuiDrawer-paper .MuiList-root .MuiBox-root.css-wac2lw{border-left:3px solid #664eff;background-color:#151419 !important}body #root .css-1cjsu7f-MuiPaper-root-MuiDrawer-paper .MuiList-root .MuiBox-root.css-wac2lw:hover{background-color:#151419 !important}body #root .css-1cjsu7f-MuiPaper-root-MuiDrawer-paper .MuiList-root .MuiBox-root:hover{background-color:#151419 !important;color:#fff !important}body #root .css-8t2800,body #root .css-8t2800 .MuiInputBase-root,body #root .css-8t2800 input,body #root .css-19i8cn2,body #root .css-19i8cn2 input,body #root .css-19i8cn2 .MuiInputBase-root{border:none;border-radius:5px;background:#151419 !important}body #root .css-8t2800 .css-unz5y7,body #root .css-8t2800 .MuiInputBase-root .css-unz5y7,body #root .css-8t2800 input .css-unz5y7,body #root .css-19i8cn2 .css-unz5y7,body #root .css-19i8cn2 input .css-unz5y7,body #root .css-19i8cn2 .MuiInputBase-root .css-unz5y7{color:#fff !important}body #root .css-8t2800 .css-unz5y7 .MuiIcon-root,body #root .css-8t2800 .MuiInputBase-root .css-unz5y7 .MuiIcon-root,body #root .css-8t2800 input .css-unz5y7 .MuiIcon-root,body #root .css-19i8cn2 .css-unz5y7 .MuiIcon-root,body #root .css-19i8cn2 input .css-unz5y7 .MuiIcon-root,body #root .css-19i8cn2 .MuiInputBase-root .css-unz5y7 .MuiIcon-root{color:#fff !important}body #root header.MuiAppBar-root{border-radius:5px}@media screen and (max-width: 600px){body #root .css-141xdzq{justify-content:end}body #root .css-1edr710{display:none}}body #root .Card-Root{background:#151419 !important;border-radius:5px}body #root .Card-Fix{border-radius:5px}body #root .Configurator{background:#151419 !important}body #root .css-1lcz7bp-MuiPaper-root-MuiCard-root .css-uo81m3{background:rgba(0,0,0,0) !important}body #AlarmImage{position:fixed;top:10vh;right:-100%;z-index:9999;background:rgba(21,20,25,.5) !important;border-radius:0 !important;border-left:3px solid #664eff;transition:all .3s}body #AlarmImage.active{right:20px}body #AlarmImage:hover{background:#151419 !important}body #AlarmImage .layout{padding:10px 50px 10px 10px;display:flex;align-items:center;justify-content:center;margin-bottom:10px}body #AlarmImage .btn{width:100%;display:flex}body #AlarmImage .btn a{flex:1;padding:5px;font-size:12px;color:#fff !important;text-align:center;cursor:pointer}body #AlarmImage .btn a.c{background-color:rgba(30,31,35,.5)}body #AlarmImage .btn a.c:hover{background-color:#1e1f23}body #AlarmImage .btn a.v{background-color:rgba(102,78,255,.5)}body #AlarmImage .btn a.v:hover{background-color:#664eff}body #AlarmImage ion-icon{color:#ffea00;font-size:20px;margin:0 20px 0 5px}body #AlarmImage h4{font-size:14px;color:#fff !important}body #AlarmImage p{font-size:12px;color:#fff !important}/*# sourceMappingURL=global.css.map */ \ No newline at end of file diff --git a/src/public/global.css.map b/src/public/global.css.map index 087a3c2..24b6363 100644 --- a/src/public/global.css.map +++ b/src/public/global.css.map @@ -1 +1 @@ -{"version":3,"sources":["global.scss"],"names":[],"mappings":"AAIA,oBACC,UAAA,CAGD,gCACC,qBAAA,CAGD,0BACC,wBAAA,CACA,sBAAA,CACA,mBAAA,CACA,yBAAA,CAGD,gCACC,wBAAA,CAGD,OACI,uBAAA,CAEJ,KACI,mCAAA,CACA,wEACI,iBAAA,CACA,wBA3BW,CA4BX,oFAEI,sBAAA,CACA,yBAAA,CAGR,kBACI,gCAAA,CACA,qBAAA,CACA,qBAAA,CAEJ,WACI,gBAAA,CAIQ,iFACI,eAAA,CACA,uGACI,mCAAA,CACA,2GACI,oBAAA,CAMR,4FACI,6BAAA,CACA,mCAAA,CACA,kGACI,mCAAA,CAIR,uFACI,mCAAA,CACA,qBAAA,CAMhB,+LACI,WAAA,CACA,iBAAA,CACA,6BAAA,CACA,uQAII,qBAAA,CAHA,2VACI,qBAAA,CAKZ,iCACI,iBAAA,CAIJ,qCACI,wBACI,mBAAA,CAEJ,wBACI,YAAA,CAAA,CAKR,sBACI,6BAAA,CACA,iBAAA,CAEJ,qBACI,iBAAA,CAEJ,yBACI,6BAAA,CAGA,+DACI,mCAAA","file":"global.css"} \ No newline at end of file +{"version":3,"sources":["global.scss"],"names":[],"mappings":"AAIA,oBACC,UAAA,CAGD,gCACC,qBAAA,CAGD,0BACC,wBAAA,CACA,sBAAA,CACA,mBAAA,CACA,yBAAA,CAGD,gCACC,wBAAA,CAKD,OACI,uBAAA,CAEJ,KACI,mCAAA,CACA,wEACI,iBAAA,CACA,wBA7BW,CA8BX,oFAEI,sBAAA,CACA,yBAAA,CAGR,WACI,gBAAA,CAIQ,iFACI,eAAA,CACA,uGACI,mCAAA,CACA,2GACI,oBAAA,CAMR,4FACI,6BAAA,CACA,mCAAA,CACA,kGACI,mCAAA,CAIR,uFACI,mCAAA,CACA,qBAAA,CAMhB,+LACI,WAAA,CACA,iBAAA,CACA,6BAAA,CACA,uQAII,qBAAA,CAHA,2VACI,qBAAA,CAKZ,iCACI,iBAAA,CAIJ,qCACI,wBACI,mBAAA,CAEJ,wBACI,YAAA,CAAA,CAKR,sBACI,6BAAA,CACA,iBAAA,CAEJ,qBACI,iBAAA,CAEJ,yBACI,6BAAA,CAGA,+DACI,mCAAA,CAMZ,iBACI,cAAA,CACA,QAAA,CACA,WAAA,CACA,YAAA,CAEA,uCAAA,CACA,0BAAA,CACA,6BAAA,CACA,kBAAA,CACA,wBACI,UAAA,CAEJ,uBACI,6BAAA,CAKJ,yBACI,2BAAA,CACA,YAAA,CACA,kBAAA,CACA,sBAAA,CACA,kBAAA,CAEJ,sBACI,UAAA,CACA,YAAA,CACA,wBACI,MAAA,CACA,WAAA,CACA,cAAA,CACA,qBAAA,CACA,iBAAA,CACA,cAAA,CACA,0BACI,kCAAA,CACA,gCACI,wBAAA,CAGR,0BACI,oCAAA,CACA,gCACI,wBA7JL,CAkKX,0BACI,aAAA,CACA,cAAA,CACA,mBAAA,CAGJ,oBACI,cAAA,CACA,qBAAA,CAEJ,mBACI,cAAA,CACA,qBAAA","file":"global.css"} \ No newline at end of file diff --git a/src/public/global.scss b/src/public/global.scss index e7db2ce..ffed5a8 100644 --- a/src/public/global.scss +++ b/src/public/global.scss @@ -20,7 +20,9 @@ $highlight-color2: #664eff; ::-webkit-scrollbar-thumb:hover{ background-color: #909090; } - +* { + // box-sizing: border-box; +} iframe { display: none !important; } @@ -62,7 +64,7 @@ body { &:hover { background-color: $primary-color !important; } - + } &:hover { background-color: $primary-color !important; @@ -71,7 +73,7 @@ body { } } } - // Header + // Header .css-8t2800, .css-8t2800 .MuiInputBase-root, .css-8t2800 input, .css-19i8cn2, .css-19i8cn2 input, .css-19i8cn2 .MuiInputBase-root{ border: none; border-radius: 5px; @@ -113,6 +115,72 @@ body { background: transparent !important; } } - + + } + + #AlarmImage { + position: fixed; + top: 10vh; + right: -100%; + z-index: 9999; + // background-color: $secondary-color; + background: rgba($primary-color, 0.5) !important; + border-radius: 0 !important; + border-left: 3px solid $highlight-color2; + transition: all 0.3s; + &.active { + right: 20px; + } + &:hover { + background: rgba($primary-color, 1) !important; + // border: 0.5px solid #fff; + // border-left: 3px solid $highlight-color2; + } + + .layout { + padding: 10px 50px 10px 10px; + display: flex; + align-items: center; + justify-content: center; + margin-bottom: 10px; + } + .btn { + width: 100%; + display: flex; + a { + flex: 1; + padding: 5px; + font-size: 12px; + color: white !important; + text-align: center; + cursor: pointer; + &.c { + background-color: rgba(#1e1f23, 0.5); + &:hover { + background-color: #1e1f23; + } + } + &.v { + background-color: rgba($highlight-color2, 0.5); + &:hover { + background-color: $highlight-color2; + } + } + } + } + ion-icon { + color: #FFEA00; + font-size: 20px; + margin: 0 20px 0 5px; + + } + h4 { + font-size: 14px; + color: white !important; + } + p { + font-size: 12px; + color: white !important; + } } } \ No newline at end of file diff --git a/src/public/index.html b/src/public/index.html index 08d5beb..1cdc495 100644 --- a/src/public/index.html +++ b/src/public/index.html @@ -37,4 +37,28 @@