1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-17 15:53:28 +00:00

fix export file access log (#6944)

* fix

* update

* optimize export log

* update

* update

* update

* fomrat-update

---------

Co-authored-by: 孙永强 <11704063+s-yongqiang@user.noreply.gitee.com>
Co-authored-by: r350178982 <32759763+r350178982@users.noreply.github.com>
This commit is contained in:
awu0403
2024-10-28 11:50:56 +08:00
committed by GitHub
parent 2398a66570
commit 0d877b2287
7 changed files with 278 additions and 122 deletions

View File

@@ -0,0 +1,39 @@
import React from 'react';
import PropTypes from 'prop-types';
import { Modal, ModalBody, ModalHeader } from 'reactstrap';
import { gettext } from '../../utils/constants';
import Loading from '../loading';
import '../../css/seahub-io-dialog.css';
const propTypes = {
toggle: PropTypes.func.isRequired,
};
class SeahubIODialog extends React.Component {
toggle = () => {
this.props.toggle();
};
render() {
return (
<Modal className='seahub-io-dialog' isOpen={true} toggle={this.toggle}>
<ModalHeader toggle={this.toggle}>
{gettext('Exporting')}
</ModalHeader>
<ModalBody>
<>
<Loading/>
<div className="seahub-io-dialog-parsing-text">{gettext('Exporting...')}</div>
</>
</ModalBody>
</Modal>
);
}
}
SeahubIODialog.propTypes = propTypes;
export default SeahubIODialog;