Skip to content
This repository has been archived by the owner on Feb 26, 2023. It is now read-only.

Commit

Permalink
style job actions more nice
Browse files Browse the repository at this point in the history
  • Loading branch information
jippi committed Dec 18, 2016
1 parent c2dead7 commit 6c8858d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion frontend/src/components/JobActionMenu/JobActionMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import IconMenu from 'material-ui/IconMenu';
import IconButton from 'material-ui/IconButton';
import FontIcon from 'material-ui/FontIcon'
import MenuItem from 'material-ui/MenuItem';
import { green500 } from 'material-ui/styles/colors'
import JobEditRawJSON from '../JobEditRawJSON/JobEditRawJSON'
import JobActionStop from '../JobActionStop/JobActionStop'
import { JOB_SHOW_DIALOG } from '../../sagas/event'
Expand All @@ -17,13 +18,16 @@ class JobActionMenu extends Component {
}

render() {
const icon = <IconButton><FontIcon className='material-icons' color='white'>more_vert</FontIcon></IconButton>

return (
<div>
<JobEditRawJSON />
<JobActionStop />

<IconMenu
iconButtonElement={ <IconButton><FontIcon className='material-icons'>more_vert</FontIcon></IconButton> }
iconButtonElement={ icon }
style={{ background: green500, borderRadius: '50%' }}
anchorOrigin={{ horizontal: 'left', vertical: 'top' }}
targetOrigin={{ horizontal: 'left', vertical: 'top' }}
>
Expand Down

0 comments on commit 6c8858d

Please sign in to comment.