update for date selection

This commit is contained in:
2021-08-11 20:52:02 +05:30
parent 2af2e4cdc2
commit c41a40cde8
66 changed files with 12552 additions and 151 deletions

View File

@ -1,50 +1,54 @@
{ {
"files": { "files": {
"static/css/0.0ef68903.chunk.css": "./static/css/0.0ef68903.chunk.css", "static/css/0.455ee148.chunk.css": "./static/css/0.455ee148.chunk.css",
"static/js/0.e27bb3c3.chunk.js": "./static/js/0.e27bb3c3.chunk.js", "static/js/0.e423db2b.chunk.js": "./static/js/0.e423db2b.chunk.js",
"static/js/0.e27bb3c3.chunk.js.map": "./static/js/0.e27bb3c3.chunk.js.map", "static/js/0.e423db2b.chunk.js.map": "./static/js/0.e423db2b.chunk.js.map",
"static/js/1.02f0536f.chunk.js": "./static/js/1.02f0536f.chunk.js", "static/js/1.bd3709d0.chunk.js": "./static/js/1.bd3709d0.chunk.js",
"static/js/1.02f0536f.chunk.js.map": "./static/js/1.02f0536f.chunk.js.map", "static/js/1.bd3709d0.chunk.js.map": "./static/js/1.bd3709d0.chunk.js.map",
"main.css": "./static/css/main.4ecfe4c7.chunk.css", "main.css": "./static/css/main.12e98d00.chunk.css",
"main.js": "./static/js/main.6ff0bdc6.chunk.js", "main.js": "./static/js/main.c02dc652.chunk.js",
"main.js.map": "./static/js/main.6ff0bdc6.chunk.js.map", "main.js.map": "./static/js/main.c02dc652.chunk.js.map",
"runtime-main.js": "./static/js/runtime-main.e1b9f488.js", "runtime-main.js": "./static/js/runtime-main.bac569c0.js",
"runtime-main.js.map": "./static/js/runtime-main.e1b9f488.js.map", "runtime-main.js.map": "./static/js/runtime-main.bac569c0.js.map",
"static/js/4.73638290.chunk.js": "./static/js/4.73638290.chunk.js", "static/js/4.2aecef49.chunk.js": "./static/js/4.2aecef49.chunk.js",
"static/js/4.73638290.chunk.js.map": "./static/js/4.73638290.chunk.js.map", "static/js/4.2aecef49.chunk.js.map": "./static/js/4.2aecef49.chunk.js.map",
"static/js/5.f737bceb.chunk.js": "./static/js/5.f737bceb.chunk.js", "static/css/5.ecdd39c8.chunk.css": "./static/css/5.ecdd39c8.chunk.css",
"static/js/5.f737bceb.chunk.js.map": "./static/js/5.f737bceb.chunk.js.map", "static/js/5.713b21d1.chunk.js": "./static/js/5.713b21d1.chunk.js",
"static/js/6.e3c13f5e.chunk.js": "./static/js/6.e3c13f5e.chunk.js", "static/js/5.713b21d1.chunk.js.map": "./static/js/5.713b21d1.chunk.js.map",
"static/js/6.e3c13f5e.chunk.js.map": "./static/js/6.e3c13f5e.chunk.js.map", "static/js/6.bba51257.chunk.js": "./static/js/6.bba51257.chunk.js",
"static/js/7.c0512e9f.chunk.js": "./static/js/7.c0512e9f.chunk.js", "static/js/6.bba51257.chunk.js.map": "./static/js/6.bba51257.chunk.js.map",
"static/js/7.c0512e9f.chunk.js.map": "./static/js/7.c0512e9f.chunk.js.map", "static/js/7.978d3646.chunk.js": "./static/js/7.978d3646.chunk.js",
"static/js/8.b6cab072.chunk.js": "./static/js/8.b6cab072.chunk.js", "static/js/7.978d3646.chunk.js.map": "./static/js/7.978d3646.chunk.js.map",
"static/js/8.b6cab072.chunk.js.map": "./static/js/8.b6cab072.chunk.js.map", "static/js/8.40731ea8.chunk.js": "./static/js/8.40731ea8.chunk.js",
"static/js/9.67caa7ac.chunk.js": "./static/js/9.67caa7ac.chunk.js", "static/js/8.40731ea8.chunk.js.map": "./static/js/8.40731ea8.chunk.js.map",
"static/js/9.67caa7ac.chunk.js.map": "./static/js/9.67caa7ac.chunk.js.map", "static/js/9.311e2cfe.chunk.js": "./static/js/9.311e2cfe.chunk.js",
"static/js/10.e00f2607.chunk.js": "./static/js/10.e00f2607.chunk.js", "static/js/9.311e2cfe.chunk.js.map": "./static/js/9.311e2cfe.chunk.js.map",
"static/js/10.e00f2607.chunk.js.map": "./static/js/10.e00f2607.chunk.js.map", "static/js/10.1aee78b2.chunk.js": "./static/js/10.1aee78b2.chunk.js",
"static/js/11.1a621126.chunk.js": "./static/js/11.1a621126.chunk.js", "static/js/10.1aee78b2.chunk.js.map": "./static/js/10.1aee78b2.chunk.js.map",
"static/js/11.1a621126.chunk.js.map": "./static/js/11.1a621126.chunk.js.map", "static/js/11.d20ada69.chunk.js": "./static/js/11.d20ada69.chunk.js",
"static/js/12.191a20e6.chunk.js": "./static/js/12.191a20e6.chunk.js", "static/js/11.d20ada69.chunk.js.map": "./static/js/11.d20ada69.chunk.js.map",
"static/js/12.191a20e6.chunk.js.map": "./static/js/12.191a20e6.chunk.js.map", "static/js/12.2c871bc8.chunk.js": "./static/js/12.2c871bc8.chunk.js",
"static/js/13.c6fea114.chunk.js": "./static/js/13.c6fea114.chunk.js", "static/js/12.2c871bc8.chunk.js.map": "./static/js/12.2c871bc8.chunk.js.map",
"static/js/13.c6fea114.chunk.js.map": "./static/js/13.c6fea114.chunk.js.map", "static/js/13.886a98ec.chunk.js": "./static/js/13.886a98ec.chunk.js",
"static/js/14.06466d45.chunk.js": "./static/js/14.06466d45.chunk.js", "static/js/13.886a98ec.chunk.js.map": "./static/js/13.886a98ec.chunk.js.map",
"static/js/14.06466d45.chunk.js.map": "./static/js/14.06466d45.chunk.js.map", "static/js/14.ef6f2a9c.chunk.js": "./static/js/14.ef6f2a9c.chunk.js",
"static/js/15.1bb2dbef.chunk.js": "./static/js/15.1bb2dbef.chunk.js", "static/js/14.ef6f2a9c.chunk.js.map": "./static/js/14.ef6f2a9c.chunk.js.map",
"static/js/15.1bb2dbef.chunk.js.map": "./static/js/15.1bb2dbef.chunk.js.map", "static/js/15.e3d77fc1.chunk.js": "./static/js/15.e3d77fc1.chunk.js",
"static/js/15.e3d77fc1.chunk.js.map": "./static/js/15.e3d77fc1.chunk.js.map",
"static/js/16.3fdf9cdf.chunk.js": "./static/js/16.3fdf9cdf.chunk.js",
"static/js/16.3fdf9cdf.chunk.js.map": "./static/js/16.3fdf9cdf.chunk.js.map",
"index.html": "./index.html", "index.html": "./index.html",
"static/css/0.0ef68903.chunk.css.map": "./static/css/0.0ef68903.chunk.css.map", "static/css/0.455ee148.chunk.css.map": "./static/css/0.455ee148.chunk.css.map",
"static/css/main.4ecfe4c7.chunk.css.map": "./static/css/main.4ecfe4c7.chunk.css.map", "static/css/5.ecdd39c8.chunk.css.map": "./static/css/5.ecdd39c8.chunk.css.map",
"static/js/0.e27bb3c3.chunk.js.LICENSE.txt": "./static/js/0.e27bb3c3.chunk.js.LICENSE.txt", "static/css/main.12e98d00.chunk.css.map": "./static/css/main.12e98d00.chunk.css.map",
"static/js/4.73638290.chunk.js.LICENSE.txt": "./static/js/4.73638290.chunk.js.LICENSE.txt", "static/js/0.e423db2b.chunk.js.LICENSE.txt": "./static/js/0.e423db2b.chunk.js.LICENSE.txt",
"static/js/5.f737bceb.chunk.js.LICENSE.txt": "./static/js/5.f737bceb.chunk.js.LICENSE.txt" "static/js/4.2aecef49.chunk.js.LICENSE.txt": "./static/js/4.2aecef49.chunk.js.LICENSE.txt",
"static/js/6.bba51257.chunk.js.LICENSE.txt": "./static/js/6.bba51257.chunk.js.LICENSE.txt"
}, },
"entrypoints": [ "entrypoints": [
"static/js/runtime-main.e1b9f488.js", "static/js/runtime-main.bac569c0.js",
"static/js/4.73638290.chunk.js", "static/js/4.2aecef49.chunk.js",
"static/css/main.4ecfe4c7.chunk.css", "static/css/main.12e98d00.chunk.css",
"static/js/main.6ff0bdc6.chunk.js" "static/js/main.c02dc652.chunk.js"
] ]
} }

View File

