1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-06 17:33:18 +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>
<Form>
<FormGroup>
<Label for="fileName">{gettext('Name')}</Label>
<Label for="repoName">{gettext('Name')}</Label>
<Input
id="fileName"
id="repoName"
onKeyPress={this.handleKeyPress}
innerRef={input => {this.newInput = input;}}
value={this.state.repoName}
@@ -165,8 +165,8 @@ class CreateRepoDialog extends React.Component {
<FormGroup>
<Label for="exampleSelect">{gettext('Permission')}</Label>
<Input type="select" name="select" id="exampleSelect" onChange={this.onPermissionChange} value={this.state.permission}>
<option value='rw'>rw</option>
<option value='r'>r</option>
<option value='rw'>{gettext('Read-Write')}</option>
<option value='r'>{gettext('Read-Only')}</option>
</Input>
</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;
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 {
padding-bottom: 1rem;
}