|
@@ -131,7 +131,7 @@ class CloudConfig extends Component {
|
|
|
return (
|
|
return (
|
|
|
this.state.show ?
|
|
this.state.show ?
|
|
|
<div>
|
|
<div>
|
|
|
- <div className="column-menu" onClick={()=>{
|
|
|
|
|
|
|
+ <div className="column-menu" onClick={() => {
|
|
|
this.props.history.push({
|
|
this.props.history.push({
|
|
|
pathname: '/login',
|
|
pathname: '/login',
|
|
|
})
|
|
})
|
|
@@ -142,13 +142,13 @@ class CloudConfig extends Component {
|
|
|
<span className='cloud-name'>Tencent: </span>
|
|
<span className='cloud-name'>Tencent: </span>
|
|
|
<div style={{marginBottom: 15}}>
|
|
<div style={{marginBottom: 15}}>
|
|
|
<div>
|
|
<div>
|
|
|
- <div>
|
|
|
|
|
- ID: <Input style={{width: 250}} value={this.state.tenID}
|
|
|
|
|
- onChange={this.inputChange('tenID')}/>
|
|
|
|
|
|
|
+ <div style={{marginBottom: 10}}>
|
|
|
|
|
+ <span className='item-title-cloud'>ID:</span>
|
|
|
|
|
+ <Input style={{width: 250}} value={this.state.aliID} onChange={this.inputChange('tenID')}/>
|
|
|
</div>
|
|
</div>
|
|
|
- <div>
|
|
|
|
|
- Key: <Input style={{width: 250}} value={this.state.tenKey}
|
|
|
|
|
- onChange={this.inputChange('tenKey')}/>
|
|
|
|
|
|
|
+ <div style={{marginBottom: 10}}>
|
|
|
|
|
+ <span className='item-title-cloud'>Key:</span>
|
|
|
|
|
+ <Input style={{width: 250}} value={this.state.aliKey} onChange={this.inputChange('tenKey')}/>
|
|
|
</div>
|
|
</div>
|
|
|
{
|
|
{
|
|
|
this.state.showOK === 'tencent' ?
|
|
this.state.showOK === 'tencent' ?
|
|
@@ -168,14 +168,15 @@ class CloudConfig extends Component {
|
|
|
<span className='cloud-name'>Aliyun: </span>
|
|
<span className='cloud-name'>Aliyun: </span>
|
|
|
<div style={{marginBottom: 15}}>
|
|
<div style={{marginBottom: 15}}>
|
|
|
<div>
|
|
<div>
|
|
|
- <div>
|
|
|
|
|
- ID: <Input style={{width: 250}} value={this.state.aliID}
|
|
|
|
|
- onChange={this.inputChange('aliID')}/>
|
|
|
|
|
|
|
+ <div style={{marginBottom: 10}}>
|
|
|
|
|
+ <span className='item-title-cloud'>ID:</span>
|
|
|
|
|
+ <Input style={{width: 250}} value={this.state.aliID} onChange={this.inputChange('aliID')}/>
|
|
|
</div>
|
|
</div>
|
|
|
- <div>
|
|
|
|
|
- Key: <Input style={{width: 250}} value={this.state.aliKey}
|
|
|
|
|
- onChange={this.inputChange('aliKey')}/>
|
|
|
|
|
|
|
+ <div style={{marginBottom: 10}}>
|
|
|
|
|
+ <span className='item-title-cloud'>Key:</span>
|
|
|
|
|
+ <Input style={{width: 250}} value={this.state.aliKey} onChange={this.inputChange('aliKey')}/>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+
|
|
|
{
|
|
{
|
|
|
this.state.showOK === 'aliyun' ?
|
|
this.state.showOK === 'aliyun' ?
|
|
|
<Icon type="check-circle" theme="twoTone" twoToneColor="#52c41a"/>
|
|
<Icon type="check-circle" theme="twoTone" twoToneColor="#52c41a"/>
|
|
@@ -194,13 +195,13 @@ class CloudConfig extends Component {
|
|
|
<span className='cloud-name'>AWS: </span>
|
|
<span className='cloud-name'>AWS: </span>
|
|
|
<div style={{marginBottom: 15}}>
|
|
<div style={{marginBottom: 15}}>
|
|
|
<div>
|
|
<div>
|
|
|
- <div>
|
|
|
|
|
- ID: <Input style={{width: 250}} value={this.state.awsID}
|
|
|
|
|
- onChange={this.inputChange('awsID')}/>
|
|
|
|
|
|
|
+ <div style={{marginBottom: 10}}>
|
|
|
|
|
+ <span className='item-title-cloud'>ID:</span>
|
|
|
|
|
+ <Input style={{width: 250}} value={this.state.aliID} onChange={this.inputChange('awsID')}/>
|
|
|
</div>
|
|
</div>
|
|
|
- <div>
|
|
|
|
|
- Key: <Input style={{width: 250}} value={this.state.awsKey}
|
|
|
|
|
- onChange={this.inputChange('awsKey')}/>
|
|
|
|
|
|
|
+ <div style={{marginBottom: 10}}>
|
|
|
|
|
+ <span className='item-title-cloud'>Key:</span>
|
|
|
|
|
+ <Input style={{width: 250}} value={this.state.aliKey} onChange={this.inputChange('awsKey')}/>
|
|
|
</div>
|
|
</div>
|
|
|
{
|
|
{
|
|
|
this.state.showOK === 'amazon' ?
|
|
this.state.showOK === 'amazon' ?
|