@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="description" content="CoreUI for React - Open Source Bootstrap Admin Template"><meta name="author" content="Łukasz Holeczek"><meta name="keyword" content="Bootstrap,Admin,Template,Open,Source,CSS,SCSS,HTML,RWD,Dashboard,React"><title>FBS Admin tool</title><link rel="manifest" href="./manifest.json"><link rel="shortcut icon" href="./favicon.ico"><link href="./static/css/main.4ecfe4c7.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function t(t){for(var n,o,u=t[0],f=t[1],i=t[2],l=0,d=[];l<u.length;l++)o=u[l],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&d.push(a[o][0]),a[o]=0;for(n in f)Object.prototype.hasOwnProperty.call(f,n)&&(e[n]=f[n]);for(s&&s(t);d.length;)d.shift()();return c.push.apply(c,i||[]),r()}function r(){for(var e,t=0;t<c.length;t++){for(var r=c[t],n=!0,o=1;o<r.length;o++){var f=r[o];0!==a[f]&&(n=!1)}n&&(c.splice(t--,1),e=u(u.s=r[0]))}return e}var n={},o={3:0},a={3:0},c=[];function u(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,u),r.l=!0,r.exports}u.e=function(e){var t=[];o[e]?t.push(o[e]):0!==o[e]&&{0:1}[e]&&t.push(o[e]=new Promise((function(t,r){for(var n="static/css/"+({}[e]||e)+"."+{0:"0ef68903",1:"31d6cfe0",5:"31d6cfe0",6:"31d6cfe0",7:"31d6cfe0",8:"31d6cfe0",9:"31d6cfe0",10:"31d6cfe0",11:"31d6cfe0",12:"31d6cfe0",13:"31d6cfe0",14:"31d6cfe0",15:"31d6cfe0"}[e]+".chunk.css",a=u.p+n,c=document.getElementsByTagName("link"),f=0;f<c.length;f++){var i=(s=c[f]).getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(i===n||i===a))return t()}var l=document.getElementsByTagName("style");for(f=0;f<l.length;f++){var s;if((i=(s=l[f]).getAttribute("data-href"))===n||i===a)return t()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.onload=t,d.onerror=function(t){var n=t&&t.target&&t.target.src||a,c=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");c.code="CSS_CHUNK_LOAD_FAILED",c.request=n,delete o[e],d.parentNode.removeChild(d),r(c)},d.href=a,document.getElementsByTagName("head")[0].appendChild(d)})).then((function(){o[e]=0})));var r=a[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=a[e]=[t,n]}));t.push(r[2]=n);var c,f=document.createElement("script");f.charset="utf-8",f.timeout=120,u.nc&&f.setAttribute("nonce",u.nc),f.src=function(e){return u.p+"static/js/"+({}[e]||e)+"."+{0:"e27bb3c3",1:"02f0536f",5:"f737bceb",6:"e3c13f5e",7:"c0512e9f",8:"b6cab072",9:"67caa7ac",10:"e00f2607",11:"1a621126",12:"191a20e6",13:"c6fea114",14:"06466d45",15:"1bb2dbef"}[e]+".chunk.js"}(e);var i=new Error;c=function(t){f.onerror=f.onload=null,clearTimeout(l);var r=a[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;i.message="Loading chunk "+e+" failed.\n("+n+": "+o+")",i.name="ChunkLoadError",i.type=n,i.request=o,r[1](i)}a[e]=void 0}};var l=setTimeout((function(){c({type:"timeout",target:f})}),12e4);f.onerror=f.onload=c,document.head.appendChild(f)}return Promise.all(t)},u.m=e,u.c=n,u.d=function(e,t,r){u.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},u.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,t){if(1&t&&(e=u(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(u.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)u.d(r,n,function(t){return e[t]}.bind(null,n));return r},u.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(t,"a",t),t},u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},u.p="./",u.oe=function(e){throw console.error(e),e};var f=this["webpackJsonp@coreui/coreui-free-react-admin-template"]=this["webpackJsonp@coreui/coreui-free-react-admin-template"]||[],i=f.push.bind(f);f.push=t,f=f.slice();for(var l=0;l<f.length;l++)t(f[l]);var s=i;r()}([])</script><script src="./static/js/4.73638290.chunk.js"></script><script src="./static/js/main.6ff0bdc6.chunk.js"></script></body></html> <!doctype html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="description" content="CoreUI for React - Open Source Bootstrap Admin Template"><meta name="author" content="Łukasz Holeczek"><meta name="keyword" content="Bootstrap,Admin,Template,Open,Source,CSS,SCSS,HTML,RWD,Dashboard,React"><title>FBS Admin tool</title><link rel="manifest" href="./manifest.json"><link rel="shortcut icon" href="./favicon.ico"><link href="./static/css/main.12e98d00.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function t(t){for(var n,o,u=t[0],i=t[1],f=t[2],d=0,s=[];d<u.length;d++)o=u[d],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&s.push(a[o][0]),a[o]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(l&&l(t);s.length;)s.shift()();return c.push.apply(c,f||[]),r()}function r(){for(var e,t=0;t<c.length;t++){for(var r=c[t],n=!0,o=1;o<r.length;o++){var i=r[o];0!==a[i]&&(n=!1)}n&&(c.splice(t--,1),e=u(u.s=r[0]))}return e}var n={},o={3:0},a={3:0},c=[];function u(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,u),r.l=!0,r.exports}u.e=function(e){var t=[];o[e]?t.push(o[e]):0!==o[e]&&{0:1,5:1}[e]&&t.push(o[e]=new Promise((function(t,r){for(var n="static/css/"+({}[e]||e)+"."+{0:"455ee148",1:"31d6cfe0",5:"ecdd39c8",6:"31d6cfe0",7:"31d6cfe0",8:"31d6cfe0",9:"31d6cfe0",10:"31d6cfe0",11:"31d6cfe0",12:"31d6cfe0",13:"31d6cfe0",14:"31d6cfe0",15:"31d6cfe0",16:"31d6cfe0"}[e]+".chunk.css",a=u.p+n,c=document.getElementsByTagName("link"),i=0;i<c.length;i++){var f=(l=c[i]).getAttribute("data-href")||l.getAttribute("href");if("stylesheet"===l.rel&&(f===n||f===a))return t()}var d=document.getElementsByTagName("style");for(i=0;i<d.length;i++){var l;if((f=(l=d[i]).getAttribute("data-href"))===n||f===a)return t()}var s=document.createElement("link");s.rel="stylesheet",s.type="text/css",s.onload=t,s.onerror=function(t){var n=t&&t.target&&t.target.src||a,c=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");c.code="CSS_CHUNK_LOAD_FAILED",c.request=n,delete o[e],s.parentNode.removeChild(s),r(c)},s.href=a,document.getElementsByTagName("head")[0].appendChild(s)})).then((function(){o[e]=0})));var r=a[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=a[e]=[t,n]}));t.push(r[2]=n);var c,i=document.createElement("script");i.charset="utf-8",i.timeout=120,u.nc&&i.setAttribute("nonce",u.nc),i.src=function(e){return u.p+"static/js/"+({}[e]||e)+"."+{0:"e423db2b",1:"bd3709d0",5:"713b21d1",6:"bba51257",7:"978d3646",8:"40731ea8",9:"311e2cfe",10:"1aee78b2",11:"d20ada69",12:"2c871bc8",13:"886a98ec",14:"ef6f2a9c",15:"e3d77fc1",16:"3fdf9cdf"}[e]+".chunk.js"}(e);var f=new Error;c=function(t){i.onerror=i.onload=null,clearTimeout(d);var r=a[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;f.message="Loading chunk "+e+" failed.\n("+n+": "+o+")",f.name="ChunkLoadError",f.type=n,f.request=o,r[1](f)}a[e]=void 0}};var d=setTimeout((function(){c({type:"timeout",target:i})}),12e4);i.onerror=i.onload=c,document.head.appendChild(i)}return Promise.all(t)},u.m=e,u.c=n,u.d=function(e,t,r){u.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},u.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,t){if(1&t&&(e=u(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(u.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)u.d(r,n,function(t){return e[t]}.bind(null,n));return r},u.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(t,"a",t),t},u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},u.p="./",u.oe=function(e){throw console.error(e),e};var i=this["webpackJsonp@coreui/coreui-free-react-admin-template"]=this["webpackJsonp@coreui/coreui-free-react-admin-template"]||[],f=i.push.bind(i);i.push=t,i=i.slice();for(var d=0;d<i.length;d++)t(i[d]);var l=f;r()}([])</script><script src="./static/js/4.2aecef49.chunk.js"></script><script src="./static/js/main.c02dc652.chunk.js"></script></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -11,8 +11,8 @@
*/ */
/*! /*!
* perfect-scrollbar v1.5.0 * perfect-scrollbar v1.5.2
* Copyright 2020 Hyunje Jun, MDBootstrap and Contributors * Copyright 2021 Hyunje Jun, MDBootstrap and Contributors
* Licensed under MIT * Licensed under MIT
*/ */
@ -24,9 +24,3 @@
* This source code is licensed under the MIT license found in the * This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.
*/ */
/**!
* tippy.js v6.3.1
* (c) 2017-2021 atomiks
* MIT License
*/

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,2 @@
(this["webpackJsonp@coreui/coreui-free-react-admin-template"]=this["webpackJsonp@coreui/coreui-free-react-admin-template"]||[]).push([[10],{767:function(e,c,t){"use strict";t.r(c);t(1);var s=t(164),r=t(637),i=t(636),l=t(18);c.default=function(){return Object(l.jsx)("div",{className:"c-app c-default-layout flex-row align-items-center",children:Object(l.jsx)(r.l,{children:Object(l.jsx)(r.K,{className:"justify-content-center",children:Object(l.jsx)(r.k,{md:"8",children:Object(l.jsxs)(r.i,{children:[Object(l.jsx)(r.f,{className:"p-4",children:Object(l.jsx)(r.g,{children:Object(l.jsxs)(r.s,{children:[Object(l.jsx)("h1",{children:"Login"}),Object(l.jsx)("p",{className:"text-muted",children:"Sign In to your account"}),Object(l.jsxs)(r.D,{className:"mb-3",children:[Object(l.jsx)(r.F,{children:Object(l.jsx)(r.G,{children:Object(l.jsx)(i.a,{name:"cil-user"})})}),Object(l.jsx)(r.A,{type:"text",placeholder:"Username",autoComplete:"username"})]}),Object(l.jsxs)(r.D,{className:"mb-4",children:[Object(l.jsx)(r.F,{children:Object(l.jsx)(r.G,{children:Object(l.jsx)(i.a,{name:"cil-lock-locked"})})}),Object(l.jsx)(r.A,{type:"password",placeholder:"Password",autoComplete:"current-password"})]}),Object(l.jsxs)(r.K,{children:[Object(l.jsx)(r.k,{xs:"6",children:Object(l.jsx)(r.e,{color:"primary",className:"px-4",children:"Login"})}),Object(l.jsx)(r.k,{xs:"6",className:"text-right",children:Object(l.jsx)(r.e,{color:"link",className:"px-0",children:"Forgot password?"})})]})]})})}),Object(l.jsx)(r.f,{className:"text-white bg-primary py-5 d-md-down-none",style:{width:"44%"},children:Object(l.jsx)(r.g,{className:"text-center",children:Object(l.jsxs)("div",{children:[Object(l.jsx)("h2",{children:"Sign up"}),Object(l.jsx)("p",{children:"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."}),Object(l.jsx)(s.b,{to:"/register",children:Object(l.jsx)(r.e,{color:"primary",className:"mt-3",active:!0,tabIndex:-1,children:"Register Now!"})})]})})})]})})})})})}}}]);
//# sourceMappingURL=10.1aee78b2.chunk.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["views/pages/login/Login.js"],"names":["Login","className","md","name","type","placeholder","autoComplete","xs","color","style","width","to","active","tabIndex"],"mappings":"6KAAA,mDA6EeA,UA3DD,WACZ,OACE,qBAAKC,UAAU,qDAAf,SACE,cAAC,IAAD,UACE,cAAC,IAAD,CAAMA,UAAU,yBAAhB,SACE,cAAC,IAAD,CAAMC,GAAG,IAAT,SACE,eAAC,IAAD,WACE,cAAC,IAAD,CAAOD,UAAU,MAAjB,SACE,cAAC,IAAD,UACE,eAAC,IAAD,WACE,uCACA,mBAAGA,UAAU,aAAb,qCACA,eAAC,IAAD,CAAaA,UAAU,OAAvB,UACE,cAAC,IAAD,UACE,cAAC,IAAD,UACE,cAAC,IAAD,CAAOE,KAAK,iBAGhB,cAAC,IAAD,CAAQC,KAAK,OAAOC,YAAY,WAAWC,aAAa,gBAE1D,eAAC,IAAD,CAAaL,UAAU,OAAvB,UACE,cAAC,IAAD,UACE,cAAC,IAAD,UACE,cAAC,IAAD,CAAOE,KAAK,wBAGhB,cAAC,IAAD,CAAQC,KAAK,WAAWC,YAAY,WAAWC,aAAa,wBAE9D,eAAC,IAAD,WACE,cAAC,IAAD,CAAMC,GAAG,IAAT,SACE,cAAC,IAAD,CAASC,MAAM,UAAUP,UAAU,OAAnC,qBAEF,cAAC,IAAD,CAAMM,GAAG,IAAIN,UAAU,aAAvB,SACE,cAAC,IAAD,CAASO,MAAM,OAAOP,UAAU,OAAhC,0CAMV,cAAC,IAAD,CAAOA,UAAU,4CAA4CQ,MAAO,CAAEC,MAAO,OAA7E,SACE,cAAC,IAAD,CAAWT,UAAU,cAArB,SACE,gCACE,yCACA,6JAEA,cAAC,IAAD,CAAMU,GAAG,YAAT,SACE,cAAC,IAAD,CAASH,MAAM,UAAUP,UAAU,OAAOW,QAAM,EAACC,UAAW,EAA5D","file":"static/js/10.1aee78b2.chunk.js","sourcesContent":["import React from 'react'\nimport { Link } from 'react-router-dom'\nimport {\n CButton,\n CCard,\n CCardBody,\n CCardGroup,\n CCol,\n CContainer,\n CForm,\n CInput,\n CInputGroup,\n CInputGroupPrepend,\n CInputGroupText,\n CRow\n} from '@coreui/react'\nimport CIcon from '@coreui/icons-react'\n\nconst Login = () => {\n return (\n <div className=\"c-app c-default-layout flex-row align-items-center\">\n <CContainer>\n <CRow className=\"justify-content-center\">\n <CCol md=\"8\">\n <CCardGroup>\n <CCard className=\"p-4\">\n <CCardBody>\n <CForm>\n <h1>Login</h1>\n <p className=\"text-muted\">Sign In to your account</p>\n <CInputGroup className=\"mb-3\">\n <CInputGroupPrepend>\n <CInputGroupText>\n <CIcon name=\"cil-user\" />\n </CInputGroupText>\n </CInputGroupPrepend>\n <CInput type=\"text\" placeholder=\"Username\" autoComplete=\"username\" />\n </CInputGroup>\n <CInputGroup className=\"mb-4\">\n <CInputGroupPrepend>\n <CInputGroupText>\n <CIcon name=\"cil-lock-locked\" />\n </CInputGroupText>\n </CInputGroupPrepend>\n <CInput type=\"password\" placeholder=\"Password\" autoComplete=\"current-password\" />\n </CInputGroup>\n <CRow>\n <CCol xs=\"6\">\n <CButton color=\"primary\" className=\"px-4\">Login</CButton>\n </CCol>\n <CCol xs=\"6\" className=\"text-right\">\n <CButton color=\"link\" className=\"px-0\">Forgot password?</CButton>\n </CCol>\n </CRow>\n </CForm>\n </CCardBody>\n </CCard>\n <CCard className=\"text-white bg-primary py-5 d-md-down-none\" style={{ width: '44%' }}>\n <CCardBody className=\"text-center\">\n <div>\n <h2>Sign up</h2>\n <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut\n labore et dolore magna aliqua.</p>\n <Link to=\"/register\">\n <CButton color=\"primary\" className=\"mt-3\" active tabIndex={-1}>Register Now!</CButton>\n </Link>\n </div>\n </CCardBody>\n </CCard>\n </CCardGroup>\n </CCol>\n </CRow>\n </CContainer>\n </div>\n )\n}\n\nexport default Login\n"],"sourceRoot":""}

View File

@ -1,2 +1,2 @@
(this["webpackJsonp@coreui/coreui-free-react-admin-template"]=this["webpackJsonp@coreui/coreui-free-react-admin-template"]||[]).push([[10],{686:function(e,c,t){"use strict";t.r(c);t(1);var s=t(630),a=t(629),l=t(17);c.default=function(){return Object(l.jsx)("div",{className:"c-app c-default-layout flex-row align-items-center",children:Object(l.jsx)(s.l,{children:Object(l.jsx)(s.K,{className:"justify-content-center",children:Object(l.jsxs)(s.k,{md:"6",children:[Object(l.jsxs)("div",{className:"clearfix",children:[Object(l.jsx)("h1",{className:"float-left display-3 mr-4",children:"404"}),Object(l.jsxs)("h4",{className:"pt-3",children:["Oops! You","'","re lost."]}),Object(l.jsx)("p",{className:"text-muted float-left",children:"The page you are looking for was not found."})]}),Object(l.jsxs)(s.D,{className:"input-prepend",children:[Object(l.jsx)(s.F,{children:Object(l.jsx)(s.G,{children:Object(l.jsx)(a.a,{name:"cil-magnifying-glass"})})}),Object(l.jsx)(s.A,{size:"16",type:"text",placeholder:"What are you looking for?"}),Object(l.jsx)(s.E,{children:Object(l.jsx)(s.e,{color:"info",children:"Search"})})]})]})})})})}}}]); (this["webpackJsonp@coreui/coreui-free-react-admin-template"]=this["webpackJsonp@coreui/coreui-free-react-admin-template"]||[]).push([[11],{769:function(e,c,t){"use strict";t.r(c);t(1);var s=t(637),a=t(636),l=t(18);c.default=function(){return Object(l.jsx)("div",{className:"c-app c-default-layout flex-row align-items-center",children:Object(l.jsx)(s.l,{children:Object(l.jsx)(s.K,{className:"justify-content-center",children:Object(l.jsxs)(s.k,{md:"6",children:[Object(l.jsxs)("div",{className:"clearfix",children:[Object(l.jsx)("h1",{className:"float-left display-3 mr-4",children:"404"}),Object(l.jsxs)("h4",{className:"pt-3",children:["Oops! You","'","re lost."]}),Object(l.jsx)("p",{className:"text-muted float-left",children:"The page you are looking for was not found."})]}),Object(l.jsxs)(s.D,{className:"input-prepend",children:[Object(l.jsx)(s.F,{children:Object(l.jsx)(s.G,{children:Object(l.jsx)(a.a,{name:"cil-magnifying-glass"})})}),Object(l.jsx)(s.A,{size:"16",type:"text",placeholder:"What are you looking for?"}),Object(l.jsx)(s.E,{children:Object(l.jsx)(s.e,{color:"info",children:"Search"})})]})]})})})})}}}]);
//# sourceMappingURL=10.e00f2607.chunk.js.map //# sourceMappingURL=11.d20ada69.chunk.js.map

View File

