diff --git a/src/forge/users/Infos.js b/src/forge/users/Infos.js index a18b54e8c..ae06f4a8d 100644 --- a/src/forge/users/Infos.js +++ b/src/forge/users/Infos.js @@ -14,6 +14,15 @@ import './Index.scss'; import Loadable from "react-loadable"; import Loading from "../../Loading"; + +const InfosDevOps = Loadable({ + loader: () => import("./devOpsCI"), + loading: Loading, +}); +const InfosDevOpsCD = Loadable({ + loader: () => import("./devOpsCD"), + loading: Loading, +}); const InfosUser = Loadable({ loader: () => import("./InfosUser"), loading: Loading, @@ -89,6 +98,15 @@ class Infos extends Component { }; + change_devops_type=(type)=>{ + const {user} = this.state; + this.setState({ + project_type: type , + route_type: undefined + }) + this.props.history.push(`/users/${user && user.login}/devops/${type}`); + } + undo_link = () => { const {user} = this.state this.setState({ @@ -233,6 +251,33 @@ class Infos extends Component { + + {/*
+ +
*/} + {/*

this.organize_link()} > @@ -269,6 +314,18 @@ class Infos extends Component { return ; }} > + { + return ; + }} + > + { + return ; + }} + > { diff --git a/src/forge/users/devOpsCD.jsx b/src/forge/users/devOpsCD.jsx new file mode 100644 index 000000000..72db13491 --- /dev/null +++ b/src/forge/users/devOpsCD.jsx @@ -0,0 +1,8 @@ +import React , { useEffect , useState } from 'react'; + +function DevOpsCD(){ + return( +

222
+ ) +} +export default DevOpsCD; \ No newline at end of file diff --git a/src/forge/users/devOpsCI.jsx b/src/forge/users/devOpsCI.jsx new file mode 100644 index 000000000..6e9a65448 --- /dev/null +++ b/src/forge/users/devOpsCI.jsx @@ -0,0 +1,8 @@ +import React , { useEffect , useState } from 'react'; + +function DevOpsCI(){ + return( +
111
+ ) +} +export default DevOpsCI; \ No newline at end of file