import React, { Fragment } from 'react'; import ReactDOM from 'react-dom'; import { Utils } from '../../utils/utils'; import { seafileAPI } from '../../utils/seafile-api'; import { gettext } from '../../utils/constants'; import Logo from '../../components/logo'; import Account from '../../components/common/account'; import FileUploader from './file-uploader'; import '../../css/upload-link.css'; const loggedUser = window.app.pageOptions.username; const { dirName, sharedBy, noQuota, maxUploadFileSize, token, repoID, path } = window.uploadLink; class SharedUploadLink extends React.Component { onFileUploadSuccess = (direntObject) => { const { name, size } = direntObject; seafileAPI.shareLinksUploadDone(token, Utils.joinPath(path, name)); } render() { return (
{gettext('The owner of this library has run out of space.')}
{gettext('Drag and drop files or folders here.')}