@ -1 +1 @@
{"version":3,"sources":["views/pages/page404/Page404.js"],"names":["Page404","className","md","name","size","type","placeholder","color"],"mappings":"6KAAA,0CA2CeA,UA7BC,WACd,OACE,qBAAKC,UAAU,qDAAf,SACE,cAAC,IAAD,UACE,cAAC,IAAD,CAAMA,UAAU,yBAAhB,SACE,eAAC,IAAD,CAAMC,GAAG,IAAT,UACE,sBAAKD,UAAU,WAAf,UACE,oBAAIA,UAAU,4BAAd,iBACA,qBAAIA,UAAU,OAAd,sBAA+B,IAA/B,cACA,mBAAGA,UAAU,wBAAb,4DAEF,eAAC,IAAD,CAAaA,UAAU,gBAAvB,UACE,cAAC,IAAD,UACE,cAAC,IAAD,UACE,cAAC,IAAD,CAAOE,KAAK,6BAGhB,cAAC,IAAD,CAAQC,KAAK,KAAKC,KAAK,OAAOC,YAAY,8BAC1C,cAAC,IAAD,UACE,cAAC,IAAD,CAASC,MAAM,OAAf","file":"static/js/10.e00f2607.chunk.js","sourcesContent":["import React from 'react'\nimport {\n CButton,\n CCol,\n CContainer,\n CInput,\n CInputGroup,\n CInputGroupPrepend,\n CInputGroupAppend,\n CInputGroupText,\n CRow\n} from '@coreui/react'\nimport CIcon from '@coreui/icons-react'\n\nconst Page404 = () => {\n return (\n <div className=\"c-app c-default-layout flex-row align-items-center\">\n <CContainer>\n <CRow className=\"justify-content-center\">\n <CCol md=\"6\">\n <div className=\"clearfix\">\n <h1 className=\"float-left display-3 mr-4\">404</h1>\n <h4 className=\"pt-3\">Oops! You{'\\''}re lost.</h4>\n <p className=\"text-muted float-left\">The page you are looking for was not found.</p>\n </div>\n <CInputGroup className=\"input-prepend\">\n <CInputGroupPrepend>\n <CInputGroupText>\n <CIcon name=\"cil-magnifying-glass\" />\n </CInputGroupText>\n </CInputGroupPrepend>\n <CInput size=\"16\" type=\"text\" placeholder=\"What are you looking for?\" />\n <CInputGroupAppend>\n <CButton color=\"info\">Search</CButton>\n </CInputGroupAppend>\n </CInputGroup>\n </CCol>\n </CRow>\n </CContainer>\n </div>\n )\n}\n\nexport default Page404\n"],"sourceRoot":""} {"version":3,"sources":["views/pages/page404/Page404.js"],"names":["Page404","className","md","name","size","type","placeholder","color"],"mappings":"6KAAA,0CA2CeA,UA7BC,WACd,OACE,qBAAKC,UAAU,qDAAf,SACE,cAAC,IAAD,UACE,cAAC,IAAD,CAAMA,UAAU,yBAAhB,SACE,eAAC,IAAD,CAAMC,GAAG,IAAT,UACE,sBAAKD,UAAU,WAAf,UACE,oBAAIA,UAAU,4BAAd,iBACA,qBAAIA,UAAU,OAAd,sBAA+B,IAA/B,cACA,mBAAGA,UAAU,wBAAb,4DAEF,eAAC,IAAD,CAAaA,UAAU,gBAAvB,UACE,cAAC,IAAD,UACE,cAAC,IAAD,UACE,cAAC,IAAD,CAAOE,KAAK,6BAGhB,cAAC,IAAD,CAAQC,KAAK,KAAKC,KAAK,OAAOC,YAAY,8BAC1C,cAAC,IAAD,UACE,cAAC,IAAD,CAASC,MAAM,OAAf","file":"static/js/11.d20ada69.chunk.js","sourcesContent":["import React from 'react'\nimport {\n CButton,\n CCol,\n CContainer,\n CInput,\n CInputGroup,\n CInputGroupPrepend,\n CInputGroupAppend,\n CInputGroupText,\n CRow\n} from '@coreui/react'\nimport CIcon from '@coreui/icons-react'\n\nconst Page404 = () => {\n return (\n <div className=\"c-app c-default-layout flex-row align-items-center\">\n <CContainer>\n <CRow className=\"justify-content-center\">\n <CCol md=\"6\">\n <div className=\"clearfix\">\n <h1 className=\"float-left display-3 mr-4\">404</h1>\n <h4 className=\"pt-3\">Oops! You{'\\''}re lost.</h4>\n <p className=\"text-muted float-left\">The page you are looking for was not found.</p>\n </div>\n <CInputGroup className=\"input-prepend\">\n <CInputGroupPrepend>\n <CInputGroupText>\n <CIcon name=\"cil-magnifying-glass\" />\n </CInputGroupText>\n </CInputGroupPrepend>\n <CInput size=\"16\" type=\"text\" placeholder=\"What are you looking for?\" />\n <CInputGroupAppend>\n <CButton color=\"info\">Search</CButton>\n </CInputGroupAppend>\n </CInputGroup>\n </CCol>\n </CRow>\n </CContainer>\n </div>\n )\n}\n\nexport default Page404\n"],"sourceRoot":""}

View File

@ -1,2 +1,2 @@
(this["webpackJsonp@coreui/coreui-free-react-admin-template"]=this["webpackJsonp@coreui/coreui-free-react-admin-template"]||[]).push([[11],{687:function(e,c,t){"use strict";t.r(c);t(1);var a=t(630),s=t(629),l=t(17);c.default=function(){return Object(l.jsx)("div",{className:"c-app c-default-layout flex-row align-items-center",children:Object(l.jsx)(a.l,{children:Object(l.jsx)(a.K,{className:"justify-content-center",children:Object(l.jsxs)(a.k,{md:"6",children:[Object(l.jsxs)("span",{className:"clearfix",children:[Object(l.jsx)("h1",{className:"float-left display-3 mr-4",children:"500"}),Object(l.jsx)("h4",{className:"pt-3",children:"Houston, we have a problem!"}),Object(l.jsx)("p",{className:"text-muted float-left",children:"The page you are looking for is temporarily unavailable."})]}),Object(l.jsxs)(a.D,{className:"input-prepend",children:[Object(l.jsx)(a.F,{children:Object(l.jsx)(a.G,{children:Object(l.jsx)(s.a,{name:"cil-magnifying-glass"})})}),Object(l.jsx)(a.A,{size:"16",type:"text",placeholder:"What are you looking for?"}),Object(l.jsx)(a.E,{children:Object(l.jsx)(a.e,{color:"info",children:"Search"})})]})]})})})})}}}]); (this["webpackJsonp@coreui/coreui-free-react-admin-template"]=this["webpackJsonp@coreui/coreui-free-react-admin-template"]||[]).push([[12],{770:function(e,c,t){"use strict";t.r(c);t(1);var a=t(637),s=t(636),l=t(18);c.default=function(){return Object(l.jsx)("div",{className:"c-app c-default-layout flex-row align-items-center",children:Object(l.jsx)(a.l,{children:Object(l.jsx)(a.K,{className:"justify-content-center",children:Object(l.jsxs)(a.k,{md:"6",children:[Object(l.jsxs)("span",{className:"clearfix",children:[Object(l.jsx)("h1",{className:"float-left display-3 mr-4",children:"500"}),Object(l.jsx)("h4",{className:"pt-3",children:"Houston, we have a problem!"}),Object(l.jsx)("p",{className:"text-muted float-left",children:"The page you are looking for is temporarily unavailable."})]}),Object(l.jsxs)(a.D,{className:"input-prepend",children:[Object(l.jsx)(a.F,{children:Object(l.jsx)(a.G,{children:Object(l.jsx)(s.a,{name:"cil-magnifying-glass"})})}),Object(l.jsx)(a.A,{size:"16",type:"text",placeholder:"What are you looking for?"}),Object(l.jsx)(a.E,{children:Object(l.jsx)(a.e,{color:"info",children:"Search"})})]})]})})})})}}}]);
//# sourceMappingURL=11.1a621126.chunk.js.map //# sourceMappingURL=12.2c871bc8.chunk.js.map

View File

@ -1 +1 @@
{"version":3,"sources":["views/pages/page500/Page500.js"],"names":["Page500","className","md","name","size","type","placeholder","color"],"mappings":"6KAAA,0CA2CeA,UA7BC,WACd,OACE,qBAAKC,UAAU,qDAAf,SACE,cAAC,IAAD,UACE,cAAC,IAAD,CAAMA,UAAU,yBAAhB,SACE,eAAC,IAAD,CAAMC,GAAG,IAAT,UACE,uBAAMD,UAAU,WAAhB,UACE,oBAAIA,UAAU,4BAAd,iBACA,oBAAIA,UAAU,OAAd,yCACA,mBAAGA,UAAU,wBAAb,yEAEF,eAAC,IAAD,CAAaA,UAAU,gBAAvB,UACE,cAAC,IAAD,UACE,cAAC,IAAD,UACE,cAAC,IAAD,CAAOE,KAAK,6BAGhB,cAAC,IAAD,CAAQC,KAAK,KAAKC,KAAK,OAAOC,YAAY,8BAC1C,cAAC,IAAD,UACE,cAAC,IAAD,CAASC,MAAM,OAAf","file":"static/js/11.1a621126.chunk.js","sourcesContent":["import React from 'react'\nimport {\n CButton,\n CCol,\n CContainer,\n CInput,\n CInputGroup,\n CInputGroupAppend,\n CInputGroupPrepend,\n CInputGroupText,\n CRow\n} from '@coreui/react'\nimport CIcon from '@coreui/icons-react'\n\nconst Page500 = () => {\n return (\n <div className=\"c-app c-default-layout flex-row align-items-center\">\n <CContainer>\n <CRow className=\"justify-content-center\">\n <CCol md=\"6\">\n <span className=\"clearfix\">\n <h1 className=\"float-left display-3 mr-4\">500</h1>\n <h4 className=\"pt-3\">Houston, we have a problem!</h4>\n <p className=\"text-muted float-left\">The page you are looking for is temporarily unavailable.</p>\n </span>\n <CInputGroup className=\"input-prepend\">\n <CInputGroupPrepend>\n <CInputGroupText>\n <CIcon name=\"cil-magnifying-glass\" />\n </CInputGroupText>\n </CInputGroupPrepend>\n <CInput size=\"16\" type=\"text\" placeholder=\"What are you looking for?\" />\n <CInputGroupAppend>\n <CButton color=\"info\">Search</CButton>\n </CInputGroupAppend>\n </CInputGroup>\n </CCol>\n </CRow>\n </CContainer>\n </div>\n )\n}\n\nexport default Page500\n"],"sourceRoot":""} {"version":3,"sources":["views/pages/page500/Page500.js"],"names":["Page500","className","md","name","size","type","placeholder","color"],"mappings":"6KAAA,0CA2CeA,UA7BC,WACd,OACE,qBAAKC,UAAU,qDAAf,SACE,cAAC,IAAD,UACE,cAAC,IAAD,CAAMA,UAAU,yBAAhB,SACE,eAAC,IAAD,CAAMC,GAAG,IAAT,UACE,uBAAMD,UAAU,WAAhB,UACE,oBAAIA,UAAU,4BAAd,iBACA,oBAAIA,UAAU,OAAd,yCACA,mBAAGA,UAAU,wBAAb,yEAEF,eAAC,IAAD,CAAaA,UAAU,gBAAvB,UACE,cAAC,IAAD,UACE,cAAC,IAAD,UACE,cAAC,IAAD,CAAOE,KAAK,6BAGhB,cAAC,IAAD,CAAQC,KAAK,KAAKC,KAAK,OAAOC,YAAY,8BAC1C,cAAC,IAAD,UACE,cAAC,IAAD,CAASC,MAAM,OAAf","file":"static/js/12.2c871bc8.chunk.js","sourcesContent":["import React from 'react'\nimport {\n CButton,\n CCol,\n CContainer,\n CInput,\n CInputGroup,\n CInputGroupAppend,\n CInputGroupPrepend,\n CInputGroupText,\n CRow\n} from '@coreui/react'\nimport CIcon from '@coreui/icons-react'\n\nconst Page500 = () => {\n return (\n <div className=\"c-app c-default-layout flex-row align-items-center\">\n <CContainer>\n <CRow className=\"justify-content-center\">\n <CCol md=\"6\">\n <span className=\"clearfix\">\n <h1 className=\"float-left display-3 mr-4\">500</h1>\n <h4 className=\"pt-3\">Houston, we have a problem!</h4>\n <p className=\"text-muted float-left\">The page you are looking for is temporarily unavailable.</p>\n </span>\n <CInputGroup className=\"input-prepend\">\n <CInputGroupPrepend>\n <CInputGroupText>\n <CIcon name=\"cil-magnifying-glass\" />\n </CInputGroupText>\n </CInputGroupPrepend>\n <CInput size=\"16\" type=\"text\" placeholder=\"What are you looking for?\" />\n <CInputGroupAppend>\n <CButton color=\"info\">Search</CButton>\n </CInputGroupAppend>\n </CInputGroup>\n </CCol>\n </CRow>\n </CContainer>\n </div>\n )\n}\n\nexport default Page500\n"],"sourceRoot":""}

View File

@ -1,2 +1,2 @@
(this["webpackJsonp@coreui/coreui-free-react-admin-template"]=this["webpackJsonp@coreui/coreui-free-react-admin-template"]||[]).push([[12],{685:function(e,c,s){"use strict";s.r(c);s(1);var t=s(630),l=s(629),j=s(17);c.default=function(){return Object(j.jsx)("div",{className:"c-app c-default-layout flex-row align-items-center",children:Object(j.jsx)(t.l,{children:Object(j.jsx)(t.K,{className:"justify-content-center",children:Object(j.jsx)(t.k,{md:"9",lg:"7",xl:"6",children:Object(j.jsxs)(t.f,{className:"mx-4",children:[Object(j.jsx)(t.g,{className:"p-4",children:Object(j.jsxs)(t.s,{children:[Object(j.jsx)("h1",{children:"Register"}),Object(j.jsx)("p",{className:"text-muted",children:"Create your account"}),Object(j.jsxs)(t.D,{className:"mb-3",children:[Object(j.jsx)(t.F,{children:Object(j.jsx)(t.G,{children:Object(j.jsx)(l.a,{name:"cil-user"})})}),Object(j.jsx)(t.A,{type:"text",placeholder:"Username",autoComplete:"username"})]}),Object(j.jsxs)(t.D,{className:"mb-3",children:[Object(j.jsx)(t.F,{children:Object(j.jsx)(t.G,{children:"@"})}),Object(j.jsx)(t.A,{type:"text",placeholder:"Email",autoComplete:"email"})]}),Object(j.jsxs)(t.D,{className:"mb-3",children:[Object(j.jsx)(t.F,{children:Object(j.jsx)(t.G,{children:Object(j.jsx)(l.a,{name:"cil-lock-locked"})})}),Object(j.jsx)(t.A,{type:"password",placeholder:"Password",autoComplete:"new-password"})]}),Object(j.jsxs)(t.D,{className:"mb-4",children:[Object(j.jsx)(t.F,{children:Object(j.jsx)(t.G,{children:Object(j.jsx)(l.a,{name:"cil-lock-locked"})})}),Object(j.jsx)(t.A,{type:"password",placeholder:"Repeat password",autoComplete:"new-password"})]}),Object(j.jsx)(t.e,{color:"success",block:!0,children:"Create Account"})]})}),Object(j.jsx)(t.h,{className:"p-4",children:Object(j.jsxs)(t.K,{children:[Object(j.jsx)(t.k,{xs:"12",sm:"6",children:Object(j.jsx)(t.e,{className:"btn-facebook mb-1",block:!0,children:Object(j.jsx)("span",{children:"facebook"})})}),Object(j.jsx)(t.k,{xs:"12",sm:"6",children:Object(j.jsx)(t.e,{className:"btn-twitter mb-1",block:!0,children:Object(j.jsx)("span",{children:"twitter"})})})]})})]})})})})})}}}]); (this["webpackJsonp@coreui/coreui-free-react-admin-template"]=this["webpackJsonp@coreui/coreui-free-react-admin-template"]||[]).push([[13],{768:function(e,c,s){"use strict";s.r(c);s(1);var t=s(637),l=s(636),j=s(18);c.default=function(){return Object(j.jsx)("div",{className:"c-app c-default-layout flex-row align-items-center",children:Object(j.jsx)(t.l,{children:Object(j.jsx)(t.K,{className:"justify-content-center",children:Object(j.jsx)(t.k,{md:"9",lg:"7",xl:"6",children:Object(j.jsxs)(t.f,{className:"mx-4",children:[Object(j.jsx)(t.g,{className:"p-4",children:Object(j.jsxs)(t.s,{children:[Object(j.jsx)("h1",{children:"Register"}),Object(j.jsx)("p",{className:"text-muted",children:"Create your account"}),Object(j.jsxs)(t.D,{className:"mb-3",children:[Object(j.jsx)(t.F,{children:Object(j.jsx)(t.G,{children:Object(j.jsx)(l.a,{name:"cil-user"})})}),Object(j.jsx)(t.A,{type:"text",placeholder:"Username",autoComplete:"username"})]}),Object(j.jsxs)(t.D,{className:"mb-3",children:[Object(j.jsx)(t.F,{children:Object(j.jsx)(t.G,{children:"@"})}),Object(j.jsx)(t.A,{type:"text",placeholder:"Email",autoComplete:"email"})]}),Object(j.jsxs)(t.D,{className:"mb-3",children:[Object(j.jsx)(t.F,{children:Object(j.jsx)(t.G,{children:Object(j.jsx)(l.a,{name:"cil-lock-locked"})})}),Object(j.jsx)(t.A,{type:"password",placeholder:"Password",autoComplete:"new-password"})]}),Object(j.jsxs)(t.D,{className:"mb-4",children:[Object(j.jsx)(t.F,{children:Object(j.jsx)(t.G,{children:Object(j.jsx)(l.a,{name:"cil-lock-locked"})})}),Object(j.jsx)(t.A,{type:"password",placeholder:"Repeat password",autoComplete:"new-password"})]}),Object(j.jsx)(t.e,{color:"success",block:!0,children:"Create Account"})]})}),Object(j.jsx)(t.h,{className:"p-4",children:Object(j.jsxs)(t.K,{children:[Object(j.jsx)(t.k,{xs:"12",sm:"6",children:Object(j.jsx)(t.e,{className:"btn-facebook mb-1",block:!0,children:Object(j.jsx)("span",{children:"facebook"})})}),Object(j.jsx)(t.k,{xs:"12",sm:"6",children:Object(j.jsx)(t.e,{className:"btn-twitter mb-1",block:!0,children:Object(j.jsx)("span",{children:"twitter"})})})]})})]})})})})})}}}]);
//# sourceMappingURL=12.191a20e6.chunk.js.map //# sourceMappingURL=13.886a98ec.chunk.js.map

