mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-06 17:33:18 +00:00
change history dialog footer style (#3098)
This commit is contained in:
@@ -2,7 +2,7 @@ import React from 'react';
|
|||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { gettext, enableRepoHistorySetting } from '../../utils/constants';
|
import { gettext, enableRepoHistorySetting } from '../../utils/constants';
|
||||||
import toaster from '../toast';
|
import toaster from '../toast';
|
||||||
import { Button, Modal, ModalHeader, ModalBody, Form, FormGroup, Label, Input, Alert } from 'reactstrap';
|
import { Button, Modal, ModalHeader, ModalBody, ModalFooter, Form, FormGroup, Label, Input, Alert } from 'reactstrap';
|
||||||
import { seafileAPI } from '../../utils/seafile-api.js';
|
import { seafileAPI } from '../../utils/seafile-api.js';
|
||||||
|
|
||||||
const propTypes = {
|
const propTypes = {
|
||||||
@@ -127,9 +127,11 @@ class LibHistorySetting extends React.Component {
|
|||||||
<Label><span>{gettext('days')}</span></Label>
|
<Label><span>{gettext('days')}</span></Label>
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
{this.state.errorInfo && <Alert color="danger">{this.state.errorInfo}</Alert>}
|
{this.state.errorInfo && <Alert color="danger">{this.state.errorInfo}</Alert>}
|
||||||
<Button color="primary" onClick={this.submit}>{gettext('Submit')}</Button>
|
|
||||||
</Form>
|
</Form>
|
||||||
</ModalBody>
|
</ModalBody>
|
||||||
|
<ModalFooter>
|
||||||
|
<Button color="primary" onClick={this.submit}>{gettext('Submit')}</Button>
|
||||||
|
</ModalFooter>
|
||||||
</Modal>
|
</Modal>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user