Skip to content

Commit

Permalink
#12 List features
Browse files Browse the repository at this point in the history
  • Loading branch information
andsandv authored and ivarconr committed Feb 20, 2020
1 parent 3b16c88 commit ee0c540
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions unleash-server/public/js/unleash.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,18 +85,17 @@ var SavedFeature = React.createClass({
render: function() {
return (
<div className='row'>
<span>
<input
className='pull-left'
type='checkbox'
checked={this.props.feature.enabled}
onChange={this.onChange} />
</span>
<span
<div className='col-xs-1 col-sm-1 col-md-1 col-lg-1'>
<input
type='checkbox'
className='pull-right'
checked={this.props.feature.enabled}
onChange={this.onChange} />
</div>
<div
className='col-xs-4 col-sm-4 col-md-4 col-lg-4'
title='{this.props.feature.description}'>{this.props.feature.name}
</span>
<span className='col-xs-4 col-sm-4 col-md-4 col-lg-4'>{this.props.feature.strategy}</span>
title='{this.props.feature.description}'>{this.props.feature.name}</div>
<div className='pull-right col-xs-2 col-sm-2 col-md-2 col-lg-2'>{this.props.feature.strategy}</div>
</div>
);
}
Expand Down

0 comments on commit ee0c540

Please sign in to comment.