View File

@ -1 +1 @@
{"version":3,"sources":["views/pages/register/Register.js"],"names":["Register","className","md","lg","xl","name","type","placeholder","autoComplete","color","block","xs","sm"],"mappings":"6KAAA,0CA+EeA,UA9DE,WACf,OACE,qBAAKC,UAAU,qDAAf,SACE,cAAC,IAAD,UACE,cAAC,IAAD,CAAMA,UAAU,yBAAhB,SACE,cAAC,IAAD,CAAMC,GAAG,IAAIC,GAAG,IAAIC,GAAG,IAAvB,SACE,eAAC,IAAD,CAAOH,UAAU,OAAjB,UACE,cAAC,IAAD,CAAWA,UAAU,MAArB,SACE,eAAC,IAAD,WACE,0CACA,mBAAGA,UAAU,aAAb,iCACA,eAAC,IAAD,CAAaA,UAAU,OAAvB,UACE,cAAC,IAAD,UACE,cAAC,IAAD,UACE,cAAC,IAAD,CAAOI,KAAK,iBAGhB,cAAC,IAAD,CAAQC,KAAK,OAAOC,YAAY,WAAWC,aAAa,gBAE1D,eAAC,IAAD,CAAaP,UAAU,OAAvB,UACE,cAAC,IAAD,UACE,cAAC,IAAD,kBAEF,cAAC,IAAD,CAAQK,KAAK,OAAOC,YAAY,QAAQC,aAAa,aAEvD,eAAC,IAAD,CAAaP,UAAU,OAAvB,UACE,cAAC,IAAD,UACE,cAAC,IAAD,UACE,cAAC,IAAD,CAAOI,KAAK,wBAGhB,cAAC,IAAD,CAAQC,KAAK,WAAWC,YAAY,WAAWC,aAAa,oBAE9D,eAAC,IAAD,CAAaP,UAAU,OAAvB,UACE,cAAC,IAAD,UACE,cAAC,IAAD,UACE,cAAC,IAAD,CAAOI,KAAK,wBAGhB,cAAC,IAAD,CAAQC,KAAK,WAAWC,YAAY,kBAAkBC,aAAa,oBAErE,cAAC,IAAD,CAASC,MAAM,UAAUC,OAAK,EAA9B,iCAGJ,cAAC,IAAD,CAAaT,UAAU,MAAvB,SACE,eAAC,IAAD,WACE,cAAC,IAAD,CAAMU,GAAG,KAAKC,GAAG,IAAjB,SACE,cAAC,IAAD,CAASX,UAAU,oBAAoBS,OAAK,EAA5C,SAA6C,gDAE/C,cAAC,IAAD,CAAMC,GAAG,KAAKC,GAAG,IAAjB,SACE,cAAC,IAAD,CAASX,UAAU,mBAAmBS,OAAK,EAA3C,SAA4C","file":"static/js/12.191a20e6.chunk.js","sourcesContent":["import React from 'react'\nimport {\n CButton,\n CCard,\n CCardBody,\n CCardFooter,\n CCol,\n CContainer,\n CForm,\n CInput,\n CInputGroup,\n CInputGroupPrepend,\n CInputGroupText,\n CRow\n} from '@coreui/react'\nimport CIcon from '@coreui/icons-react'\n\nconst Register = () => {\n return (\n <div className=\"c-app c-default-layout flex-row align-items-center\">\n <CContainer>\n <CRow className=\"justify-content-center\">\n <CCol md=\"9\" lg=\"7\" xl=\"6\">\n <CCard className=\"mx-4\">\n <CCardBody className=\"p-4\">\n <CForm>\n <h1>Register</h1>\n <p className=\"text-muted\">Create your account</p>\n <CInputGroup className=\"mb-3\">\n <CInputGroupPrepend>\n <CInputGroupText>\n <CIcon name=\"cil-user\" />\n </CInputGroupText>\n </CInputGroupPrepend>\n <CInput type=\"text\" placeholder=\"Username\" autoComplete=\"username\" />\n </CInputGroup>\n <CInputGroup className=\"mb-3\">\n <CInputGroupPrepend>\n <CInputGroupText>@</CInputGroupText>\n </CInputGroupPrepend>\n <CInput type=\"text\" placeholder=\"Email\" autoComplete=\"email\" />\n </CInputGroup>\n <CInputGroup className=\"mb-3\">\n <CInputGroupPrepend>\n <CInputGroupText>\n <CIcon name=\"cil-lock-locked\" />\n </CInputGroupText>\n </CInputGroupPrepend>\n <CInput type=\"password\" placeholder=\"Password\" autoComplete=\"new-password\" />\n </CInputGroup>\n <CInputGroup className=\"mb-4\">\n <CInputGroupPrepend>\n <CInputGroupText>\n <CIcon name=\"cil-lock-locked\" />\n </CInputGroupText>\n </CInputGroupPrepend>\n <CInput type=\"password\" placeholder=\"Repeat password\" autoComplete=\"new-password\" />\n </CInputGroup>\n <CButton color=\"success\" block>Create Account</CButton>\n </CForm>\n </CCardBody>\n <CCardFooter className=\"p-4\">\n <CRow>\n <CCol xs=\"12\" sm=\"6\">\n <CButton className=\"btn-facebook mb-1\" block><span>facebook</span></CButton>\n </CCol>\n <CCol xs=\"12\" sm=\"6\">\n <CButton className=\"btn-twitter mb-1\" block><span>twitter</span></CButton>\n </CCol>\n </CRow>\n </CCardFooter>\n </CCard>\n </CCol>\n </CRow>\n </CContainer>\n </div>\n )\n}\n\nexport default Register\n"],"sourceRoot":""} {"version":3,"sources":["views/pages/register/Register.js"],"names":["Register","className","md","lg","xl","name","type","placeholder","autoComplete","color","block","xs","sm"],"mappings":"6KAAA,0CA+EeA,UA9DE,WACf,OACE,qBAAKC,UAAU,qDAAf,SACE,cAAC,IAAD,UACE,cAAC,IAAD,CAAMA,UAAU,yBAAhB,SACE,cAAC,IAAD,CAAMC,GAAG,IAAIC,GAAG,IAAIC,GAAG,IAAvB,SACE,eAAC,IAAD,CAAOH,UAAU,OAAjB,UACE,cAAC,IAAD,CAAWA,UAAU,MAArB,SACE,eAAC,IAAD,WACE,0CACA,mBAAGA,UAAU,aAAb,iCACA,eAAC,IAAD,CAAaA,UAAU,OAAvB,UACE,cAAC,IAAD,UACE,cAAC,IAAD,UACE,cAAC,IAAD,CAAOI,KAAK,iBAGhB,cAAC,IAAD,CAAQC,KAAK,OAAOC,YAAY,WAAWC,aAAa,gBAE1D,eAAC,IAAD,CAAaP,UAAU,OAAvB,UACE,cAAC,IAAD,UACE,cAAC,IAAD,kBAEF,cAAC,IAAD,CAAQK,KAAK,OAAOC,YAAY,QAAQC,aAAa,aAEvD,eAAC,IAAD,CAAaP,UAAU,OAAvB,UACE,cAAC,IAAD,UACE,cAAC,IAAD,UACE,cAAC,IAAD,CAAOI,KAAK,wBAGhB,cAAC,IAAD,CAAQC,KAAK,WAAWC,YAAY,WAAWC,aAAa,oBAE9D,eAAC,IAAD,CAAaP,UAAU,OAAvB,UACE,cAAC,IAAD,UACE,cAAC,IAAD,UACE,cAAC,IAAD,CAAOI,KAAK,wBAGhB,cAAC,IAAD,CAAQC,KAAK,WAAWC,YAAY,kBAAkBC,aAAa,oBAErE,cAAC,IAAD,CAASC,MAAM,UAAUC,OAAK,EAA9B,iCAGJ,cAAC,IAAD,CAAaT,UAAU,MAAvB,SACE,eAAC,IAAD,WACE,cAAC,IAAD,CAAMU,GAAG,KAAKC,GAAG,IAAjB,SACE,cAAC,IAAD,CAASX,UAAU,oBAAoBS,OAAK,EAA5C,SAA6C,gDAE/C,cAAC,IAAD,CAAMC,GAAG,KAAKC,GAAG,IAAjB,SACE,cAAC,IAAD,CAASX,UAAU,mBAAmBS,OAAK,EAA3C,SAA4C","file":"static/js/13.886a98ec.chunk.js","sourcesContent":["import React from 'react'\nimport {\n CButton,\n CCard,\n CCardBody,\n CCardFooter,\n CCol,\n CContainer,\n CForm,\n CInput,\n CInputGroup,\n CInputGroupPrepend,\n CInputGroupText,\n CRow\n} from '@coreui/react'\nimport CIcon from '@coreui/icons-react'\n\nconst Register = () => {\n return (\n <div className=\"c-app c-default-layout flex-row align-items-center\">\n <CContainer>\n <CRow className=\"justify-content-center\">\n <CCol md=\"9\" lg=\"7\" xl=\"6\">\n <CCard className=\"mx-4\">\n <CCardBody className=\"p-4\">\n <CForm>\n <h1>Register</h1>\n <p className=\"text-muted\">Create your account</p>\n <CInputGroup className=\"mb-3\">\n <CInputGroupPrepend>\n <CInputGroupText>\n <CIcon name=\"cil-user\" />\n </CInputGroupText>\n </CInputGroupPrepend>\n <CInput type=\"text\" placeholder=\"Username\" autoComplete=\"username\" />\n </CInputGroup>\n <CInputGroup className=\"mb-3\">\n <CInputGroupPrepend>\n <CInputGroupText>@</CInputGroupText>\n </CInputGroupPrepend>\n <CInput type=\"text\" placeholder=\"Email\" autoComplete=\"email\" />\n </CInputGroup>\n <CInputGroup className=\"mb-3\">\n <CInputGroupPrepend>\n <CInputGroupText>\n <CIcon name=\"cil-lock-locked\" />\n </CInputGroupText>\n </CInputGroupPrepend>\n <CInput type=\"password\" placeholder=\"Password\" autoComplete=\"new-password\" />\n </CInputGroup>\n <CInputGroup className=\"mb-4\">\n <CInputGroupPrepend>\n <CInputGroupText>\n <CIcon name=\"cil-lock-locked\" />\n </CInputGroupText>\n </CInputGroupPrepend>\n <CInput type=\"password\" placeholder=\"Repeat password\" autoComplete=\"new-password\" />\n </CInputGroup>\n <CButton color=\"success\" block>Create Account</CButton>\n </CForm>\n </CCardBody>\n <CCardFooter className=\"p-4\">\n <CRow>\n <CCol xs=\"12\" sm=\"6\">\n <CButton className=\"btn-facebook mb-1\" block><span>facebook</span></CButton>\n </CCol>\n <CCol xs=\"12\" sm=\"6\">\n <CButton className=\"btn-twitter mb-1\" block><span>twitter</span></CButton>\n </CCol>\n </CRow>\n </CCardFooter>\n </CCard>\n </CCol>\n </CRow>\n </CContainer>\n </div>\n )\n}\n\nexport default Register\n"],"sourceRoot":""}

View File

@ -1,2 +0,0 @@
(this["webpackJsonp@coreui/coreui-free-react-admin-template"]=this["webpackJsonp@coreui/coreui-free-react-admin-template"]||[]).push([[13],{690:function(e,t,i){"use strict";i.r(t);i(1);var r=i(17);t.default=function(){return Object(r.jsx)("div",{children:"This is a protected page"})}}}]);
//# sourceMappingURL=13.c6fea114.chunk.js.map

View File

@ -0,0 +1,2 @@
(this["webpackJsonp@coreui/coreui-free-react-admin-template"]=this["webpackJsonp@coreui/coreui-free-react-admin-template"]||[]).push([[14],{774:function(e,t,i){"use strict";i.r(t);i(1);var r=i(18);t.default=function(){return Object(r.jsx)("div",{children:"This is a protected page"})}}}]);
//# sourceMappingURL=14.ef6f2a9c.chunk.js.map

View File

@ -1 +1 @@
{"version":3,"sources":["views/secret/index.js"],"names":["Secret"],"mappings":"6KAAA,wBAUeA,UARf,WACE,OACE","file":"static/js/13.c6fea114.chunk.js","sourcesContent":["import React from 'react'\n\nfunction Secret() {\n return (\n <div>\n This is a protected page\n </div>\n )\n}\n\nexport default Secret\n"],"sourceRoot":""} {"version":3,"sources":["views/secret/index.js"],"names":["Secret"],"mappings":"6KAAA,wBAUeA,UARf,WACE,OACE","file":"static/js/14.ef6f2a9c.chunk.js","sourcesContent":["import React from 'react'\n\nfunction Secret() {\n return (\n <div>\n This is a protected page\n </div>\n )\n}\n\nexport default Secret\n"],"sourceRoot":""}

View File

