From af693b4c8f28b9b65bf9d2be18052c39067b6ca1 Mon Sep 17 00:00:00 2001 From: Gang Li Date: Thu, 16 Nov 2023 14:46:49 +0800 Subject: [PATCH] Re-organize: move pages conponent to dedicated folders --- .../webui/src/app/components/content/Main.jsx | 18 +- .../components/content/common/ListControl.jsx | 10 +- .../content/common/StoreBasicSections.jsx | 117 +++++++++ .../content/common/StoreControlPanels.jsx | 92 +++---- .../content/{ => group}/GroupEdit.jsx | 0 .../content/{ => group}/GroupList.jsx | 0 .../content/{ => group}/GroupView.jsx | 0 .../content/{ => hosted}/HostedEdit.jsx | 0 .../content/{ => hosted}/HostedList.jsx | 0 .../content/{ => hosted}/HostedView.jsx | 0 .../content/{ => remote}/RemoteEdit.jsx | 12 +- .../content/{ => remote}/RemoteList.jsx | 12 +- .../content/{ => remote}/RemoteView.jsx | 230 +++++------------- 13 files changed, 254 insertions(+), 237 deletions(-) create mode 100644 src/main/webui/src/app/components/content/common/StoreBasicSections.jsx rename src/main/webui/src/app/components/content/{ => group}/GroupEdit.jsx (100%) rename src/main/webui/src/app/components/content/{ => group}/GroupList.jsx (100%) rename src/main/webui/src/app/components/content/{ => group}/GroupView.jsx (100%) rename src/main/webui/src/app/components/content/{ => hosted}/HostedEdit.jsx (100%) rename src/main/webui/src/app/components/content/{ => hosted}/HostedList.jsx (100%) rename src/main/webui/src/app/components/content/{ => hosted}/HostedView.jsx (100%) rename src/main/webui/src/app/components/content/{ => remote}/RemoteEdit.jsx (97%) rename src/main/webui/src/app/components/content/{ => remote}/RemoteList.jsx (89%) rename src/main/webui/src/app/components/content/{ => remote}/RemoteView.jsx (66%) diff --git a/src/main/webui/src/app/components/content/Main.jsx b/src/main/webui/src/app/components/content/Main.jsx index 803d903..dc0d008 100644 --- a/src/main/webui/src/app/components/content/Main.jsx +++ b/src/main/webui/src/app/components/content/Main.jsx @@ -16,15 +16,15 @@ import React from 'react'; import {Route, Routes} from 'react-router-dom'; -import RemoteList from './RemoteList.jsx'; -import HostedList from './HostedList.jsx'; -import GroupList from './GroupList.jsx'; -import RemoteView from './RemoteView.jsx'; -import HostedView from './HostedView.jsx'; -import GroupView from './GroupView.jsx'; -import RemoteEdit from './RemoteEdit.jsx'; -import GroupEdit from './GroupEdit.jsx'; -import HostedEdit from './HostedEdit.jsx'; +import RemoteList from './remote/RemoteList.jsx'; +import HostedList from './hosted/HostedList.jsx'; +import GroupList from './group/GroupList.jsx'; +import RemoteView from './remote/RemoteView.jsx'; +import HostedView from './hosted/HostedView.jsx'; +import GroupView from './group/GroupView.jsx'; +import RemoteEdit from './remote/RemoteEdit.jsx'; +import GroupEdit from './group/GroupEdit.jsx'; +import HostedEdit from './hosted/HostedEdit.jsx'; // const browseCompatible=`