From b70bf91f3afd598e552e21f339e83ee1ce30afeb Mon Sep 17 00:00:00 2001 From: Menaka Jayawardena Date: Thu, 7 Sep 2017 17:51:40 +0530 Subject: [PATCH] Added form validation and image visualization to application and platform create. Removed hash router and used browser router. --- .../resources/publisher/public/index.html | 5 +- .../src/main/resources/publisher/src/App.js | 14 +- .../Application/ApplicationCreate.js | 8 +- .../Application/ApplicationListing.js | 4 +- .../{Forms => CreateSteps}/Step1.js | 31 +- .../Application/CreateSteps/Step2.js | 489 ++++++++++++++++++ .../{Forms => CreateSteps}/Step3.js | 0 .../{Forms => CreateSteps}/index.js | 0 .../src/components/Application/Forms/Step2.js | 240 --------- .../src/components/Platform/PlatformCreate.js | 46 +- 10 files changed, 566 insertions(+), 271 deletions(-) rename components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/{Forms => CreateSteps}/Step1.js (87%) create mode 100644 components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/CreateSteps/Step2.js rename components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/{Forms => CreateSteps}/Step3.js (100%) rename components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/{Forms => CreateSteps}/index.js (100%) delete mode 100644 components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Forms/Step2.js 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 39ac2df1c6..0e627f4af5 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 @@ -25,8 +25,8 @@ manifest.json provides metadata used when your web app is added to the homescreen on Android. See https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/ --> - - + +