[release] v0.4.0-unstable7
This commit is contained in:
parent
b4080e14f8
commit
925070d0a3
|
@ -16,7 +16,7 @@ const NetworkContainerSetup = ({ config, containerInfo, refresh }) => {
|
||||||
const theme = useTheme();
|
const theme = useTheme();
|
||||||
const isDark = theme.palette.mode === 'dark';
|
const isDark = theme.palette.mode === 'dark';
|
||||||
const isMobile = useMediaQuery(theme.breakpoints.down('sm'));
|
const isMobile = useMediaQuery(theme.breakpoints.down('sm'));
|
||||||
const padding = isMobile ? '15px 4px' : '20px 10px';
|
const padding = isMobile ? '6px 4px' : '12px 10px';
|
||||||
|
|
||||||
React.useEffect(() => {
|
React.useEffect(() => {
|
||||||
API.docker.networkList().then((res) => {
|
API.docker.networkList().then((res) => {
|
||||||
|
@ -106,7 +106,7 @@ const NetworkContainerSetup = ({ config, containerInfo, refresh }) => {
|
||||||
<Stack spacing={4}>
|
<Stack spacing={4}>
|
||||||
<div>
|
<div>
|
||||||
{formik.values.ports.map((port, idx) => (
|
{formik.values.ports.map((port, idx) => (
|
||||||
<Grid container spacing={2} key={idx}>
|
<Grid container key={idx}>
|
||||||
<Grid item xs={4} style={{ padding }}>
|
<Grid item xs={4} style={{ padding }}>
|
||||||
<TextField
|
<TextField
|
||||||
label="Container Port"
|
label="Container Port"
|
||||||
|
|
|
@ -17,7 +17,7 @@ const DockerContainerSetup = ({config, containerInfo, refresh}) => {
|
||||||
];
|
];
|
||||||
const theme = useTheme();
|
const theme = useTheme();
|
||||||
const isMobile = useMediaQuery(theme.breakpoints.down('sm'));
|
const isMobile = useMediaQuery(theme.breakpoints.down('sm'));
|
||||||
const padding = isMobile ? '15px 4px' : '20px 10px';
|
const padding = isMobile ? '6px 4px' : '12px 10px';
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div style={{ maxWidth: '1000px', width: '100%', margin: '', position: 'relative' }}>
|
<div style={{ maxWidth: '1000px', width: '100%', margin: '', position: 'relative' }}>
|
||||||
|
@ -99,7 +99,7 @@ const DockerContainerSetup = ({config, containerInfo, refresh}) => {
|
||||||
<CosmosFormDivider title={'Environment Variables'} />
|
<CosmosFormDivider title={'Environment Variables'} />
|
||||||
<Grid item xs={12}>
|
<Grid item xs={12}>
|
||||||
{formik.values.envVars.map((envVar, idx) => (
|
{formik.values.envVars.map((envVar, idx) => (
|
||||||
<Grid container spacing={2} key={idx}>
|
<Grid container key={idx}>
|
||||||
<Grid item xs={5} style={{padding}}>
|
<Grid item xs={5} style={{padding}}>
|
||||||
<TextField
|
<TextField
|
||||||
label="Key"
|
label="Key"
|
||||||
|
@ -157,7 +157,7 @@ const DockerContainerSetup = ({config, containerInfo, refresh}) => {
|
||||||
<CosmosFormDivider title={'Labels'} />
|
<CosmosFormDivider title={'Labels'} />
|
||||||
<Grid item xs={12}>
|
<Grid item xs={12}>
|
||||||
{formik.values.labels.map((label, idx) => (
|
{formik.values.labels.map((label, idx) => (
|
||||||
<Grid container spacing={2} key={idx}>
|
<Grid container key={idx}>
|
||||||
<Grid item xs={5} style={{padding}}>
|
<Grid item xs={5} style={{padding}}>
|
||||||
<TextField
|
<TextField
|
||||||
fullWidth
|
fullWidth
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "cosmos-server",
|
"name": "cosmos-server",
|
||||||
"version": "0.4.0-unstable7",
|
"version": "0.4.0-unstable8",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "test-server.js",
|
"main": "test-server.js",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|
Loading…
Reference in a new issue