-
-
{gettext("Libraries")}
-
-
-
-
+
+
+
+
{gettext("Libraries")}
+
+
+
-
+
);
}
}
diff --git a/frontend/src/pages/share-admin/share-links.js b/frontend/src/pages/share-admin/share-links.js
index c27cf54614..a0b9ec65dc 100644
--- a/frontend/src/pages/share-admin/share-links.js
+++ b/frontend/src/pages/share-admin/share-links.js
@@ -1,11 +1,10 @@
-import React, { Component, Fragment } from 'react';
+import React, { Component } from 'react';
import { Link } from '@reach/router';
import moment from 'moment';
import { Modal, ModalHeader, ModalBody } from 'reactstrap';
import { seafileAPI } from '../../utils/seafile-api';
import { Utils } from '../../utils/utils';
import { gettext, siteRoot, loginUrl, isPro, canGenerateUploadLink } from '../../utils/constants';
-import GeneralToolbar from '../../components/toolbar/general-toolbar';
class Content extends Component {
constructor(props) {
@@ -238,32 +237,23 @@ class ShareAdminShareLinks extends Component {
render() {
return (
-
-
-
-
-
-
-
-
- -
- {gettext('Share Links')}
-
- { canGenerateUploadLink ?
- - {gettext('Upload Links')}
- : '' }
-
-
-
-
-
+
+
+
+
+ -
+ {gettext('Share Links')}
+
+ { canGenerateUploadLink ?
+ - {gettext('Upload Links')}
+ : '' }
+
+
+
+
-
+
);
}
}
diff --git a/frontend/src/pages/share-admin/upload-links.js b/frontend/src/pages/share-admin/upload-links.js
index 3d27aa1dce..62b064b701 100644
--- a/frontend/src/pages/share-admin/upload-links.js
+++ b/frontend/src/pages/share-admin/upload-links.js
@@ -1,11 +1,10 @@
-import React, { Component, Fragment } from 'react';
+import React, { Component } from 'react';
import { Link } from '@reach/router';
import moment from 'moment';
import { Modal, ModalHeader, ModalBody } from 'reactstrap';
import { seafileAPI } from '../../utils/seafile-api';
import { Utils } from '../../utils/utils';
import { gettext, siteRoot, loginUrl, isPro, canGenerateShareLink } from '../../utils/constants';
-import GeneralToolbar from '../../components/toolbar/general-toolbar';
class Content extends Component {
constructor(props) {
@@ -227,30 +226,21 @@ class ShareAdminUploadLinks extends Component {
render() {
return (
-
-
-
-
-
-
-
-
- { canGenerateShareLink ?
- - {gettext('Share Links')}
- : '' }
- - {gettext('Upload Links')}
-
-
-
-
-
+
+
+
+
+ { canGenerateShareLink ?
+ - {gettext('Share Links')}
+ : '' }
+ - {gettext('Upload Links')}
+
+
+
+
-
+
);
}
}
diff --git a/frontend/src/pages/shared-libs/shared-libs.js b/frontend/src/pages/shared-libs/shared-libs.js
index a0701e39a5..12e14dae44 100644
--- a/frontend/src/pages/shared-libs/shared-libs.js
+++ b/frontend/src/pages/shared-libs/shared-libs.js
@@ -1,10 +1,9 @@
-import React, { Component, Fragment } from 'react';
+import React, { Component } from 'react';
import moment from 'moment';
import { seafileAPI } from '../../utils/seafile-api';
import { Utils } from '../../utils/utils';
import { gettext, siteRoot, loginUrl, isPro } from '../../utils/constants';
import Loading from '../../components/loading';
-import GeneralToolbar from '../../components/toolbar/general-toolbar';
class Content extends Component {
@@ -252,25 +251,16 @@ class SharedLibraries extends Component {
render() {
return (
-
-
-
-
-
-
-
-
{gettext("Shared with me")}
-
-
-
-
+
+
+
+
{gettext("Shared with me")}
+
+
+
-
+
);
}
}
diff --git a/frontend/src/pages/starred/starred.js b/frontend/src/pages/starred/starred.js
index 96c777836a..9dd677e224 100644
--- a/frontend/src/pages/starred/starred.js
+++ b/frontend/src/pages/starred/starred.js
@@ -1,8 +1,7 @@
-import React, { Component, Fragment } from 'react';
+import React, { Component } from 'react';
import { seafileAPI } from '../../utils/seafile-api';
import { Utils } from '../../utils/utils';
import { gettext, siteRoot, loginUrl } from '../../utils/constants';
-import GeneralToolbar from '../../components/toolbar/general-toolbar';
class Content extends Component {
@@ -263,25 +262,16 @@ class Starred extends Component {
render() {
return (
-
-
-
-
-
-
-
-
{gettext('Favorites')}
-
-
-
-
+
+
+
+
{gettext('Favorites')}
+
+
+
-
+
);
}
}