@ -1,2 +1,2 @@
(this["webpackJsonp@coreui/coreui-free-react-admin-template"]=this["webpackJsonp@coreui/coreui-free-react-admin-template"]||[]).push([[15,14],{679:function(e,c,s){"use strict";s.r(c);s(1),s(632);var t=s(630),n=(s(629),s(17));c.default=function(){return Object(n.jsx)("div",{className:"c-app c-default-layout flex-row align-items-center",children:Object(n.jsx)(t.l,{children:Object(n.jsx)(t.K,{className:"justify-content-center",children:Object(n.jsx)(t.k,{md:"8",children:Object(n.jsxs)(t.i,{children:[Object(n.jsx)(t.f,{className:"p-4",children:Object(n.jsx)(t.g,{children:Object(n.jsxs)(t.s,{children:[Object(n.jsx)("h1",{children:"\u30ed\u30b0\u30a4\u30f3"}),Object(n.jsx)("p",{className:"text-muted",children:"SSO\u3067\u30b5\u30a4\u30f3\u30a4\u30f3\u3059\u308b\u306b\u306f\u3001\u3053\u3053\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u304f\u3060\u3055\u3044"}),Object(n.jsx)(t.K,{children:Object(n.jsx)(t.k,{children:Object(n.jsx)(t.e,{color:"primary",className:"px-4",onClick:function(){console.log("launch sso"),window.open("https://fsbsso.sumasen.net/Shibboleth.sso/Login","_self")},children:"SSO\u3067\u30ed\u30b0\u30a4\u30f3"})})})]})})}),Object(n.jsx)(t.f,{className:"text-white bg-primary py-5 d-md-down-none",style:{width:"44%"},children:Object(n.jsx)(t.g,{className:"text-center",children:Object(n.jsxs)("div",{children:[Object(n.jsx)("h2",{children:"\u30ed\u30b0\u30a4\u30f3\u65b9\u6cd5"}),Object(n.jsx)("p",{children:"\u3053\u308c\u306fSSO\u30ed\u30b0\u30a4\u30f3\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u30ea\u30f3\u30af\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001SSO\u30ed\u30b0\u30a4\u30f3\u30da\u30fc\u30b8\u306b\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3055\u308c\u307e\u3059\u3002"})]})})})]})})})})})}}}]); (this["webpackJsonp@coreui/coreui-free-react-admin-template"]=this["webpackJsonp@coreui/coreui-free-react-admin-template"]||[]).push([[15,16],{713:function(e,c,s){"use strict";s.r(c);s(1),s(642);var t=s(637),n=(s(636),s(18));c.default=function(){return Object(n.jsx)("div",{className:"c-app c-default-layout flex-row align-items-center",children:Object(n.jsx)(t.l,{children:Object(n.jsx)(t.K,{className:"justify-content-center",children:Object(n.jsx)(t.k,{md:"8",children:Object(n.jsxs)(t.i,{children:[Object(n.jsx)(t.f,{className:"p-4",children:Object(n.jsx)(t.g,{children:Object(n.jsxs)(t.s,{children:[Object(n.jsx)("h1",{children:"\u30ed\u30b0\u30a4\u30f3"}),Object(n.jsx)("p",{className:"text-muted",children:"SSO\u3067\u30b5\u30a4\u30f3\u30a4\u30f3\u3059\u308b\u306b\u306f\u3001\u3053\u3053\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u304f\u3060\u3055\u3044"}),Object(n.jsx)(t.K,{children:Object(n.jsx)(t.k,{children:Object(n.jsx)(t.e,{color:"primary",className:"px-4",onClick:function(){console.log("launch sso"),window.open("https://fsbsso.sumasen.net/Shibboleth.sso/Login","_self")},children:"SSO\u3067\u30ed\u30b0\u30a4\u30f3"})})})]})})}),Object(n.jsx)(t.f,{className:"text-white bg-primary py-5 d-md-down-none",style:{width:"44%"},children:Object(n.jsx)(t.g,{className:"text-center",children:Object(n.jsxs)("div",{children:[Object(n.jsx)("h2",{children:"\u30ed\u30b0\u30a4\u30f3\u65b9\u6cd5"}),Object(n.jsx)("p",{children:"\u3053\u308c\u306fSSO\u30ed\u30b0\u30a4\u30f3\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u30ea\u30f3\u30af\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001SSO\u30ed\u30b0\u30a4\u30f3\u30da\u30fc\u30b8\u306b\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3055\u308c\u307e\u3059\u3002"})]})})})]})})})})})}}}]);
//# sourceMappingURL=15.1bb2dbef.chunk.js.map //# sourceMappingURL=15.e3d77fc1.chunk.js.map

View File

@ -1 +1 @@
{"version":3,"sources":["views/sso/index.js"],"names":["Sso","className","md","color","onClick","console","log","window","open","style","width"],"mappings":"gLAAA,iDA8DeA,UA3Cf,WAQE,OACE,qBAAKC,UAAU,qDAAf,SACE,cAAC,IAAD,UACE,cAAC,IAAD,CAAMA,UAAU,yBAAhB,SACE,cAAC,IAAD,CAAMC,GAAG,IAAT,SACE,eAAC,IAAD,WACE,cAAC,IAAD,CAAOD,UAAU,MAAjB,SACE,cAAC,IAAD,UACE,eAAC,IAAD,WACE,0DACA,mBAAGA,UAAU,aAAb,iKACA,cAAC,IAAD,UACE,cAAC,IAAD,UACE,cAAC,IAAD,CAASE,MAAM,UAAUF,UAAU,OAAOG,QAnBhE,WACEC,QAAQC,IAAI,cACZC,OAAOC,KAAK,kDAAmD,UAiB3C,0DAMV,cAAC,IAAD,CAAOP,UAAU,4CAA4CQ,MAAO,CAAEC,MAAO,OAA7E,SACE,cAAC,IAAD,CAAWT,UAAU,cAArB,SACE,gCACE,sEACA","file":"static/js/14.06466d45.chunk.js","sourcesContent":["import React from 'react'\nimport axios from 'axios';\nimport { Link } from 'react-router-dom'\nimport {\n CButton,\n CCard,\n CCardBody,\n CCardGroup,\n CCol,\n CContainer,\n CForm,\n CInput,\n CInputGroup,\n CInputGroupPrepend,\n CInputGroupText,\n CRow\n} from '@coreui/react'\nimport CIcon from '@coreui/icons-react'\n\nfunction Sso() {\n\n function launchsso() {\n console.log(\"launch sso\");\n window.open(\"https://fsbsso.sumasen.net/Shibboleth.sso/Login\", \"_self\");\n }\n\n\n return (\n <div className=\"c-app c-default-layout flex-row align-items-center\">\n <CContainer>\n <CRow className=\"justify-content-center\">\n <CCol md=\"8\">\n <CCardGroup>\n <CCard className=\"p-4\">\n <CCardBody>\n <CForm>\n <h1>ログイン</h1>\n <p className=\"text-muted\">SSOでサインインするには、ここをクリックしてください</p>\n <CRow>\n <CCol>\n <CButton color=\"primary\" className=\"px-4\" onClick={launchsso}>SSOでログイン</CButton>\n </CCol>\n </CRow>\n </CForm>\n </CCardBody>\n </CCard>\n <CCard className=\"text-white bg-primary py-5 d-md-down-none\" style={{ width: '44%' }}>\n <CCardBody className=\"text-center\">\n <div>\n <h2>ログイン方法</h2>\n <p>これはSSOログインを使用します。リンクをクリックすると、SSOログインページにリダイレクトされます。</p>\n </div>\n </CCardBody>\n </CCard>\n </CCardGroup>\n </CCol>\n </CRow>\n </CContainer>\n </div>\n )\n}\n\nexport default Sso\n"],"sourceRoot":""} {"version":3,"sources":["views/sso/index.js"],"names":["Sso","className","md","color","onClick","console","log","window","open","style","width"],"mappings":"gLAAA,iDA8DeA,UA3Cf,WAQE,OACE,qBAAKC,UAAU,qDAAf,SACE,cAAC,IAAD,UACE,cAAC,IAAD,CAAMA,UAAU,yBAAhB,SACE,cAAC,IAAD,CAAMC,GAAG,IAAT,SACE,eAAC,IAAD,WACE,cAAC,IAAD,CAAOD,UAAU,MAAjB,SACE,cAAC,IAAD,UACE,eAAC,IAAD,WACE,0DACA,mBAAGA,UAAU,aAAb,iKACA,cAAC,IAAD,UACE,cAAC,IAAD,UACE,cAAC,IAAD,CAASE,MAAM,UAAUF,UAAU,OAAOG,QAnBhE,WACEC,QAAQC,IAAI,cACZC,OAAOC,KAAK,kDAAmD,UAiB3C,0DAMV,cAAC,IAAD,CAAOP,UAAU,4CAA4CQ,MAAO,CAAEC,MAAO,OAA7E,SACE,cAAC,IAAD,CAAWT,UAAU,cAArB,SACE,gCACE,sEACA","file":"static/js/15.e3d77fc1.chunk.js","sourcesContent":["import React from 'react'\nimport axios from 'axios';\nimport { Link } from 'react-router-dom'\nimport {\n CButton,\n CCard,\n CCardBody,\n CCardGroup,\n CCol,\n CContainer,\n CForm,\n CInput,\n CInputGroup,\n CInputGroupPrepend,\n CInputGroupText,\n CRow\n} from '@coreui/react'\nimport CIcon from '@coreui/icons-react'\n\nfunction Sso() {\n\n function launchsso() {\n console.log(\"launch sso\");\n window.open(\"https://fsbsso.sumasen.net/Shibboleth.sso/Login\", \"_self\");\n }\n\n\n return (\n <div className=\"c-app c-default-layout flex-row align-items-center\">\n <CContainer>\n <CRow className=\"justify-content-center\">\n <CCol md=\"8\">\n <CCardGroup>\n <CCard className=\"p-4\">\n <CCardBody>\n <CForm>\n <h1>ログイン</h1>\n <p className=\"text-muted\">SSOでサインインするには、ここをクリックしてください</p>\n <CRow>\n <CCol>\n <CButton color=\"primary\" className=\"px-4\" onClick={launchsso}>SSOでログイン</CButton>\n </CCol>\n </CRow>\n </CForm>\n </CCardBody>\n </CCard>\n <CCard className=\"text-white bg-primary py-5 d-md-down-none\" style={{ width: '44%' }}>\n <CCardBody className=\"text-center\">\n <div>\n <h2>ログイン方法</h2>\n <p>これはSSOログインを使用します。リンクをクリックすると、SSOログインページにリダイレクトされます。</p>\n </div>\n </CCardBody>\n </CCard>\n </CCardGroup>\n </CCol>\n </CRow>\n </CContainer>\n </div>\n )\n}\n\nexport default Sso\n"],"sourceRoot":""}

View File

@ -1,2 +1,2 @@
(this["webpackJsonp@coreui/coreui-free-react-admin-template"]=this["webpackJsonp@coreui/coreui-free-react-admin-template"]||[]).push([[14,15],{679:function(e,c,s){"use strict";s.r(c);s(1),s(632);var t=s(630),n=(s(629),s(17));c.default=function(){return Object(n.jsx)("div",{className:"c-app c-default-layout flex-row align-items-center",children:Object(n.jsx)(t.l,{children:Object(n.jsx)(t.K,{className:"justify-content-center",children:Object(n.jsx)(t.k,{md:"8",children:Object(n.jsxs)(t.i,{children:[Object(n.jsx)(t.f,{className:"p-4",children:Object(n.jsx)(t.g,{children:Object(n.jsxs)(t.s,{children:[Object(n.jsx)("h1",{children:"\u30ed\u30b0\u30a4\u30f3"}),Object(n.jsx)("p",{className:"text-muted",children:"SSO\u3067\u30b5\u30a4\u30f3\u30a4\u30f3\u3059\u308b\u306b\u306f\u3001\u3053\u3053\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u304f\u3060\u3055\u3044"}),Object(n.jsx)(t.K,{children:Object(n.jsx)(t.k,{children:Object(n.jsx)(t.e,{color:"primary",className:"px-4",onClick:function(){console.log("launch sso"),window.open("https://fsbsso.sumasen.net/Shibboleth.sso/Login","_self")},children:"SSO\u3067\u30ed\u30b0\u30a4\u30f3"})})})]})})}),Object(n.jsx)(t.f,{className:"text-white bg-primary py-5 d-md-down-none",style:{width:"44%"},children:Object(n.jsx)(t.g,{className:"text-center",children:Object(n.jsxs)("div",{children:[Object(n.jsx)("h2",{children:"\u30ed\u30b0\u30a4\u30f3\u65b9\u6cd5"}),Object(n.jsx)("p",{children:"\u3053\u308c\u306fSSO\u30ed\u30b0\u30a4\u30f3\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u30ea\u30f3\u30af\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001SSO\u30ed\u30b0\u30a4\u30f3\u30da\u30fc\u30b8\u306b\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3055\u308c\u307e\u3059\u3002"})]})})})]})})})})})}}}]); (this["webpackJsonp@coreui/coreui-free-react-admin-template"]=this["webpackJsonp@coreui/coreui-free-react-admin-template"]||[]).push([[16,15],{713:function(e,c,s){"use strict";s.r(c);s(1),s(642);var t=s(637),n=(s(636),s(18));c.default=function(){return Object(n.jsx)("div",{className:"c-app c-default-layout flex-row align-items-center",children:Object(n.jsx)(t.l,{children:Object(n.jsx)(t.K,{className:"justify-content-center",children:Object(n.jsx)(t.k,{md:"8",children:Object(n.jsxs)(t.i,{children:[Object(n.jsx)(t.f,{className:"p-4",children:Object(n.jsx)(t.g,{children:Object(n.jsxs)(t.s,{children:[Object(n.jsx)("h1",{children:"\u30ed\u30b0\u30a4\u30f3"}),Object(n.jsx)("p",{className:"text-muted",children:"SSO\u3067\u30b5\u30a4\u30f3\u30a4\u30f3\u3059\u308b\u306b\u306f\u3001\u3053\u3053\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u304f\u3060\u3055\u3044"}),Object(n.jsx)(t.K,{children:Object(n.jsx)(t.k,{children:Object(n.jsx)(t.e,{color:"primary",className:"px-4",onClick:function(){console.log("launch sso"),window.open("https://fsbsso.sumasen.net/Shibboleth.sso/Login","_self")},children:"SSO\u3067\u30ed\u30b0\u30a4\u30f3"})})})]})})}),Object(n.jsx)(t.f,{className:"text-white bg-primary py-5 d-md-down-none",style:{width:"44%"},children:Object(n.jsx)(t.g,{className:"text-center",children:Object(n.jsxs)("div",{children:[Object(n.jsx)("h2",{children:"\u30ed\u30b0\u30a4\u30f3\u65b9\u6cd5"}),Object(n.jsx)("p",{children:"\u3053\u308c\u306fSSO\u30ed\u30b0\u30a4\u30f3\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u30ea\u30f3\u30af\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001SSO\u30ed\u30b0\u30a4\u30f3\u30da\u30fc\u30b8\u306b\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3055\u308c\u307e\u3059\u3002"})]})})})]})})})})})}}}]);
//# sourceMappingURL=14.06466d45.chunk.js.map //# sourceMappingURL=16.3fdf9cdf.chunk.js.map

