diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/conf/config.json b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/conf/config.json
index 1411e8bef6..1a98c1a6dc 100644
--- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/conf/config.json
+++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/public/conf/config.json
@@ -18,16 +18,24 @@
},
"defaultPlatformIcons": {
"default": {
- "icon": "mobile",
- "color": "#535c68"
+ "icon": "global",
+ "color": "#535c68",
+ "theme": "outlined"
},
"android": {
"icon": "android",
- "color": "#7db343"
+ "color": "#7db343",
+ "theme": "filled"
},
"ios": {
"icon": "apple",
- "color": "#535c68"
+ "color": "#535c68",
+ "theme": "filled"
+ },
+ "windows": {
+ "icon": "windows",
+ "color": "#008cc4",
+ "theme": "filled"
}
}
}
diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/App.css b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/App.css
index 048a7eb7ab..94ce220af4 100644
--- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/App.css
+++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/App.css
@@ -21,14 +21,14 @@
padding: 5px;
}
-.logo {
+.logo-image {
width: 120px;
height: 31px;
margin: 0 0 16px 20px;
float: left;
}
-.logo img{
+.logo-image img{
height: 35px;
}
diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/App.js b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/App.js
index 2f6d2d164f..76e9922736 100644
--- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/App.js
+++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/App.js
@@ -1,5 +1,5 @@
import React from "react";
-import "antd/dist/antd.css";
+import "antd/dist/antd.less";
import RouteWithSubRoutes from "./components/RouteWithSubRoutes";
import {
BrowserRouter as Router,
diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/components/apps/list-apps/Filters.js b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/components/apps/list-apps/Filters.js
index 43b1d36274..0160917564 100644
--- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/components/apps/list-apps/Filters.js
+++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/components/apps/list-apps/Filters.js
@@ -1,5 +1,5 @@
import React from "react";
-import {Avatar, Card, Col, Row, Table, Typography, Input, Divider, Checkbox, Select, Button, Form, message} from "antd";
+import {Avatar, Card, Col, Row, Table, Typography, Input, Divider, Icon, Select, Button, Form, message, Radio} from "antd";
import axios from "axios";
import config from "../../../../public/conf/config.json";
@@ -26,10 +26,17 @@ class FiltersForm extends React.Component {
}
}
- if(values.hasOwnProperty("deviceType") && values.deviceType==="all"){
+ if(values.hasOwnProperty("deviceType") && values.deviceType==="ALL"){
delete values["deviceType"];
}
+ if(values.hasOwnProperty("subscriptionType") && values.subscriptionType==="ALL"){
+ delete values["subscriptionType"];
+ }
+ if(values.hasOwnProperty("appType") && values.appType==="ALL"){
+ delete values["appType"];
+ }
+
this.props.setFilters(values);
});
};
@@ -152,6 +159,15 @@ class FiltersForm extends React.Component {
+
+ {getFieldDecorator('serach', {})(
+ }
+ placeholder="Username"
+ />,
+ )}
+
+
{getFieldDecorator('categories', {
rules: [{
@@ -202,8 +218,7 @@ class FiltersForm extends React.Component {
})
}
)}
@@ -244,6 +259,7 @@ class FiltersForm extends React.Component {
+
)}
@@ -251,10 +267,11 @@ class FiltersForm extends React.Component {
{getFieldDecorator('subscriptionType', {})(
-
- Free
- Paid
- ,
+
+ Free
+ Paid
+ All
+ ,
)}
diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/components/apps/list-apps/appsTable/AppsTable.js b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/components/apps/list-apps/appsTable/AppsTable.js
index df1182da04..29e1207ad0 100644
--- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/components/apps/list-apps/appsTable/AppsTable.js
+++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/components/apps/list-apps/appsTable/AppsTable.js
@@ -45,12 +45,14 @@ const columns = [
const defaultPlatformIcons = config.defaultPlatformIcons;
let icon = defaultPlatformIcons.default.icon;
let color = defaultPlatformIcons.default.color;
+ let theme = defaultPlatformIcons.default.theme;
if (defaultPlatformIcons.hasOwnProperty(platform)) {
icon = defaultPlatformIcons[platform].icon;
color = defaultPlatformIcons[platform].color;
+ theme = defaultPlatformIcons[platform].theme;
}
return ()
+ theme={theme}/>)
}
},
{
diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/components/new-app/AddNewAppForm.js b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/components/new-app/AddNewAppForm.js
index c8f67e8b45..10f8482934 100644
--- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/components/new-app/AddNewAppForm.js
+++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/components/new-app/AddNewAppForm.js
@@ -1,5 +1,5 @@
import React from "react";
-import "antd/dist/antd.css";
+//import "antd/dist/antd.css";
import {
Card,
Button,
diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/pages/dashboard/Dashboard.js b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/pages/dashboard/Dashboard.js
index 85a7fa6c08..108bc123fe 100644
--- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/pages/dashboard/Dashboard.js
+++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/pages/dashboard/Dashboard.js
@@ -21,9 +21,9 @@ class Dashboard extends React.Component {
return (
-
-
-
+
+
+