mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-18 00:00:00 +00:00
permission select (#2948)
This commit is contained in:
@@ -66,7 +66,7 @@ class SelectEditor extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
let { currentOption, options, isTextMode } = this.props;
|
let { currentOption, isTextMode } = this.props;
|
||||||
|
|
||||||
// scence1: isTextMode (text)editor-icon --> select
|
// scence1: isTextMode (text)editor-icon --> select
|
||||||
// scence2: !isTextMode select
|
// scence2: !isTextMode select
|
||||||
|
@@ -38,10 +38,10 @@ class WikiListView extends Component {
|
|||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th width="40%">{gettext('Name')}</th>
|
<th width="35%">{gettext('Name')}</th>
|
||||||
<th width="20%">{gettext('Owner')}</th>
|
<th width="20%">{gettext('Owner')}</th>
|
||||||
<th width="20%">{gettext('Last Update')}</th>
|
<th width="20%">{gettext('Last Update')}</th>
|
||||||
<th width="10%">{gettext('Permission')}</th>
|
<th width="15%">{gettext('Permission')}</th>
|
||||||
<th width="10%">{/* operation */}</th>
|
<th width="10%">{/* operation */}</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
@@ -11,6 +11,10 @@
|
|||||||
padding-top: 2px;
|
padding-top: 2px;
|
||||||
padding-bottom: 2px;
|
padding-bottom: 2px;
|
||||||
}
|
}
|
||||||
|
.permission-editor-select .permission-editor__control {
|
||||||
|
height: 24px;
|
||||||
|
min-height: 24px;
|
||||||
|
}
|
||||||
.permission-editor .permission-editor__control .permission-editor-explanation {
|
.permission-editor .permission-editor__control .permission-editor-explanation {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
Reference in New Issue
Block a user