View File

@ -1 +1 @@
{"version":3,"sources":["views/sso/index.js"],"names":["Sso","className","md","color","onClick","console","log","window","open","style","width"],"mappings":"gLAAA,iDA8DeA,UA3Cf,WAQE,OACE,qBAAKC,UAAU,qDAAf,SACE,cAAC,IAAD,UACE,cAAC,IAAD,CAAMA,UAAU,yBAAhB,SACE,cAAC,IAAD,CAAMC,GAAG,IAAT,SACE,eAAC,IAAD,WACE,cAAC,IAAD,CAAOD,UAAU,MAAjB,SACE,cAAC,IAAD,UACE,eAAC,IAAD,WACE,0DACA,mBAAGA,UAAU,aAAb,iKACA,cAAC,IAAD,UACE,cAAC,IAAD,UACE,cAAC,IAAD,CAASE,MAAM,UAAUF,UAAU,OAAOG,QAnBhE,WACEC,QAAQC,IAAI,cACZC,OAAOC,KAAK,kDAAmD,UAiB3C,0DAMV,cAAC,IAAD,CAAOP,UAAU,4CAA4CQ,MAAO,CAAEC,MAAO,OAA7E,SACE,cAAC,IAAD,CAAWT,UAAU,cAArB,SACE,gCACE,sEACA","file":"static/js/15.1bb2dbef.chunk.js","sourcesContent":["import React from 'react'\nimport axios from 'axios';\nimport { Link } from 'react-router-dom'\nimport {\n CButton,\n CCard,\n CCardBody,\n CCardGroup,\n CCol,\n CContainer,\n CForm,\n CInput,\n CInputGroup,\n CInputGroupPrepend,\n CInputGroupText,\n CRow\n} from '@coreui/react'\nimport CIcon from '@coreui/icons-react'\n\nfunction Sso() {\n\n function launchsso() {\n console.log(\"launch sso\");\n window.open(\"https://fsbsso.sumasen.net/Shibboleth.sso/Login\", \"_self\");\n }\n\n\n return (\n <div className=\"c-app c-default-layout flex-row align-items-center\">\n <CContainer>\n <CRow className=\"justify-content-center\">\n <CCol md=\"8\">\n <CCardGroup>\n <CCard className=\"p-4\">\n <CCardBody>\n <CForm>\n <h1>ログイン</h1>\n <p className=\"text-muted\">SSOでサインインするには、ここをクリックしてください</p>\n <CRow>\n <CCol>\n <CButton color=\"primary\" className=\"px-4\" onClick={launchsso}>SSOでログイン</CButton>\n </CCol>\n </CRow>\n </CForm>\n </CCardBody>\n </CCard>\n <CCard className=\"text-white bg-primary py-5 d-md-down-none\" style={{ width: '44%' }}>\n <CCardBody className=\"text-center\">\n <div>\n <h2>ログイン方法</h2>\n <p>これはSSOログインを使用します。リンクをクリックすると、SSOログインページにリダイレクトされます。</p>\n </div>\n </CCardBody>\n </CCard>\n </CCardGroup>\n </CCol>\n </CRow>\n </CContainer>\n </div>\n )\n}\n\nexport default Sso\n"],"sourceRoot":""} {"version":3,"sources":["views/sso/index.js"],"names":["Sso","className","md","color","onClick","console","log","window","open","style","width"],"mappings":"gLAAA,iDA8DeA,UA3Cf,WAQE,OACE,qBAAKC,UAAU,qDAAf,SACE,cAAC,IAAD,UACE,cAAC,IAAD,CAAMA,UAAU,yBAAhB,SACE,cAAC,IAAD,CAAMC,GAAG,IAAT,SACE,eAAC,IAAD,WACE,cAAC,IAAD,CAAOD,UAAU,MAAjB,SACE,cAAC,IAAD,UACE,eAAC,IAAD,WACE,0DACA,mBAAGA,UAAU,aAAb,iKACA,cAAC,IAAD,UACE,cAAC,IAAD,UACE,cAAC,IAAD,CAASE,MAAM,UAAUF,UAAU,OAAOG,QAnBhE,WACEC,QAAQC,IAAI,cACZC,OAAOC,KAAK,kDAAmD,UAiB3C,0DAMV,cAAC,IAAD,CAAOP,UAAU,4CAA4CQ,MAAO,CAAEC,MAAO,OAA7E,SACE,cAAC,IAAD,CAAWT,UAAU,cAArB,SACE,gCACE,sEACA","file":"static/js/16.3fdf9cdf.chunk.js","sourcesContent":["import React from 'react'\nimport axios from 'axios';\nimport { Link } from 'react-router-dom'\nimport {\n CButton,\n CCard,\n CCardBody,\n CCardGroup,\n CCol,\n CContainer,\n CForm,\n CInput,\n CInputGroup,\n CInputGroupPrepend,\n CInputGroupText,\n CRow\n} from '@coreui/react'\nimport CIcon from '@coreui/icons-react'\n\nfunction Sso() {\n\n function launchsso() {\n console.log(\"launch sso\");\n window.open(\"https://fsbsso.sumasen.net/Shibboleth.sso/Login\", \"_self\");\n }\n\n\n return (\n <div className=\"c-app c-default-layout flex-row align-items-center\">\n <CContainer>\n <CRow className=\"justify-content-center\">\n <CCol md=\"8\">\n <CCardGroup>\n <CCard className=\"p-4\">\n <CCardBody>\n <CForm>\n <h1>ログイン</h1>\n <p className=\"text-muted\">SSOでサインインするには、ここをクリックしてください</p>\n <CRow>\n <CCol>\n <CButton color=\"primary\" className=\"px-4\" onClick={launchsso}>SSOでログイン</CButton>\n </CCol>\n </CRow>\n </CForm>\n </CCardBody>\n </CCard>\n <CCard className=\"text-white bg-primary py-5 d-md-down-none\" style={{ width: '44%' }}>\n <CCardBody className=\"text-center\">\n <div>\n <h2>ログイン方法</h2>\n <p>これはSSOログインを使用します。リンクをクリックすると、SSOログインページにリダイレクトされます。</p>\n </div>\n </CCardBody>\n </CCard>\n </CCardGroup>\n </CCol>\n </CRow>\n </CContainer>\n </div>\n )\n}\n\nexport default Sso\n"],"sourceRoot":""}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,2 +1,2 @@
(this["webpackJsonp@coreui/coreui-free-react-admin-template"]=this["webpackJsonp@coreui/coreui-free-react-admin-template"]||[]).push([[7],{689:function(e,t,c){"use strict";c.r(t);var n=c(636),s=c(1),i=c(632),r=c.n(i),a=c(630),l=c(629),j=c(17);t.default=function(){var e=Object(s.useState)(null),t=Object(n.a)(e,2),c=t[0],i=t[1];return Object(j.jsx)("div",{children:Object(j.jsxs)(a.f,{children:[Object(j.jsx)(a.j,{children:"\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9 "})," ",Object(j.jsxs)(a.g,{children:[Object(j.jsxs)(a.t,{row:!0,children:[Object(j.jsxs)(a.k,{md:"3",children:[Object(j.jsx)(a.H,{htmlFor:"date-input",children:" \u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u3092\u9078\u3093\u3067\u304f\u3060\u3055\u3044 "})," "]})," ",Object(j.jsx)(a.k,{xs:"12",md:"9",children:Object(j.jsx)(a.C,{type:"file",onChange:function(e){i(e.target.files[0])},id:"file-input",name:"file-input"})})," "]}),Object(j.jsxs)(a.h,{children:[Object(j.jsxs)(a.e,{type:"submit",onClick:function(e){var t=new FormData;t.append("file",c),console.log("calling upload"),r.a.post("https://fsbsso.sumasen.net/upload",t,{}).then((function(e){"OK"==e.statusText&&alert("\u6b63\u5e38\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3055\u308c\u307e\u3057\u305f")}))},size:"sm",color:"primary",children:[" ",Object(j.jsx)(l.a,{name:"cil-scrubber"})," \u30a2\u30c3\u30d7\u30ed\u30fc\u30c9 "]})," "]})]})]})})}}}]); (this["webpackJsonp@coreui/coreui-free-react-admin-template"]=this["webpackJsonp@coreui/coreui-free-react-admin-template"]||[]).push([[8],{773:function(e,t,c){"use strict";c.r(t);var n=c(655),s=c(1),i=c(642),r=c.n(i),a=c(637),l=c(636),j=c(18);t.default=function(){var e=Object(s.useState)(null),t=Object(n.a)(e,2),c=t[0],i=t[1];return Object(j.jsx)("div",{children:Object(j.jsxs)(a.f,{children:[Object(j.jsx)(a.j,{children:"\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9 "})," ",Object(j.jsxs)(a.g,{children:[Object(j.jsxs)(a.t,{row:!0,children:[Object(j.jsxs)(a.k,{md:"3",children:[Object(j.jsx)(a.H,{htmlFor:"date-input",children:" \u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u3092\u9078\u3093\u3067\u304f\u3060\u3055\u3044 "})," "]})," ",Object(j.jsx)(a.k,{xs:"12",md:"9",children:Object(j.jsx)(a.C,{type:"file",onChange:function(e){i(e.target.files[0])},id:"file-input",name:"file-input"})})," "]}),Object(j.jsxs)(a.h,{children:[Object(j.jsxs)(a.e,{type:"submit",onClick:function(e){var t=new FormData;t.append("file",c),console.log("calling upload"),r.a.post("https://fsbsso.sumasen.net/upload",t,{}).then((function(e){"OK"==e.statusText&&alert("\u6b63\u5e38\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3055\u308c\u307e\u3057\u305f")}))},size:"sm",color:"primary",children:[" ",Object(j.jsx)(l.a,{name:"cil-scrubber"})," \u30a2\u30c3\u30d7\u30ed\u30fc\u30c9 "]})," "]})]})]})})}}}]);
//# sourceMappingURL=7.c0512e9f.chunk.js.map //# sourceMappingURL=8.40731ea8.chunk.js.map

View File

@ -1 +1 @@
{"version":3,"sources":["views/Uploader/index.js"],"names":["Uploader","useState","file","setFile","row","md","htmlFor","xs","type","onChange","e","target","files","id","name","onClick","data","FormData","append","console","log","axios","post","then","res","statusText","alert","size","color"],"mappings":"mPA8EeA,UA7Df,WAEI,MAAwBC,mBAAS,MAAjC,mBAAOC,EAAP,KAAaC,EAAb,KAqBA,OAAS,8BAEL,eACA,IADA,WAEA,cACA,IADA,oDAFA,IAKc,eACd,IADc,WAEd,eACA,IADA,CACWC,KAAG,EADd,UAEA,eACA,IADA,CACKC,GAAK,IADV,UAEA,cACA,IADA,CACOC,QAAU,aADjB,wIAFA,OAFA,IAMO,cACP,IADO,CACFC,GAAK,KACVF,GAAK,IAFE,SAGP,cACA,IADA,CACWG,KAAO,OAClBC,SAvCJ,SAAyBC,GACrBP,EAAQO,EAAEC,OAAOC,MAAM,KAuCvBC,GAAK,aACLC,KAAO,iBAbP,OAiBA,eAAC,IAAD,WACA,eAAC,IAAD,CAASN,KAAO,SAChBO,QA3CJ,SAAwBL,GACpB,IAAMM,EAAO,IAAIC,SACjBD,EAAKE,OAAO,OAAQhB,GAEpBiB,QAAQC,IAAI,kBACZC,IAAMC,KAAK,oCAAqCN,EAAM,IAEjDO,MAAK,SAAAC,GAEoB,MAAlBA,EAAIC,YACNC,MAAM,4FAkChBC,KAAO,KACPC,MAAQ,UAHR,cAGoB,cAAE,IAAF,CAAQd,KAAO,iBAHnC,4CADA","file":"static/js/7.c0512e9f.chunk.js","sourcesContent":["import React, { useState } from 'react';\nimport axios from 'axios';\nimport {\n CCol,\n CFormGroup,\n CInput,\n CInputFile,\n CLabel,\n CButton,\n CCard,\n CCardHeader,\n CCardBody,\n CCardFooter,\n} from '@coreui/react'\nimport CIcon from '@coreui/icons-react'\n\n\nfunction Uploader() {\n\n const [file, setFile] = useState(null);\n\n function onChangeHandler(e) {\n setFile(e.target.files[0])\n }\n\n function onClickHandler(e) {\n const data = new FormData()\n data.append('file', file);\n //console.log(file);\n console.log('calling upload');\n axios.post(\"https://fsbsso.sumasen.net/upload\", data, { // receive two parameter endpoint url ,form data\n })\n .then(res => { // then print response status\n //console.log(res.statusText)\n if (res.statusText == 'OK') {\n alert(\"正常にアップロードされました\");\n }\n });\n }\n\n return ( <\n div >\n <\n CCard >\n <\n CCardHeader >\n アップロード <\n /CCardHeader> <\n CCardBody >\n <\n CFormGroup row >\n <\n CCol md = \"3\" >\n <\n CLabel htmlFor = \"date-input\" > アップロードするファイルを選んでください < /CLabel> < /\n CCol > <\n CCol xs = \"12\"\n md = \"9\" >\n <\n CInputFile type = \"file\"\n onChange = { onChangeHandler }\n id = \"file-input\"\n name = \"file-input\" / >\n <\n /CCol> < /\n CFormGroup >\n <CCardFooter >\n <CButton type = \"submit\"\n onClick = { onClickHandler }\n size = \"sm\"\n color = \"primary\" > < CIcon name = \"cil-scrubber\" / > アップロード < /CButton> < /\n CCardFooter>\n </CCardBody>\n </CCard>\n </div>\n )\n}\n\nexport default Uploader\n"],"sourceRoot":""} {"version":3,"sources":["views/Uploader/index.js"],"names":["Uploader","useState","file","setFile","row","md","htmlFor","xs","type","onChange","e","target","files","id","name","onClick","data","FormData","append","console","log","axios","post","then","res","statusText","alert","size","color"],"mappings":"mPA8EeA,UA7Df,WAEI,MAAwBC,mBAAS,MAAjC,mBAAOC,EAAP,KAAaC,EAAb,KAqBA,OAAS,8BAEL,eACA,IADA,WAEA,cACA,IADA,oDAFA,IAKc,eACd,IADc,WAEd,eACA,IADA,CACWC,KAAG,EADd,UAEA,eACA,IADA,CACKC,GAAK,IADV,UAEA,cACA,IADA,CACOC,QAAU,aADjB,wIAFA,OAFA,IAMO,cACP,IADO,CACFC,GAAK,KACVF,GAAK,IAFE,SAGP,cACA,IADA,CACWG,KAAO,OAClBC,SAvCJ,SAAyBC,GACrBP,EAAQO,EAAEC,OAAOC,MAAM,KAuCvBC,GAAK,aACLC,KAAO,iBAbP,OAiBA,eAAC,IAAD,WACA,eAAC,IAAD,CAASN,KAAO,SAChBO,QA3CJ,SAAwBL,GACpB,IAAMM,EAAO,IAAIC,SACjBD,EAAKE,OAAO,OAAQhB,GAEpBiB,QAAQC,IAAI,kBACZC,IAAMC,KAAK,oCAAqCN,EAAM,IAEjDO,MAAK,SAAAC,GAEoB,MAAlBA,EAAIC,YACNC,MAAM,4FAkChBC,KAAO,KACPC,MAAQ,UAHR,cAGoB,cAAE,IAAF,CAAQd,KAAO,iBAHnC,4CADA","file":"static/js/8.40731ea8.chunk.js","sourcesContent":["import React, { useState } from 'react';\nimport axios from 'axios';\nimport {\n CCol,\n CFormGroup,\n CInput,\n CInputFile,\n CLabel,\n CButton,\n CCard,\n CCardHeader,\n CCardBody,\n CCardFooter,\n} from '@coreui/react'\nimport CIcon from '@coreui/icons-react'\n\n\nfunction Uploader() {\n\n const [file, setFile] = useState(null);\n\n function onChangeHandler(e) {\n setFile(e.target.files[0])\n }\n\n function onClickHandler(e) {\n const data = new FormData()\n data.append('file', file);\n //console.log(file);\n console.log('calling upload');\n axios.post(\"https://fsbsso.sumasen.net/upload\", data, { // receive two parameter endpoint url ,form data\n })\n .then(res => { // then print response status\n //console.log(res.statusText)\n if (res.statusText == 'OK') {\n alert(\"正常にアップロードされました\");\n }\n });\n }\n\n return ( <\n div >\n <\n CCard >\n <\n CCardHeader >\n アップロード <\n /CCardHeader> <\n CCardBody >\n <\n CFormGroup row >\n <\n CCol md = \"3\" >\n <\n CLabel htmlFor = \"date-input\" > アップロードするファイルを選んでください < /CLabel> < /\n CCol > <\n CCol xs = \"12\"\n md = \"9\" >\n <\n CInputFile type = \"file\"\n onChange = { onChangeHandler }\n id = \"file-input\"\n name = \"file-input\" / >\n <\n /CCol> < /\n CFormGroup >\n <CCardFooter >\n <CButton type = \"submit\"\n onClick = { onClickHandler }\n size = \"sm\"\n color = \"primary\" > < CIcon name = \"cil-scrubber\" / > アップロード < /CButton> < /\n CCardFooter>\n </CCardBody>\n </CCard>\n </div>\n )\n}\n\nexport default Uploader\n"],"sourceRoot":""}

