From cacd2f63b452c712ecc734d9809aac6e88ffda1f Mon Sep 17 00:00:00 2001 From: nouffer Date: Sat, 31 Jul 2021 13:43:48 +0530 Subject: [PATCH] update sso --- build/asset-manifest.json | 10 +++++----- build/index.html | 2 +- build/static/js/7.5d466b40.chunk.js | 2 ++ ...7.ed0a32b5.chunk.js.map => 7.5d466b40.chunk.js.map} | 2 +- build/static/js/7.ed0a32b5.chunk.js | 2 -- ...ntime-main.460ca9dc.js => runtime-main.7c5423a7.js} | 4 ++-- ...in.460ca9dc.js.map => runtime-main.7c5423a7.js.map} | 2 +- src/views/Uploader/index.js | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-) create mode 100644 build/static/js/7.5d466b40.chunk.js rename build/static/js/{7.ed0a32b5.chunk.js.map => 7.5d466b40.chunk.js.map} (51%) delete mode 100644 build/static/js/7.ed0a32b5.chunk.js rename build/static/js/{runtime-main.460ca9dc.js => runtime-main.7c5423a7.js} (95%) rename build/static/js/{runtime-main.460ca9dc.js.map => runtime-main.7c5423a7.js.map} (98%) diff --git a/build/asset-manifest.json b/build/asset-manifest.json index 7b821ac..b6aaaee 100644 --- a/build/asset-manifest.json +++ b/build/asset-manifest.json @@ -8,16 +8,16 @@ "main.css": "./static/css/main.4ecfe4c7.chunk.css", "main.js": "./static/js/main.4272ed70.chunk.js", "main.js.map": "./static/js/main.4272ed70.chunk.js.map", - "runtime-main.js": "./static/js/runtime-main.460ca9dc.js", - "runtime-main.js.map": "./static/js/runtime-main.460ca9dc.js.map", + "runtime-main.js": "./static/js/runtime-main.7c5423a7.js", + "runtime-main.js.map": "./static/js/runtime-main.7c5423a7.js.map", "static/js/4.86a777f2.chunk.js": "./static/js/4.86a777f2.chunk.js", "static/js/4.86a777f2.chunk.js.map": "./static/js/4.86a777f2.chunk.js.map", "static/js/5.3c8b2f63.chunk.js": "./static/js/5.3c8b2f63.chunk.js", "static/js/5.3c8b2f63.chunk.js.map": "./static/js/5.3c8b2f63.chunk.js.map", "static/js/6.51bb1ff7.chunk.js": "./static/js/6.51bb1ff7.chunk.js", "static/js/6.51bb1ff7.chunk.js.map": "./static/js/6.51bb1ff7.chunk.js.map", - "static/js/7.ed0a32b5.chunk.js": "./static/js/7.ed0a32b5.chunk.js", - "static/js/7.ed0a32b5.chunk.js.map": "./static/js/7.ed0a32b5.chunk.js.map", + "static/js/7.5d466b40.chunk.js": "./static/js/7.5d466b40.chunk.js", + "static/js/7.5d466b40.chunk.js.map": "./static/js/7.5d466b40.chunk.js.map", "static/js/8.1b2eaf2a.chunk.js": "./static/js/8.1b2eaf2a.chunk.js", "static/js/8.1b2eaf2a.chunk.js.map": "./static/js/8.1b2eaf2a.chunk.js.map", "static/js/9.973d1ed6.chunk.js": "./static/js/9.973d1ed6.chunk.js", @@ -42,7 +42,7 @@ "static/js/5.3c8b2f63.chunk.js.LICENSE.txt": "./static/js/5.3c8b2f63.chunk.js.LICENSE.txt" }, "entrypoints": [ - "static/js/runtime-main.460ca9dc.js", + "static/js/runtime-main.7c5423a7.js", "static/js/4.86a777f2.chunk.js", "static/css/main.4ecfe4c7.chunk.css", "static/js/main.4272ed70.chunk.js" diff --git a/build/index.html b/build/index.html index 3ac34bb..dfeaf84 100644 --- a/build/index.html +++ b/build/index.html @@ -1 +1 @@ -FBS Admin tool
\ No newline at end of file +FBS Admin tool
\ No newline at end of file diff --git a/build/static/js/7.5d466b40.chunk.js b/build/static/js/7.5d466b40.chunk.js new file mode 100644 index 0000000..f16952e --- /dev/null +++ b/build/static/js/7.5d466b40.chunk.js @@ -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),j=c(629),l=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(l.jsxs)("div",{children:[Object(l.jsxs)(a.f,{children:[Object(l.jsx)(a.j,{children:"\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9 "})," ",Object(l.jsxs)(a.g,{children:[Object(l.jsxs)(a.t,{row:!0,children:[Object(l.jsxs)(a.k,{md:"3",children:[Object(l.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(l.jsx)(a.k,{xs:"12",md:"9",children:Object(l.jsx)(a.C,{type:"file",onChange:function(e){i(e.target.files[0])},id:"file-input",name:"file-input"})})," "]})," ",Object(l.jsxs)(a.h,{children:[Object(l.jsxs)(a.e,{type:"submit",onClick:function(e){var t=new FormData;t.append("file",c),r.a.post("https://fsbsso.sumasen.net/upload",t,{}).then((function(e){console.log(e.statusText)}))},size:"sm",color:"primary",children:[" ",Object(l.jsx)(j.a,{name:"cil-scrubber"})," \u30a2\u30c3\u30d7\u30ed\u30fc\u30c9 "]})," "]})," "]})," "]})," "]})}}}]); +//# sourceMappingURL=7.5d466b40.chunk.js.map \ No newline at end of file diff --git a/build/static/js/7.ed0a32b5.chunk.js.map b/build/static/js/7.5d466b40.chunk.js.map similarity index 51% rename from build/static/js/7.ed0a32b5.chunk.js.map rename to build/static/js/7.5d466b40.chunk.js.map index e49fbcf..31ee1a2 100644 --- a/build/static/js/7.ed0a32b5.chunk.js.map +++ b/build/static/js/7.5d466b40.chunk.js.map @@ -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","axios","post","then","res","console","log","statusText","size","color"],"mappings":"mPA2EeA,UA1Df,WAEI,MAAwBC,mBAAS,MAAjC,mBAAOC,EAAP,KAAaC,EAAb,KAiBA,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,SAnCJ,SAAyBC,GACrBP,EAAQO,EAAEC,OAAOC,MAAM,KAmCvBC,GAAK,aACLC,KAAO,iBAbP,OAFc,IAkBD,eACb,IADa,WAEb,eACA,IADA,CACQN,KAAO,SACfO,QAxCJ,SAAwBL,GACpB,IAAMM,EAAO,IAAIC,SACjBD,EAAKE,OAAO,OAAQhB,GAEpBiB,IAAMC,KAAK,2CAA4CJ,EAAM,IAExDK,MAAK,SAAAC,GACFC,QAAQC,IAAIF,EAAIG,gBAkCxBC,KAAO,KACPC,MAAQ,UAJR,cAIoB,cAAE,IAAF,CAAQb,KAAO,iBAJnC,4CAFa,OAlBC,OALd,OAFK","file":"static/js/7.ed0a32b5.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 axios.post(\"https://natnats.mobilous.com:8000/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":""} \ No newline at end of file +{"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","axios","post","then","res","console","log","statusText","size","color"],"mappings":"mPA2EeA,UA1Df,WAEI,MAAwBC,mBAAS,MAAjC,mBAAOC,EAAP,KAAaC,EAAb,KAiBA,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,SAnCJ,SAAyBC,GACrBP,EAAQO,EAAEC,OAAOC,MAAM,KAmCvBC,GAAK,aACLC,KAAO,iBAbP,OAFc,IAkBD,eACb,IADa,WAEb,eACA,IADA,CACQN,KAAO,SACfO,QAxCJ,SAAwBL,GACpB,IAAMM,EAAO,IAAIC,SACjBD,EAAKE,OAAO,OAAQhB,GAEpBiB,IAAMC,KAAK,oCAAqCJ,EAAM,IAEjDK,MAAK,SAAAC,GACFC,QAAQC,IAAIF,EAAIG,gBAkCxBC,KAAO,KACPC,MAAQ,UAJR,cAIoB,cAAE,IAAF,CAAQb,KAAO,iBAJnC,4CAFa,OAlBC,OALd,OAFK","file":"static/js/7.5d466b40.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 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":""} \ No newline at end of file diff --git a/build/static/js/7.ed0a32b5.chunk.js b/build/static/js/7.ed0a32b5.chunk.js deleted file mode 100644 index 4baf0da..0000000 --- a/build/static/js/7.ed0a32b5.chunk.js +++ /dev/null @@ -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 n=c(636),i=c(1),s=c(632),r=c.n(s),a=c(630),l=c(629),j=c(17);t.default=function(){var e=Object(i.useState)(null),t=Object(n.a)(e,2),c=t[0],s=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){s(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),r.a.post("https://natnats.mobilous.com:8000/upload",t,{}).then((function(e){console.log(e.statusText)}))},size:"sm",color:"primary",children:[" ",Object(j.jsx)(l.a,{name:"cil-scrubber"})," \u30a2\u30c3\u30d7\u30ed\u30fc\u30c9 "]})," "]})," "]})," "]})," "]})}}}]); -//# sourceMappingURL=7.ed0a32b5.chunk.js.map \ No newline at end of file diff --git a/build/static/js/runtime-main.460ca9dc.js b/build/static/js/runtime-main.7c5423a7.js similarity index 95% rename from build/static/js/runtime-main.460ca9dc.js rename to build/static/js/runtime-main.7c5423a7.js index f628c27..c1bef38 100644 --- a/build/static/js/runtime-main.460ca9dc.js +++ b/build/static/js/runtime-main.7c5423a7.js @@ -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 { // then print response status console.log(res.statusText)