1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-07 01:41:39 +00:00

repair bug

This commit is contained in:
shanshuirenjia
2018-12-17 11:11:45 +08:00
parent cea43ba325
commit 11a0db5759
2 changed files with 11 additions and 5 deletions

View File

@@ -152,9 +152,9 @@ class CreateRepoDialog extends React.Component {
<ModalBody> <ModalBody>
<Form> <Form>
<FormGroup> <FormGroup>
<Label for="fileName">{gettext('Name')}</Label> <Label for="repoName">{gettext('Name')}</Label>
<Input <Input
id="fileName" id="repoName"
onKeyPress={this.handleKeyPress} onKeyPress={this.handleKeyPress}
innerRef={input => {this.newInput = input;}} innerRef={input => {this.newInput = input;}}
value={this.state.repoName} value={this.state.repoName}
@@ -165,8 +165,8 @@ class CreateRepoDialog extends React.Component {
<FormGroup> <FormGroup>
<Label for="exampleSelect">{gettext('Permission')}</Label> <Label for="exampleSelect">{gettext('Permission')}</Label>
<Input type="select" name="select" id="exampleSelect" onChange={this.onPermissionChange} value={this.state.permission}> <Input type="select" name="select" id="exampleSelect" onChange={this.onPermissionChange} value={this.state.permission}>
<option value='rw'>rw</option> <option value='rw'>{gettext('Read-Write')}</option>
<option value='r'>r</option> <option value='r'>{gettext('Read-Only')}</option>
</Input> </Input>
</FormGroup> </FormGroup>
)} )}

View File

@@ -1,8 +1,14 @@
.cur-view-content-groups .department-group-icon { .department-group-icon { /* for cur-view-path*/
margin-left: 0.25rem; margin-left: 0.25rem;
color:#888; color:#888;
} }
.group-top-op-icon { /* for cur-view-path*/
display: inline-block;
font-size: 22px;
margin: 3px 0 0 10px;
}
.cur-view-content-groups .group-list-panel { .cur-view-content-groups .group-list-panel {
padding-bottom: 1rem; padding-bottom: 1rem;
} }