View File

@ -1,2 +0,0 @@
(this["webpackJsonp@coreui/coreui-free-react-admin-template"]=this["webpackJsonp@coreui/coreui-free-react-admin-template"]||[]).push([[8],{688:function(e,c,t){"use strict";t.r(c);t(1),t(629);var i=t(630),r=t(17);c.default=function(){return Object(r.jsx)("div",{children:Object(r.jsx)(i.f,{class:"bg-info",children:Object(r.jsx)(i.g,{children:Object(r.jsx)("div",{class:"text-white text-center card bg-info",children:Object(r.jsx)("div",{class:"card-body",children:Object(r.jsx)("blockquote",{class:"card-bodyquote",children:Object(r.jsx)("h1",{children:"FBS Web app"})})})})})})})}}}]);
//# sourceMappingURL=8.b6cab072.chunk.js.map

View File

@ -1 +0,0 @@
{"version":3,"sources":["views/dashboard/Dashboard.js"],"names":["Dashboard","class"],"mappings":"4KAAA,wCAkCeA,UAnBG,WAChB,OACE,8BACE,cAAC,IAAD,CAAOC,MAAM,UAAb,SACE,cAAC,IAAD,UACA,qBAAKA,MAAM,sCAAX,SACP,qBAAKA,MAAM,YAAX,SACC,4BAAYA,MAAM,iBAAlB,SACC","file":"static/js/8.b6cab072.chunk.js","sourcesContent":["import React, { lazy } from 'react'\nimport CIcon from '@coreui/icons-react'\nimport {\n CCol,\n CFormGroup,\n CInput,\n CInputFile,\n CLabel,\n CButton,\n CCard,\n CCardHeader,\n CCardBody,\n CCardFooter,\n} from '@coreui/react'\n\nconst Dashboard = () => {\n return (\n <div >\n <CCard class=\"bg-info\">\n <CCardBody >\n <div class=\"text-white text-center card bg-info\">\n\t<div class=\"card-body\">\n\t\t<blockquote class=\"card-bodyquote\">\n\t\t\t<h1>FBS Web app</h1>\n\t\t</blockquote>\n\t</div>\n</div>\n </CCardBody>\n </CCard>\n </div>\n)\n\n}\n\nexport default Dashboard\n"],"sourceRoot":""}

View File

@ -0,0 +1,2 @@
(this["webpackJsonp@coreui/coreui-free-react-admin-template"]=this["webpackJsonp@coreui/coreui-free-react-admin-template"]||[]).push([[9],{771:function(e,c,t){"use strict";t.r(c);t(1),t(636);var i=t(637),r=t(18);c.default=function(){return Object(r.jsx)("div",{children:Object(r.jsx)(i.f,{className:"bg-info",children:Object(r.jsx)(i.g,{children:Object(r.jsx)("div",{className:"text-white text-center card bg-info",children:Object(r.jsx)("div",{className:"card-body",children:Object(r.jsx)("blockquote",{className:"card-bodyquote",children:Object(r.jsx)("h1",{children:"FBS Web app"})})})})})})})}}}]);
//# sourceMappingURL=9.311e2cfe.chunk.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["views/dashboard/Dashboard.js"],"names":["Dashboard","className"],"mappings":"4KAAA,wCAkCeA,UAnBG,WAChB,OACE,8BACE,cAAC,IAAD,CAAOC,UAAU,UAAjB,SACE,cAAC,IAAD,UACA,qBAAKA,UAAU,sCAAf,SACP,qBAAKA,UAAU,YAAf,SACC,4BAAYA,UAAU,iBAAtB,SACC","file":"static/js/9.311e2cfe.chunk.js","sourcesContent":["import React, { lazy } from 'react'\nimport CIcon from '@coreui/icons-react'\nimport {\n CCol,\n CFormGroup,\n CInput,\n CInputFile,\n CLabel,\n CButton,\n CCard,\n CCardHeader,\n CCardBody,\n CCardFooter,\n} from '@coreui/react'\n\nconst Dashboard = () => {\n return (\n <div >\n <CCard className=\"bg-info\">\n <CCardBody >\n <div className=\"text-white text-center card bg-info\">\n\t<div className=\"card-body\">\n\t\t<blockquote className=\"card-bodyquote\">\n\t\t\t<h1>FBS Web app</h1>\n\t\t</blockquote>\n\t</div>\n</div>\n </CCardBody>\n </CCard>\n </div>\n)\n\n}\n\nexport default Dashboard\n"],"sourceRoot":""}

View File

@ -1,2 +0,0 @@
(this["webpackJsonp@coreui/coreui-free-react-admin-template"]=this["webpackJsonp@coreui/coreui-free-react-admin-template"]||[]).push([[9],{684:function(e,c,t){"use strict";t.r(c);t(1);var s=t(157),r=t(630),i=t(629),l=t(17);c.default=function(){return Object(l.jsx)("div",{className:"c-app c-default-layout flex-row align-items-center",children:Object(l.jsx)(r.l,{children:Object(l.jsx)(r.K,{className:"justify-content-center",children:Object(l.jsx)(r.k,{md:"8",children:Object(l.jsxs)(r.i,{children:[Object(l.jsx)(r.f,{className:"p-4",children:Object(l.jsx)(r.g,{children:Object(l.jsxs)(r.s,{children:[Object(l.jsx)("h1",{children:"Login"}),Object(l.jsx)("p",{className:"text-muted",children:"Sign In to your account"}),Object(l.jsxs)(r.D,{className:"mb-3",children:[Object(l.jsx)(r.F,{children:Object(l.jsx)(r.G,{children:Object(l.jsx)(i.a,{name:"cil-user"})})}),Object(l.jsx)(r.A,{type:"text",placeholder:"Username",autoComplete:"username"})]}),Object(l.jsxs)(r.D,{className:"mb-4",children:[Object(l.jsx)(r.F,{children:Object(l.jsx)(r.G,{children:Object(l.jsx)(i.a,{name:"cil-lock-locked"})})}),Object(l.jsx)(r.A,{type:"password",placeholder:"Password",autoComplete:"current-password"})]}),Object(l.jsxs)(r.K,{children:[Object(l.jsx)(r.k,{xs:"6",children:Object(l.jsx)(r.e,{color:"primary",className:"px-4",children:"Login"})}),Object(l.jsx)(r.k,{xs:"6",className:"text-right",children:Object(l.jsx)(r.e,{color:"link",className:"px-0",children:"Forgot password?"})})]})]})})}),Object(l.jsx)(r.f,{className:"text-white bg-primary py-5 d-md-down-none",style:{width:"44%"},children:Object(l.jsx)(r.g,{className:"text-center",children:Object(l.jsxs)("div",{children:[Object(l.jsx)("h2",{children:"Sign up"}),Object(l.jsx)("p",{children:"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."}),Object(l.jsx)(s.b,{to:"/register",children:Object(l.jsx)(r.e,{color:"primary",className:"mt-3",active:!0,tabIndex:-1,children:"Register Now!"})})]})})})]})})})})})}}}]);
//# sourceMappingURL=9.67caa7ac.chunk.js.map

View File

