From 7fe117c9770b938036744afb5fdb80de6a0b39c1 Mon Sep 17 00:00:00 2001 From: Gang Li Date: Mon, 27 Nov 2023 15:47:23 +0800 Subject: [PATCH] Move top container to Main --- .../webui/src/app/components/content/Main.jsx | 44 +++++++++---------- .../components/content/remote/RemoteEdit.jsx | 6 +-- .../components/content/remote/RemoteList.jsx | 4 +- .../components/content/remote/RemoteView.jsx | 4 +- 4 files changed, 27 insertions(+), 31 deletions(-) diff --git a/src/main/webui/src/app/components/content/Main.jsx b/src/main/webui/src/app/components/content/Main.jsx index dc0d008..8b7b861 100644 --- a/src/main/webui/src/app/components/content/Main.jsx +++ b/src/main/webui/src/app/components/content/Main.jsx @@ -34,32 +34,30 @@ import HostedEdit from './hosted/HostedEdit.jsx'; const Home = () => Welcome! Make a selection from the menu above to proceed.; -export const Main = () =>
+export const Main = () =>
{ // browseCompatible } - - - } /> - } /> - } /> - } /> + + } /> + } /> + } /> + } /> - } /> - } /> - } /> + } /> + } /> + } /> - } /> - } /> - } /> - } /> - } /> - } /> - { - // - // - // - } - - + } /> + } /> + } /> + } /> + } /> + } /> + { + // + // + // + } +
; diff --git a/src/main/webui/src/app/components/content/remote/RemoteEdit.jsx b/src/main/webui/src/app/components/content/remote/RemoteEdit.jsx index 7b7a84a..d3d5b8c 100644 --- a/src/main/webui/src/app/components/content/remote/RemoteEdit.jsx +++ b/src/main/webui/src/app/components/content/remote/RemoteEdit.jsx @@ -150,14 +150,12 @@ export default function RemoteEdit() { }; return ( -
- +
-
Basics
@@ -340,7 +338,7 @@ export default function RemoteEdit() { { // + ); } diff --git a/src/main/webui/src/app/components/content/remote/RemoteList.jsx b/src/main/webui/src/app/components/content/remote/RemoteList.jsx index 1f0ad8d..ff3dc86 100644 --- a/src/main/webui/src/app/components/content/remote/RemoteList.jsx +++ b/src/main/webui/src/app/components/content/remote/RemoteList.jsx @@ -83,7 +83,7 @@ export default function RemoteList() { const listing = state.listing; const disMap = state.disabledMap; return ( -
+ } -
+ ); } diff --git a/src/main/webui/src/app/components/content/remote/RemoteView.jsx b/src/main/webui/src/app/components/content/remote/RemoteView.jsx index c6fc362..e49a389 100644 --- a/src/main/webui/src/app/components/content/remote/RemoteView.jsx +++ b/src/main/webui/src/app/components/content/remote/RemoteView.jsx @@ -197,7 +197,7 @@ export default function RemoteView() { const store = state.store; if(!Utils.isEmptyObj(store)) { return ( -
+
@@ -221,7 +221,7 @@ export default function RemoteView() { { // } -
+ ); } return null;