1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-01 00:08:27 +01:00

List dividers

This commit is contained in:
ivaosthu 2016-11-04 22:25:26 +01:00
parent f89535f359
commit 5f6b118fd7
4 changed files with 20 additions and 3 deletions

View File

@ -18,13 +18,17 @@ export default class UnleashNav extends Component {
{createListItem('/strategies', 'Strategies')}
{createListItem('/history', 'Event history')}
{createListItem('/archive', 'Archived toggles')}
<ListDivider />
<ListSubHeader caption="Clients" />
{createListItem('/metrics', 'Client metrics')}
{createListItem('/client-strategies', 'Client strategies')}
{createListItem('/client-instances', 'Client instances')}
<ListDivider />
<ListSubHeader Resources/>
<ListSubHeader caption="Resources" />
{createListItem('/docs', 'Documentation')}
<a href="https://github.com/finn-no/unleash/" target="_blank">
<ListItem caption="GitHub" />

View File

@ -17,6 +17,7 @@ import HistoryPage from './page/history';
import Archive from './page/archive';
import Metrics from './page/metrics';
import ClientStrategies from './page/client-strategies';
import ClientInstances from './page/client-instances';
const unleashStore = createStore(
store,
@ -39,6 +40,7 @@ ReactDOM.render(
<Route path="/archive" component={Archive} />
<Route path="/metrics" component={Metrics} />
<Route path="/client-strategies" component={ClientStrategies} />
<Route path="/client-instances" component={ClientInstances} />
</Route>
</Router>
</Provider>, document.getElementById('app'));

View File

@ -0,0 +1,6 @@
import React from 'react';
import ClientStrategy from '../../component/client-strategy/strategy-container';
const render = () => <ClientStrategy />;
export default render;

View File

@ -1,6 +1,11 @@
import React from 'react';
import ClientStrategy from '../../component/client-strategy/strategy-container';
const render = () => <ClientStrategy />;
const render = () => (
<div>
<h5>Client Strategies</h5>
<ClientStrategy />
</div>
);
export default render;