@ -1 +0,0 @@
{"version":3,"sources":["views/pages/login/Login.js"],"names":["Login","className","md","name","type","placeholder","autoComplete","xs","color","style","width","to","active","tabIndex"],"mappings":"4KAAA,mDA6EeA,UA3DD,WACZ,OACE,qBAAKC,UAAU,qDAAf,SACE,cAAC,IAAD,UACE,cAAC,IAAD,CAAMA,UAAU,yBAAhB,SACE,cAAC,IAAD,CAAMC,GAAG,IAAT,SACE,eAAC,IAAD,WACE,cAAC,IAAD,CAAOD,UAAU,MAAjB,SACE,cAAC,IAAD,UACE,eAAC,IAAD,WACE,uCACA,mBAAGA,UAAU,aAAb,qCACA,eAAC,IAAD,CAAaA,UAAU,OAAvB,UACE,cAAC,IAAD,UACE,cAAC,IAAD,UACE,cAAC,IAAD,CAAOE,KAAK,iBAGhB,cAAC,IAAD,CAAQC,KAAK,OAAOC,YAAY,WAAWC,aAAa,gBAE1D,eAAC,IAAD,CAAaL,UAAU,OAAvB,UACE,cAAC,IAAD,UACE,cAAC,IAAD,UACE,cAAC,IAAD,CAAOE,KAAK,wBAGhB,cAAC,IAAD,CAAQC,KAAK,WAAWC,YAAY,WAAWC,aAAa,wBAE9D,eAAC,IAAD,WACE,cAAC,IAAD,CAAMC,GAAG,IAAT,SACE,cAAC,IAAD,CAASC,MAAM,UAAUP,UAAU,OAAnC,qBAEF,cAAC,IAAD,CAAMM,GAAG,IAAIN,UAAU,aAAvB,SACE,cAAC,IAAD,CAASO,MAAM,OAAOP,UAAU,OAAhC,0CAMV,cAAC,IAAD,CAAOA,UAAU,4CAA4CQ,MAAO,CAAEC,MAAO,OAA7E,SACE,cAAC,IAAD,CAAWT,UAAU,cAArB,SACE,gCACE,yCACA,6JAEA,cAAC,IAAD,CAAMU,GAAG,YAAT,SACE,cAAC,IAAD,CAASH,MAAM,UAAUP,UAAU,OAAOW,QAAM,EAACC,UAAW,EAA5D","file":"static/js/9.67caa7ac.chunk.js","sourcesContent":["import React from 'react'\nimport { Link } from 'react-router-dom'\nimport {\n CButton,\n CCard,\n CCardBody,\n CCardGroup,\n CCol,\n CContainer,\n CForm,\n CInput,\n CInputGroup,\n CInputGroupPrepend,\n CInputGroupText,\n CRow\n} from '@coreui/react'\nimport CIcon from '@coreui/icons-react'\n\nconst Login = () => {\n return (\n <div className=\"c-app c-default-layout flex-row align-items-center\">\n <CContainer>\n <CRow className=\"justify-content-center\">\n <CCol md=\"8\">\n <CCardGroup>\n <CCard className=\"p-4\">\n <CCardBody>\n <CForm>\n <h1>Login</h1>\n <p className=\"text-muted\">Sign In to your account</p>\n <CInputGroup className=\"mb-3\">\n <CInputGroupPrepend>\n <CInputGroupText>\n <CIcon name=\"cil-user\" />\n </CInputGroupText>\n </CInputGroupPrepend>\n <CInput type=\"text\" placeholder=\"Username\" autoComplete=\"username\" />\n </CInputGroup>\n <CInputGroup className=\"mb-4\">\n <CInputGroupPrepend>\n <CInputGroupText>\n <CIcon name=\"cil-lock-locked\" />\n </CInputGroupText>\n </CInputGroupPrepend>\n <CInput type=\"password\" placeholder=\"Password\" autoComplete=\"current-password\" />\n </CInputGroup>\n <CRow>\n <CCol xs=\"6\">\n <CButton color=\"primary\" className=\"px-4\">Login</CButton>\n </CCol>\n <CCol xs=\"6\" className=\"text-right\">\n <CButton color=\"link\" className=\"px-0\">Forgot password?</CButton>\n </CCol>\n </CRow>\n </CForm>\n </CCardBody>\n </CCard>\n <CCard className=\"text-white bg-primary py-5 d-md-down-none\" style={{ width: '44%' }}>\n <CCardBody className=\"text-center\">\n <div>\n <h2>Sign up</h2>\n <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut\n labore et dolore magna aliqua.</p>\n <Link to=\"/register\">\n <CButton color=\"primary\" className=\"mt-3\" active tabIndex={-1}>Register Now!</CButton>\n </Link>\n </div>\n </CCardBody>\n </CCard>\n </CCardGroup>\n </CCol>\n </CRow>\n </CContainer>\n </div>\n )\n}\n\nexport default Login\n"],"sourceRoot":""}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,2 @@
!function(e){function t(t){for(var n,o,u=t[0],i=t[1],f=t[2],d=0,s=[];d<u.length;d++)o=u[d],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&s.push(a[o][0]),a[o]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(l&&l(t);s.length;)s.shift()();return c.push.apply(c,f||[]),r()}function r(){for(var e,t=0;t<c.length;t++){for(var r=c[t],n=!0,o=1;o<r.length;o++){var i=r[o];0!==a[i]&&(n=!1)}n&&(c.splice(t--,1),e=u(u.s=r[0]))}return e}var n={},o={3:0},a={3:0},c=[];function u(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,u),r.l=!0,r.exports}u.e=function(e){var t=[];o[e]?t.push(o[e]):0!==o[e]&&{0:1,5:1}[e]&&t.push(o[e]=new Promise((function(t,r){for(var n="static/css/"+({}[e]||e)+"."+{0:"455ee148",1:"31d6cfe0",5:"ecdd39c8",6:"31d6cfe0",7:"31d6cfe0",8:"31d6cfe0",9:"31d6cfe0",10:"31d6cfe0",11:"31d6cfe0",12:"31d6cfe0",13:"31d6cfe0",14:"31d6cfe0",15:"31d6cfe0",16:"31d6cfe0"}[e]+".chunk.css",a=u.p+n,c=document.getElementsByTagName("link"),i=0;i<c.length;i++){var f=(l=c[i]).getAttribute("data-href")||l.getAttribute("href");if("stylesheet"===l.rel&&(f===n||f===a))return t()}var d=document.getElementsByTagName("style");for(i=0;i<d.length;i++){var l;if((f=(l=d[i]).getAttribute("data-href"))===n||f===a)return t()}var s=document.createElement("link");s.rel="stylesheet",s.type="text/css",s.onload=t,s.onerror=function(t){var n=t&&t.target&&t.target.src||a,c=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");c.code="CSS_CHUNK_LOAD_FAILED",c.request=n,delete o[e],s.parentNode.removeChild(s),r(c)},s.href=a,document.getElementsByTagName("head")[0].appendChild(s)})).then((function(){o[e]=0})));var r=a[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=a[e]=[t,n]}));t.push(r[2]=n);var c,i=document.createElement("script");i.charset="utf-8",i.timeout=120,u.nc&&i.setAttribute("nonce",u.nc),i.src=function(e){return u.p+"static/js/"+({}[e]||e)+"."+{0:"e423db2b",1:"bd3709d0",5:"713b21d1",6:"bba51257",7:"978d3646",8:"40731ea8",9:"311e2cfe",10:"1aee78b2",11:"d20ada69",12:"2c871bc8",13:"886a98ec",14:"ef6f2a9c",15:"e3d77fc1",16:"3fdf9cdf"}[e]+".chunk.js"}(e);var f=new Error;c=function(t){i.onerror=i.onload=null,clearTimeout(d);var r=a[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;f.message="Loading chunk "+e+" failed.\n("+n+": "+o+")",f.name="ChunkLoadError",f.type=n,f.request=o,r[1](f)}a[e]=void 0}};var d=setTimeout((function(){c({type:"timeout",target:i})}),12e4);i.onerror=i.onload=c,document.head.appendChild(i)}return Promise.all(t)},u.m=e,u.c=n,u.d=function(e,t,r){u.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},u.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,t){if(1&t&&(e=u(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(u.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)u.d(r,n,function(t){return e[t]}.bind(null,n));return r},u.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(t,"a",t),t},u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},u.p="./",u.oe=function(e){throw console.error(e),e};var i=this["webpackJsonp@coreui/coreui-free-react-admin-template"]=this["webpackJsonp@coreui/coreui-free-react-admin-template"]||[],f=i.push.bind(i);i.push=t,i=i.slice();for(var d=0;d<i.length;d++)t(i[d]);var l=f;r()}([]);
//# sourceMappingURL=runtime-main.bac569c0.js.map

File diff suppressed because one or more lines are too long

View File

@ -1,2 +0,0 @@
!function(e){function t(t){for(var n,o,u=t[0],f=t[1],i=t[2],l=0,d=[];l<u.length;l++)o=u[l],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&d.push(a[o][0]),a[o]=0;for(n in f)Object.prototype.hasOwnProperty.call(f,n)&&(e[n]=f[n]);for(s&&s(t);d.length;)d.shift()();return c.push.apply(c,i||[]),r()}function r(){for(var e,t=0;t<c.length;t++){for(var r=c[t],n=!0,o=1;o<r.length;o++){var f=r[o];0!==a[f]&&(n=!1)}n&&(c.splice(t--,1),e=u(u.s=r[0]))}return e}var n={},o={3:0},a={3:0},c=[];function u(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,u),r.l=!0,r.exports}u.e=function(e){var t=[];o[e]?t.push(o[e]):0!==o[e]&&{0:1}[e]&&t.push(o[e]=new Promise((function(t,r){for(var n="static/css/"+({}[e]||e)+"."+{0:"0ef68903",1:"31d6cfe0",5:"31d6cfe0",6:"31d6cfe0",7:"31d6cfe0",8:"31d6cfe0",9:"31d6cfe0",10:"31d6cfe0",11:"31d6cfe0",12:"31d6cfe0",13:"31d6cfe0",14:"31d6cfe0",15:"31d6cfe0"}[e]+".chunk.css",a=u.p+n,c=document.getElementsByTagName("link"),f=0;f<c.length;f++){var i=(s=c[f]).getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(i===n||i===a))return t()}var l=document.getElementsByTagName("style");for(f=0;f<l.length;f++){var s;if((i=(s=l[f]).getAttribute("data-href"))===n||i===a)return t()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.onload=t,d.onerror=function(t){var n=t&&t.target&&t.target.src||a,c=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");c.code="CSS_CHUNK_LOAD_FAILED",c.request=n,delete o[e],d.parentNode.removeChild(d),r(c)},d.href=a,document.getElementsByTagName("head")[0].appendChild(d)})).then((function(){o[e]=0})));var r=a[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=a[e]=[t,n]}));t.push(r[2]=n);var c,f=document.createElement("script");f.charset="utf-8",f.timeout=120,u.nc&&f.setAttribute("nonce",u.nc),f.src=function(e){return u.p+"static/js/"+({}[e]||e)+"."+{0:"e27bb3c3",1:"02f0536f",5:"f737bceb",6:"e3c13f5e",7:"c0512e9f",8:"b6cab072",9:"67caa7ac",10:"e00f2607",11:"1a621126",12:"191a20e6",13:"c6fea114",14:"06466d45",15:"1bb2dbef"}[e]+".chunk.js"}(e);var i=new Error;c=function(t){f.onerror=f.onload=null,clearTimeout(l);var r=a[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;i.message="Loading chunk "+e+" failed.\n("+n+": "+o+")",i.name="ChunkLoadError",i.type=n,i.request=o,r[1](i)}a[e]=void 0}};var l=setTimeout((function(){c({type:"timeout",target:f})}),12e4);f.onerror=f.onload=c,document.head.appendChild(f)}return Promise.all(t)},u.m=e,u.c=n,u.d=function(e,t,r){u.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},u.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,t){if(1&t&&(e=u(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(u.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)u.d(r,n,function(t){return e[t]}.bind(null,n));return r},u.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(t,"a",t),t},u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},u.p="./",u.oe=function(e){throw console.error(e),e};var f=this["webpackJsonp@coreui/coreui-free-react-admin-template"]=this["webpackJsonp@coreui/coreui-free-react-admin-template"]||[],i=f.push.bind(f);f.push=t,f=f.slice();for(var l=0;l<f.length;l++)t(f[l]);var s=i;r()}([]);
//# sourceMappingURL=runtime-main.e1b9f488.js.map

File diff suppressed because one or more lines are too long

View File

@ -43,6 +43,7 @@
"prop-types": "^15.7.2", "prop-types": "^15.7.2",
"react": "^17.0.2", "react": "^17.0.2",
"react-app-polyfill": "^2.0.0", "react-app-polyfill": "^2.0.0",
"react-datepicker": "^4.2.0",
"react-dom": "^17.0.2", "react-dom": "^17.0.2",
"react-redux": "^7.2.3", "react-redux": "^7.2.3",
"react-router-dom": "^5.2.0", "react-router-dom": "^5.2.0",

View File

@ -27,26 +27,23 @@ import {
CSwitch, CSwitch,
} from '@coreui/react' } from '@coreui/react'
import CIcon from '@coreui/icons-react' import CIcon from '@coreui/icons-react'
import Downloader from '../downloader';
const FileDownload = require('js-file-download');
import DatePicker from "react-datepicker";
import "react-datepicker/dist/react-datepicker.css";
function Index() { function Index() {
const baseUrl = "https://natnats.mobilous.com/"; const baseUrl = "https://natnats.mobilous.com/";
var today = new Date();
var cdate = (today.getMonth()+1)+'/'+today.getDate()+'/'+today.getFullYear();
const [data, setData] = useState([]); const [data, setData] = useState([]);
const [sdate, setSdate] = useState(cdate);
const [report, setReport] = useState(''); const [report, setReport] = useState('');
const [selectedcons, setSelectedCons] = useState(''); const [selectedcons, setSelectedCons] = useState('');
const [graph, setGraph] = useState(false); const [graph, setGraph] = useState(false);
const [startDate, setStartDate] = useState(null);
const [validDates, setValidDates] = useState([]);
useEffect(() => { useEffect(() => {
async function fetchData() { async function fetchData() {
// You can await here // You can await here
@ -56,15 +53,35 @@ function Index() {
fetchData(); fetchData();
}, []); }, []);
function setingSDate(e){ useEffect(() => {
setSdate(e.target.value); async function fetchData() {
// You can await here
if(selectedcons !== "" && report !== "") {
const result = await axios('https://natnats.mobilous.com/getDateToHaveData?construction_id=' + selectedcons + '&sheetname=' + report);
setValidDates(result.data.record);
}
}
fetchData();
}, [report, selectedcons]);
function getDateWithFormat(date) {
var thisDate = date;
var dd = String(date.getDate()).padStart(2, '0');
var mm = String(date.getMonth() + 1).padStart(2, '0'); //January is 0!
var yyyy = date.getFullYear();
thisDate = yyyy + '-' + mm + '-' + dd
return thisDate;
} }
function setingReport(e){ function setingReport(e){
setReport(e.target.value); setReport(e.target.value);
setStartDate(null);
} }
function setingSelectedCons(e) { function setingSelectedCons(e) {
setSelectedCons(e.target.value); setSelectedCons(e.target.value);
setStartDate(null);
} }
function setingGraph(e){ function setingGraph(e){
@ -78,15 +95,11 @@ function Index() {
} }
var url = ""; var url = "";
if(graph){ if(graph){
url = baseUrl + "/" + report + "?construction_id=" +selectedcons+ "&construction_date="+sdate+"&graph=true"; url = baseUrl + "/generate" + report + "?construction_id=" +selectedcons+ "&construction_date="+getDateWithFormat(startDate)+"&graph=true";
} }
else{ else{
url = baseUrl + "/" + report + "?construction_id=" +selectedcons+ "&construction_date="+sdate; url = baseUrl + "/generate" + report + "?construction_id=" +selectedcons+ "&construction_date="+getDateWithFormat(startDate);
} }
console.log(url);
//console.log(selectedcons);
//console.log(sdate);
//console.log(report);
downloadReport(url); downloadReport(url);
} }
@ -104,14 +117,18 @@ function Index() {
link.click(); link.click();
}); });
//return <Downloader iframeSrc={url} />
// const response = axios(url).then((res) => {
// FileDownload(res.data, 'report.xls');
// })
//console.log(response);
} }
const checkAvilable = (date) => {
var thisDate = getDateWithFormat(date);
if(validDates.includes(thisDate)){
return true;
}
else{
return false;
}
};
return ( return (
<CRow> <CRow>
<CCol xs="12" sm="12" md="12"> <CCol xs="12" sm="12" md="12">
@ -132,18 +149,9 @@ function Index() {
} }
</CSelect> </CSelect>
<CCard> <CCard>
<CCardBody> <CCardBody>
<CForm action="" method="post" encType="multipart/form-data" className="form-horizontal"> <CForm action="" method="post" encType="multipart/form-data" className="form-horizontal">
<CFormGroup row>
<CCol md="3">
<CLabel htmlFor="date-input">日付 ({sdate})</CLabel>
</CCol>
<CCol xs="12" md="9">
<CInput type="date" id="date-input" name="date-input" placeholder="日付" value={sdate} onChange={setingSDate}/>
</CCol>
</CFormGroup>
<CFormGroup row> <CFormGroup row>
<CCol md="3"> <CCol md="3">
<CLabel htmlFor="select">選択</CLabel> <CLabel htmlFor="select">選択</CLabel>
@ -151,18 +159,32 @@ function Index() {
<CCol xs="12" md="9"> <CCol xs="12" md="9">
<CSelect custom name="select" id="select" onChange={setingReport} value={report}> <CSelect custom name="select" id="select" onChange={setingReport} value={report}>
<option value="">-- 選択 --</option> <option value="">-- 選択 --</option>
<option value="generateBoxDisplacement">函体変位表</option> <option value="BoxDisplacement">函体変位表</option>
<option value="generateMachineControl">オープンシールドマシン管理日報</option> <option value="MachineControl">オープンシールドマシン管理日報</option>
<option value="generateMachineSheet">オープンシールド機変位表</option> <option value="MachineSheet">オープンシールド機変位表</option>
<option value="generateMeasurement">函底高偏位量測定一覧表</option> <option value="Measurement">函底高偏位量測定一覧表</option>
<option value="generateCheckSheet">工程内検査表</option> <option value="CheckSheet">工程内検査表</option>
<option value="generateInjection">裏込注入材料受払い簿</option> <option value="Injection">裏込注入材料受払い簿</option>
</CSelect> </CSelect>
</CCol> </CCol>
</CFormGroup> </CFormGroup>
<CFormGroup row>
<CCol md="3">
<CLabel htmlFor="select">日にち</CLabel>
</CCol>
<CCol xs="12" md="9">
<DatePicker
dateFormat="dd/MM/yyyy"
selected={startDate}
onChange={(date) => setStartDate(date)}
filterDate={checkAvilable}
placeholderText='日付を選択'
/>
</CCol>
</CFormGroup>
{report == 'generateMachineControl' ? {report == 'MachineControl' ?
<CFormGroup variant="checkbox" className="checkbox"> <CFormGroup variant="checkbox" className="checkbox">
<CInputCheckbox <CInputCheckbox
id="checkbox1" id="checkbox1"
@ -179,7 +201,11 @@ function Index() {
</CForm> </CForm>
</CCardBody> </CCardBody>
<CCardFooter> <CCardFooter>
<CButton type="submit" size="sm" color="primary" onClick={doGetReport}><CIcon name="cil-scrubber" /> ダウンロード</CButton> {startDate != null ?
<CButton type="submit" size="sm" color="primary" onClick={doGetReport}><CIcon name="cil-scrubber" /> ダウンロード</CButton>
:
<CButton disabled type="submit" size="sm" color="primary" onClick={doGetReport}><CIcon name="cil-scrubber" /> ダウンロード</CButton>
}
</CCardFooter> </CCardFooter>
</CCard> </CCard>
</CCardBody> </CCardBody>

View File

@ -16,11 +16,11 @@ import {
const Dashboard = () => { const Dashboard = () => {
return ( return (
<div > <div >
<CCard class="bg-info"> <CCard className="bg-info">
<CCardBody > <CCardBody >
<div class="text-white text-center card bg-info"> <div className="text-white text-center card bg-info">
<div class="card-body"> <div className="card-body">
<blockquote class="card-bodyquote"> <blockquote className="card-bodyquote">
<h1>FBS Web app</h1> <h1>FBS Web app</h1>
</blockquote> </blockquote>
</div> </div>

12370
yarn.lock Normal file

File diff suppressed because it is too large Load Diff