mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-09 00:18:00 +01:00
List dividers
This commit is contained in:
parent
fb369867a9
commit
891b2ba3f0
@ -18,13 +18,17 @@ export default class UnleashNav extends Component {
|
|||||||
{createListItem('/strategies', 'Strategies')}
|
{createListItem('/strategies', 'Strategies')}
|
||||||
{createListItem('/history', 'Event history')}
|
{createListItem('/history', 'Event history')}
|
||||||
{createListItem('/archive', 'Archived toggles')}
|
{createListItem('/archive', 'Archived toggles')}
|
||||||
|
|
||||||
|
<ListDivider />
|
||||||
|
|
||||||
|
<ListSubHeader caption="Clients" />
|
||||||
{createListItem('/metrics', 'Client metrics')}
|
{createListItem('/metrics', 'Client metrics')}
|
||||||
{createListItem('/client-strategies', 'Client strategies')}
|
{createListItem('/client-strategies', 'Client strategies')}
|
||||||
|
{createListItem('/client-instances', 'Client instances')}
|
||||||
|
|
||||||
<ListDivider />
|
<ListDivider />
|
||||||
|
|
||||||
<ListSubHeader Resources/>
|
<ListSubHeader caption="Resources" />
|
||||||
|
|
||||||
{createListItem('/docs', 'Documentation')}
|
{createListItem('/docs', 'Documentation')}
|
||||||
<a href="https://github.com/finn-no/unleash/" target="_blank">
|
<a href="https://github.com/finn-no/unleash/" target="_blank">
|
||||||
<ListItem caption="GitHub" />
|
<ListItem caption="GitHub" />
|
||||||
|
@ -17,6 +17,7 @@ import HistoryPage from './page/history';
|
|||||||
import Archive from './page/archive';
|
import Archive from './page/archive';
|
||||||
import Metrics from './page/metrics';
|
import Metrics from './page/metrics';
|
||||||
import ClientStrategies from './page/client-strategies';
|
import ClientStrategies from './page/client-strategies';
|
||||||
|
import ClientInstances from './page/client-instances';
|
||||||
|
|
||||||
const unleashStore = createStore(
|
const unleashStore = createStore(
|
||||||
store,
|
store,
|
||||||
@ -39,6 +40,7 @@ ReactDOM.render(
|
|||||||
<Route path="/archive" component={Archive} />
|
<Route path="/archive" component={Archive} />
|
||||||
<Route path="/metrics" component={Metrics} />
|
<Route path="/metrics" component={Metrics} />
|
||||||
<Route path="/client-strategies" component={ClientStrategies} />
|
<Route path="/client-strategies" component={ClientStrategies} />
|
||||||
|
<Route path="/client-instances" component={ClientInstances} />
|
||||||
</Route>
|
</Route>
|
||||||
</Router>
|
</Router>
|
||||||
</Provider>, document.getElementById('app'));
|
</Provider>, document.getElementById('app'));
|
||||||
|
@ -0,0 +1,6 @@
|
|||||||
|
import React from 'react';
|
||||||
|
import ClientStrategy from '../../component/client-strategy/strategy-container';
|
||||||
|
|
||||||
|
const render = () => <ClientStrategy />;
|
||||||
|
|
||||||
|
export default render;
|
@ -1,6 +1,11 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import ClientStrategy from '../../component/client-strategy/strategy-container';
|
import ClientStrategy from '../../component/client-strategy/strategy-container';
|
||||||
|
|
||||||
const render = () => <ClientStrategy />;
|
const render = () => (
|
||||||
|
<div>
|
||||||
|
<h5>Client Strategies</h5>
|
||||||
|
<ClientStrategy />
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
|
||||||
export default render;
|
export default render;
|
||||||
|
Loading…
Reference in New Issue
Block a user