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 4fea44459f7..8b397c1780b 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 @@ -1,37 +1,28 @@ -.App { - text-align: center; +.ant-upload.ant-upload-drag { + height: 170px; } -.App-logo { - animation: App-logo-spin infinite 20s linear; - height: 40vmin; - pointer-events: none; +.release .release-icon{ + margin-right: 15px; } -.App-header { - background-color: #282c34; - min-height: 100vh; - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - font-size: calc(10px + 2vmin); - color: white; +.release .release-icon img{ + width: 100%; + border-radius: 100%; } - -.App-link { - color: #61dafb; +.release .release-screenshot img{ + width: 100%; + border-radius: 15px; + padding: 5px; } -@keyframes App-logo-spin { - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } +.logo { + width: 120px; + height: 31px; + margin: 16px 0 16px 20px; + float: left; } -.ant-upload.ant-upload-drag { - height: 170px; +.logo img{ + height: 35px; } \ No newline at end of file diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/components/apps/release/ReleaseView.js b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/components/apps/release/ReleaseView.js index 8e0953c9c35..f54a00ce083 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/components/apps/release/ReleaseView.js +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/components/apps/release/ReleaseView.js @@ -1,17 +1,18 @@ import React from "react"; import {Avatar, Row, Col, Typography} from "antd"; +import "../../../App.css"; const {Title, Text} = Typography; class ReleaseView extends React.Component { render() { const release = this.props.release; + console.log(release); return ( -
+
- - + + App Name @@ -21,8 +22,14 @@ class ReleaseView extends React.Component {
- - + + + + + + + +
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 ea9d762d9b8..1528c2d8737 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 @@ -3,12 +3,11 @@ import {Layout, Menu, Icon} from 'antd'; const {Header, Content, Footer} = Layout; -import styles from './Dashboard.less'; import Logo from "../../../public/images/logo.svg"; import {Link, NavLink} from "react-router-dom"; import RouteWithSubRoutes from "../../components/RouteWithSubRoutes" -import { Switch, Redirect } from 'react-router' - +import {Switch, Redirect} from 'react-router' +import "../../App.css"; class Dashboard extends React.Component { constructor(props) { @@ -20,36 +19,42 @@ class Dashboard extends React.Component { render() { return ( - -
-
- -
- - Apps - Apps - Add New App - -
- - - - {this.state.routes.map((route) => ( - - ))} - - - - -
- ©2019 entgra.io -
-
+
+ +
+
+ +
+ + Apps + Apps + Add New + App + +
+
+ + + + + {this.state.routes.map((route) => ( + + ))} + + + + + + +
); } }