mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-23 00:22:19 +01:00
link cards to strategies view
This commit is contained in:
parent
57565185b0
commit
0ba7ca0659
@ -1,5 +1,5 @@
|
|||||||
import React, { PropTypes } from 'react';
|
import React, { PropTypes } from 'react';
|
||||||
import { Textfield, Button, Card, CardTitle, CardText, CardActions, CardMenu, IconButton } from 'react-mdl';
|
import { Textfield, Button, Card, CardTitle, CardText, CardActions, CardMenu, IconButton, Icon } from 'react-mdl';
|
||||||
import { Link } from 'react-router';
|
import { Link } from 'react-router';
|
||||||
import StrategyInputPersentage from './strategy-input-persentage';
|
import StrategyInputPersentage from './strategy-input-persentage';
|
||||||
|
|
||||||
@ -102,7 +102,8 @@ class StrategyConfigure extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
<CardMenu style={{ color: '#fff' }}>
|
<CardMenu style={{ color: '#fff' }}>
|
||||||
<IconButton name="delete" onClick={this.handleRemove} />
|
<Link title="View / Edit stratgy" to={`/strategies/view/${name}`} style={{ color: '#fff', display: 'inline-block', verticalAlign: 'bottom', marginRight: '5px' }}><Icon name="edit" /></Link>
|
||||||
|
<IconButton title="Remove strategy from toggle" name="delete" onClick={this.handleRemove} />
|
||||||
</CardMenu>
|
</CardMenu>
|
||||||
</Card>
|
</Card>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user