|
|
@ -77,8 +77,7 @@ class Dashboard extends React.Component {
|
|
|
|
<Icon type="plus"/>
|
|
|
|
<Icon type="plus"/>
|
|
|
|
Add New App
|
|
|
|
Add New App
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
}
|
|
|
|
}>
|
|
|
|
>
|
|
|
|
|
|
|
|
<Menu.Item key="add-new-public-app">
|
|
|
|
<Menu.Item key="add-new-public-app">
|
|
|
|
<Link to="/publisher/add-new-app/public">
|
|
|
|
<Link to="/publisher/add-new-app/public">
|
|
|
|
Public App
|
|
|
|
Public App
|
|
|
@ -105,8 +104,7 @@ class Dashboard extends React.Component {
|
|
|
|
title={
|
|
|
|
title={
|
|
|
|
<span className="submenu-title-wrapper">
|
|
|
|
<span className="submenu-title-wrapper">
|
|
|
|
<Icon type="control"/>Manage
|
|
|
|
<Icon type="control"/>Manage
|
|
|
|
</span>
|
|
|
|
</span>}>
|
|
|
|
}>
|
|
|
|
|
|
|
|
<Menu.Item key="manage">
|
|
|
|
<Menu.Item key="manage">
|
|
|
|
<Link to="/publisher/manage">
|
|
|
|
<Link to="/publisher/manage">
|
|
|
|
<Icon type="setting"/> General
|
|
|
|
<Icon type="setting"/> General
|
|
|
@ -125,8 +123,7 @@ class Dashboard extends React.Component {
|
|
|
|
title={
|
|
|
|
title={
|
|
|
|
<span className="submenu-title-wrapper">
|
|
|
|
<span className="submenu-title-wrapper">
|
|
|
|
<Icon type="user"/>Profile
|
|
|
|
<Icon type="user"/>Profile
|
|
|
|
</span>
|
|
|
|
</span>}>
|
|
|
|
}>
|
|
|
|
|
|
|
|
<Logout/>
|
|
|
|
<Logout/>
|
|
|
|
</SubMenu>
|
|
|
|
</SubMenu>
|
|
|
|
</Menu>
|
|
|
|
</Menu>
|
|
|
@ -137,9 +134,12 @@ class Dashboard extends React.Component {
|
|
|
|
<Layout className="mobile-layout">
|
|
|
|
<Layout className="mobile-layout">
|
|
|
|
<div className="mobile-menu-button">
|
|
|
|
<div className="mobile-menu-button">
|
|
|
|
<Button type="link" onClick={this.showMobileNavigationBar}>
|
|
|
|
<Button type="link" onClick={this.showMobileNavigationBar}>
|
|
|
|
<Icon type={this.state.collapsed ? 'menu-fold' : 'menu-unfold'} className="bar-icon"/>
|
|
|
|
<Icon
|
|
|
|
|
|
|
|
type={this.state.collapsed ? 'menu-fold' : 'menu-unfold'}
|
|
|
|
|
|
|
|
className="bar-icon"/>
|
|
|
|
</Button>
|
|
|
|
</Button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</Layout>
|
|
|
|
<Drawer
|
|
|
|
<Drawer
|
|
|
|
title={
|
|
|
|
title={
|
|
|
|
<Link to="/publisher/apps">
|
|
|
|
<Link to="/publisher/apps">
|
|
|
@ -160,8 +160,11 @@ class Dashboard extends React.Component {
|
|
|
|
mode="inline"
|
|
|
|
mode="inline"
|
|
|
|
defaultSelectedKeys={['1']}
|
|
|
|
defaultSelectedKeys={['1']}
|
|
|
|
style={{lineHeight: '64px', width: 231}}>
|
|
|
|
style={{lineHeight: '64px', width: 231}}>
|
|
|
|
<Menu.Item key="1"><Link to="/publisher/apps"><Icon
|
|
|
|
<Menu.Item key="1">
|
|
|
|
type="appstore"/>Apps</Link></Menu.Item>
|
|
|
|
<Link to="/publisher/apps">
|
|
|
|
|
|
|
|
<Icon type="appstore"/>Apps
|
|
|
|
|
|
|
|
</Link>
|
|
|
|
|
|
|
|
</Menu.Item>
|
|
|
|
<SubMenu
|
|
|
|
<SubMenu
|
|
|
|
title={
|
|
|
|
title={
|
|
|
|
<span className="submenu-title-wrapper">
|
|
|
|
<span className="submenu-title-wrapper">
|
|
|
@ -188,6 +191,7 @@ class Dashboard extends React.Component {
|
|
|
|
</Menu.Item>
|
|
|
|
</Menu.Item>
|
|
|
|
</Menu>
|
|
|
|
</Menu>
|
|
|
|
</Drawer>
|
|
|
|
</Drawer>
|
|
|
|
|
|
|
|
<Layout className="mobile-layout">
|
|
|
|
<Menu
|
|
|
|
<Menu
|
|
|
|
mode="horizontal"
|
|
|
|
mode="horizontal"
|
|
|
|
defaultSelectedKeys={['1']}
|
|
|
|
defaultSelectedKeys={['1']}
|
|
|
@ -196,8 +200,7 @@ class Dashboard extends React.Component {
|
|
|
|
title={
|
|
|
|
title={
|
|
|
|
<span className="submenu-title-wrapper">
|
|
|
|
<span className="submenu-title-wrapper">
|
|
|
|
<Icon type="user"/>
|
|
|
|
<Icon type="user"/>
|
|
|
|
</span>
|
|
|
|
</span>}>
|
|
|
|
}>
|
|
|
|
|
|
|
|
<Logout/>
|
|
|
|
<Logout/>
|
|
|
|
</SubMenu>
|
|
|
|
</SubMenu>
|
|
|
|
</Menu>
|
|
|
|
</Menu>
|
|
|
@ -219,6 +222,6 @@ class Dashboard extends React.Component {
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export default withConfigContext(Dashboard);
|
|
|
|
export default withConfigContext(Dashboard);
|