update Japanese text
This commit is contained in:
2
build/static/js/14.601f255c.chunk.js
Normal file
2
build/static/js/14.601f255c.chunk.js
Normal file
@ -0,0 +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"})]})})})]})})})})})}}}]);
|
||||
//# sourceMappingURL=14.601f255c.chunk.js.map
|
||||
1
build/static/js/14.601f255c.chunk.js.map
Normal file
1
build/static/js/14.601f255c.chunk.js.map
Normal file
@ -0,0 +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.601f255c.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":""}
|
||||
@ -1,2 +0,0 @@
|
||||
(this["webpackJsonp@coreui/coreui-free-react-admin-template"]=this["webpackJsonp@coreui/coreui-free-react-admin-template"]||[]).push([[14,15],{679:function(e,c,t){"use strict";t.r(c);t(1),t(632);var s=t(630),i=(t(629),t(17));c.default=function(){return Object(i.jsx)("div",{className:"c-app c-default-layout flex-row align-items-center",children:Object(i.jsx)(s.l,{children:Object(i.jsx)(s.K,{className:"justify-content-center",children:Object(i.jsx)(s.k,{md:"8",children:Object(i.jsxs)(s.i,{children:[Object(i.jsx)(s.f,{className:"p-4",children:Object(i.jsx)(s.g,{children:Object(i.jsxs)(s.s,{children:[Object(i.jsx)("h1",{children:"Login"}),Object(i.jsx)("p",{className:"text-muted",children:"Click here to Sign In with SSO"}),Object(i.jsx)(s.K,{children:Object(i.jsx)(s.k,{children:Object(i.jsx)(s.e,{color:"primary",className:"px-4",onClick:function(){console.log("launch sso"),window.open("https://fsbsso.sumasen.net/Shibboleth.sso/Login","_self")},children:"Login with SSO"})})})]})})}),Object(i.jsx)(s.f,{className:"text-white bg-primary py-5 d-md-down-none",style:{width:"44%"},children:Object(i.jsx)(s.g,{className:"text-center",children:Object(i.jsxs)("div",{children:[Object(i.jsx)("h2",{children:"How to Login"}),Object(i.jsx)("p",{children:"This uses SSO Login, by clicking the link will redirect to SSO login page"})]})})})]})})})})})}}}]);
|
||||
//# sourceMappingURL=14.74b9f302.chunk.js.map
|
||||
@ -1 +0,0 @@
|
||||
{"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,uCACA,mBAAGA,UAAU,aAAb,4CACA,cAAC,IAAD,UACE,cAAC,IAAD,UACE,cAAC,IAAD,CAASE,MAAM,UAAUF,UAAU,OAAOG,QAnBhE,WACEC,QAAQC,IAAI,cACZC,OAAOC,KAAK,kDAAmD,UAiB3C,uCAMV,cAAC,IAAD,CAAOP,UAAU,4CAA4CQ,MAAO,CAAEC,MAAO,OAA7E,SACE,cAAC,IAAD,CAAWT,UAAU,cAArB,SACE,gCACE,8CACA","file":"static/js/14.74b9f302.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>Login</h1>\n <p className=\"text-muted\">Click here to Sign In with SSO</p>\n <CRow>\n <CCol>\n <CButton color=\"primary\" className=\"px-4\" onClick={launchsso}>Login with 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>How to Login</h2>\n <p>This uses SSO Login, by clicking the link will redirect to SSO login page</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":""}
|
||||
@ -1,2 +0,0 @@
|
||||
(this["webpackJsonp@coreui/coreui-free-react-admin-template"]=this["webpackJsonp@coreui/coreui-free-react-admin-template"]||[]).push([[15,14],{679:function(e,c,t){"use strict";t.r(c);t(1),t(632);var s=t(630),i=(t(629),t(17));c.default=function(){return Object(i.jsx)("div",{className:"c-app c-default-layout flex-row align-items-center",children:Object(i.jsx)(s.l,{children:Object(i.jsx)(s.K,{className:"justify-content-center",children:Object(i.jsx)(s.k,{md:"8",children:Object(i.jsxs)(s.i,{children:[Object(i.jsx)(s.f,{className:"p-4",children:Object(i.jsx)(s.g,{children:Object(i.jsxs)(s.s,{children:[Object(i.jsx)("h1",{children:"Login"}),Object(i.jsx)("p",{className:"text-muted",children:"Click here to Sign In with SSO"}),Object(i.jsx)(s.K,{children:Object(i.jsx)(s.k,{children:Object(i.jsx)(s.e,{color:"primary",className:"px-4",onClick:function(){console.log("launch sso"),window.open("https://fsbsso.sumasen.net/Shibboleth.sso/Login","_self")},children:"Login with SSO"})})})]})})}),Object(i.jsx)(s.f,{className:"text-white bg-primary py-5 d-md-down-none",style:{width:"44%"},children:Object(i.jsx)(s.g,{className:"text-center",children:Object(i.jsxs)("div",{children:[Object(i.jsx)("h2",{children:"How to Login"}),Object(i.jsx)("p",{children:"This uses SSO Login, by clicking the link will redirect to SSO login page"})]})})})]})})})})})}}}]);
|
||||
//# sourceMappingURL=15.425c807e.chunk.js.map
|
||||
@ -1 +0,0 @@
|
||||
{"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,uCACA,mBAAGA,UAAU,aAAb,4CACA,cAAC,IAAD,UACE,cAAC,IAAD,UACE,cAAC,IAAD,CAASE,MAAM,UAAUF,UAAU,OAAOG,QAnBhE,WACEC,QAAQC,IAAI,cACZC,OAAOC,KAAK,kDAAmD,UAiB3C,uCAMV,cAAC,IAAD,CAAOP,UAAU,4CAA4CQ,MAAO,CAAEC,MAAO,OAA7E,SACE,cAAC,IAAD,CAAWT,UAAU,cAArB,SACE,gCACE,8CACA","file":"static/js/15.425c807e.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>Login</h1>\n <p className=\"text-muted\">Click here to Sign In with SSO</p>\n <CRow>\n <CCol>\n <CButton color=\"primary\" className=\"px-4\" onClick={launchsso}>Login with 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>How to Login</h2>\n <p>This uses SSO Login, by clicking the link will redirect to SSO login page</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":""}
|
||||
2
build/static/js/15.509ba4c2.chunk.js
Normal file
2
build/static/js/15.509ba4c2.chunk.js
Normal file
@ -0,0 +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"})]})})})]})})})})})}}}]);
|
||||
//# sourceMappingURL=15.509ba4c2.chunk.js.map
|
||||
1
build/static/js/15.509ba4c2.chunk.js.map
Normal file
1
build/static/js/15.509ba4c2.chunk.js.map
Normal file
@ -0,0 +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.509ba4c2.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
1
build/static/js/5.b57bb86e.chunk.js.map
Normal file
1
build/static/js/5.b57bb86e.chunk.js.map
Normal file
File diff suppressed because one or more lines are too long
@ -1,2 +0,0 @@
|
||||
(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 s=c(636),n=c(1),i=c(632),r=c.n(i),l=c(630),a=c(629),o=c(17);t.default=function(){var e=Object(n.useState)(null),t=Object(s.a)(e,2),c=t[0],i=t[1];return Object(o.jsxs)("div",{children:[Object(o.jsxs)(l.f,{children:[Object(o.jsx)(l.j,{children:"\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9 "})," ",Object(o.jsxs)(l.g,{children:[Object(o.jsxs)(l.t,{row:!0,children:[Object(o.jsxs)(l.k,{md:"3",children:[Object(o.jsx)(l.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(o.jsx)(l.k,{xs:"12",md:"9",children:Object(o.jsx)(l.C,{type:"file",onChange:function(e){i(e.target.files[0])},id:"file-input",name:"file-input"})})," "]})," ",Object(o.jsxs)(l.h,{children:[Object(o.jsxs)(l.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){console.log(e.statusText)}))},size:"sm",color:"primary",children:[" ",Object(o.jsx)(a.a,{name:"cil-scrubber"})," \u30a2\u30c3\u30d7\u30ed\u30fc\u30c9 "]})," "]})," "]})," "]})," "]})}}}]);
|
||||
//# sourceMappingURL=7.5b1b6ba6.chunk.js.map
|
||||
@ -1 +0,0 @@
|
||||
{"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","size","color"],"mappings":"mPA4EeA,UA3Df,WAEI,MAAwBC,mBAAS,MAAjC,mBAAOC,EAAP,KAAaC,EAAb,KAkBA,OAAS,gCAEL,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,SApCJ,SAAyBC,GACrBP,EAAQO,EAAEC,OAAOC,MAAM,KAoCvBC,GAAK,aACLC,KAAO,iBAbP,OAFc,IAkBD,eACb,IADa,WAEb,eACA,IADA,CACQN,KAAO,SACfO,QAzCJ,SAAwBL,GACpB,IAAMM,EAAO,IAAIC,SACjBD,EAAKE,OAAO,OAAQhB,GAEpBiB,QAAQC,IAAI,kBACZC,IAAMC,KAAK,oCAAqCN,EAAM,IAEjDO,MAAK,SAAAC,GACFL,QAAQC,IAAII,EAAIC,gBAkCxBC,KAAO,KACPC,MAAQ,UAJR,cAIoB,cAAE,IAAF,CAAQb,KAAO,iBAJnC,4CAFa,OAlBC,OALd,OAFK","file":"static/js/7.5b1b6ba6.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 });\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 <\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"],"sourceRoot":""}
|
||||
2
build/static/js/7.f7ff223a.chunk.js
Normal file
2
build/static/js/7.f7ff223a.chunk.js
Normal file
@ -0,0 +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 s=c(636),n=c(1),i=c(632),r=c.n(i),a=c(630),l=c(629),j=c(17);t.default=function(){var e=Object(n.useState)(null),t=Object(s.a)(e,2),c=t[0],i=t[1];return Object(j.jsxs)("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.f7ff223a.chunk.js.map
|
||||
1
build/static/js/7.f7ff223a.chunk.js.map
Normal file
1
build/static/js/7.f7ff223a.chunk.js.map
Normal file
@ -0,0 +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":"mPA+EeA,UA9Df,WAEI,MAAwBC,mBAAS,MAAjC,mBAAOC,EAAP,KAAaC,EAAb,KAqBA,OAAS,gCAEL,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,OAFc,IAkBD,eACb,IADa,WAEb,eACA,IADA,CACQN,KAAO,SACfO,QA5CJ,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,4FAmChBC,KAAO,KACPC,MAAQ,UAJR,cAIoB,cAAE,IAAF,CAAQd,KAAO,iBAJnC,4CAFa,OAlBC,OALd,OAFK","file":"static/js/7.f7ff223a.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 <\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":""}
|
||||
@ -1,2 +1,2 @@
|
||||
!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:"3c8b2f63",6:"51bb1ff7",7:"5b1b6ba6",8:"1b2eaf2a",9:"973d1ed6",10:"99cf4587",11:"b0e83278",12:"ea74e0e9",13:"2c1f7298",14:"74b9f302",15:"425c807e"}[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.7f068fe3.js.map
|
||||
!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:"b57bb86e",6:"51bb1ff7",7:"f7ff223a",8:"1b2eaf2a",9:"973d1ed6",10:"99cf4587",11:"b0e83278",12:"ea74e0e9",13:"2c1f7298",14:"601f255c",15:"509ba4c2"}[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.e0addf54.js.map
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user