1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

#12 List features

This commit is contained in:
andsandv 2014-10-24 12:00:33 +02:00 committed by Ivar Conradi Østhus
parent afc60a43fb
commit fc310c6a89

View File

@ -85,18 +85,17 @@ var SavedFeature = React.createClass({
render: function() { render: function() {
return ( return (
<div className='row'> <div className='row'>
<span> <div className='col-xs-1 col-sm-1 col-md-1 col-lg-1'>
<input <input
className='pull-left'
type='checkbox' type='checkbox'
className='pull-right'
checked={this.props.feature.enabled} checked={this.props.feature.enabled}
onChange={this.onChange} /> onChange={this.onChange} />
</span> </div>
<span <div
className='col-xs-4 col-sm-4 col-md-4 col-lg-4' className='col-xs-4 col-sm-4 col-md-4 col-lg-4'
title='{this.props.feature.description}'>{this.props.feature.name} title='{this.props.feature.description}'>{this.props.feature.name}</div>
</span> <div className='pull-right col-xs-2 col-sm-2 col-md-2 col-lg-2'>{this.props.feature.strategy}</div>
<span className='col-xs-4 col-sm-4 col-md-4 col-lg-4'>{this.props.feature.strategy}</span>
</div> </div>
); );
} }