From aae017d6f40eafd6f7784e701506fd21568a7911 Mon Sep 17 00:00:00 2001 From: megala21 Date: Thu, 14 Sep 2017 14:30:22 +0530 Subject: [PATCH] Moving the css files to public folder --- .../pom.xml | 37 +++------ .../resources/publisher/public/config.json | 6 ++ .../resources/publisher/public/index.html | 2 +- .../default/application-create-step1.css | 0 .../default/application-create-step2.css | 0 .../default/application-create-step3.css | 0 .../themes/default/application-create.css | 0 .../themes/default/application-listing.css | 0 .../themes/default/basic-layout.css | 0 .../themes/default/data-table.css | 0 .../themes/default/platform-create.css | 0 .../themes/default/platform-listing.css | 0 .../src/main/resources/publisher/src/App.jsx | 54 ++++++++++++- .../Application/ApplicationCreate.jsx | 64 ++++++++++++--- .../Application/ApplicationListing.jsx | 62 ++++++++++++--- .../Application/CreateSteps/Step1.jsx | 67 +++++++++++++--- .../Application/CreateSteps/Step2.jsx | 64 ++++++++++++--- .../Application/CreateSteps/Step3.jsx | 62 ++++++++++++--- .../src/components/Base/BaseLayout.jsx | 64 ++++++++++++--- .../components/Platform/PlatformCreate.jsx | 60 ++++++++++++-- .../components/Platform/PlatformListing.jsx | 62 ++++++++++++--- .../src/components/UIComponents/DataTable.jsx | 59 +++++++++++--- .../UIComponents/DataTableHeader.jsx | 61 +++++++++++++-- .../components/UIComponents/DataTableRow.jsx | 59 ++++++++++++-- .../src/main/resources/publisher/src/theme.js | 37 --------- .../theme.js => custom-theme.js} | 0 .../resources/publisher/src/themes/theme.js | 78 +++++++++++++++++++ .../resources/publisher/webpack.config.js | 5 ++ 28 files changed, 732 insertions(+), 171 deletions(-) create mode 100644 components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/public/config.json rename components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/{src => public}/themes/default/application-create-step1.css (100%) rename components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/{src => public}/themes/default/application-create-step2.css (100%) rename components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/{src => public}/themes/default/application-create-step3.css (100%) rename components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/{src => public}/themes/default/application-create.css (100%) rename components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/{src => public}/themes/default/application-listing.css (100%) rename components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/{src => public}/themes/default/basic-layout.css (100%) rename components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/{src => public}/themes/default/data-table.css (100%) rename components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/{src => public}/themes/default/platform-create.css (100%) rename components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/{src => public}/themes/default/platform-listing.css (100%) delete mode 100644 components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/theme.js rename components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/themes/{custom-theme/theme.js => custom-theme.js} (100%) create mode 100644 components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/themes/theme.js diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/pom.xml b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/pom.xml index e7d27b5f74..3398d23ce2 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/pom.xml +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/pom.xml @@ -31,32 +31,6 @@ - - org.wso2.maven - carbon-p2-plugin - ${carbon.p2.plugin.version} - - - 4-p2-feature-generation - package - - p2-feature-gen - - - org.wso2.carbon.device.application.mgt - ../../etc/feature.properties - - - org.wso2.carbon.p2.category.type:server - - org.eclipse.equinox.p2.type.group:false - - - - - - - org.codehaus.mojo exec-maven-plugin @@ -96,8 +70,15 @@ ${npm.working.dir} - + + + ${project.build.directory}/target + + + src/main/resources + + @@ -116,7 +97,7 @@ false npm - build_prod + build_dev ./src/main/ diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/public/config.json b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/public/config.json new file mode 100644 index 0000000000..3be10b8ce9 --- /dev/null +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/public/config.json @@ -0,0 +1,6 @@ +{ + "theme": { + "type": "default", + "value": "lightBaseTheme" + } +} diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/public/index.html b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/public/index.html index 0e627f4af5..efce6b8d1c 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/public/index.html +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/public/index.html @@ -39,11 +39,11 @@ WSO2 IoT App Publisher -
+