|
|
@ -291,7 +291,7 @@ class GroupActions extends React.Component {
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<Modal
|
|
|
|
<Modal
|
|
|
|
title="Update Group"
|
|
|
|
title="Update Group"
|
|
|
|
width="500px"
|
|
|
|
width="40%"
|
|
|
|
visible={this.state.editModalVisible}
|
|
|
|
visible={this.state.editModalVisible}
|
|
|
|
onOk={this.handleEditOk}
|
|
|
|
onOk={this.handleEditOk}
|
|
|
|
onCancel={this.handleEditCancel}
|
|
|
|
onCancel={this.handleEditCancel}
|
|
|
@ -308,8 +308,7 @@ class GroupActions extends React.Component {
|
|
|
|
<p>Enter new name and description for the group</p>
|
|
|
|
<p>Enter new name and description for the group</p>
|
|
|
|
<Form
|
|
|
|
<Form
|
|
|
|
labelCol={{ span: 5 }}
|
|
|
|
labelCol={{ span: 5 }}
|
|
|
|
wrapperCol={{ span: 12 }}
|
|
|
|
wrapperCol={{ span: 18 }}
|
|
|
|
style={{alignItems:"center"}}
|
|
|
|
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<Form.Item label="Name" style={{display:"block"}}>
|
|
|
|
<Form.Item label="Name" style={{display:"block"}}>
|
|
|
|
{getFieldDecorator(
|
|
|
|
{getFieldDecorator(
|
|
|
@ -351,22 +350,25 @@ class GroupActions extends React.Component {
|
|
|
|
onOk={this.handleShareOk}
|
|
|
|
onOk={this.handleShareOk}
|
|
|
|
onCancel={this.handleShareCancel}
|
|
|
|
onCancel={this.handleShareCancel}
|
|
|
|
footer={[
|
|
|
|
footer={[
|
|
|
|
<Button key="cancel" onClick={this.handleShareCancel}>
|
|
|
|
<Button key="new-role" onClick={this.handleShareCancel}>
|
|
|
|
Cancel
|
|
|
|
New Role
|
|
|
|
|
|
|
|
</Button>,
|
|
|
|
|
|
|
|
<Button key="new-role-selection" onClick={this.handleShareCancel}>
|
|
|
|
|
|
|
|
New Role from Selection
|
|
|
|
</Button>,
|
|
|
|
</Button>,
|
|
|
|
<Button key="submit" type="primary" onClick={this.handleShareOk}>
|
|
|
|
<Button key="submit" type="primary" onClick={this.handleShareOk}>
|
|
|
|
Submit
|
|
|
|
Share
|
|
|
|
</Button>,
|
|
|
|
</Button>,
|
|
|
|
]}
|
|
|
|
]}
|
|
|
|
>
|
|
|
|
>
|
|
|
|
|
|
|
|
<p>Select user role(s)</p>
|
|
|
|
<Select
|
|
|
|
<Select
|
|
|
|
placeholder={"Select user role(s)"}
|
|
|
|
|
|
|
|
mode="multiple"
|
|
|
|
mode="multiple"
|
|
|
|
|
|
|
|
defaultValue={"admin"}
|
|
|
|
style={{ width: '100%' }}
|
|
|
|
style={{ width: '100%' }}
|
|
|
|
onChange={this.handleRolesDropdownChange}>
|
|
|
|
onChange={this.handleRolesDropdownChange}>
|
|
|
|
{item}
|
|
|
|
{item}
|
|
|
|
</Select>,
|
|
|
|
</Select>,
|
|
|
|
|
|
|
|
|
|
|
|
</Modal>
|
|
|
|
</Modal>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|