mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-04 00:18:01 +01:00
#12 Setup features in grid
This commit is contained in:
parent
f3efe6f629
commit
d0a0ade138
@ -19,7 +19,7 @@
|
|||||||
<a class="navbar-brand" href="#">Unleash</a>
|
<a class="navbar-brand" href="#">Unleash</a>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
<div class="container">
|
<div class="container-fluid">
|
||||||
<div id="content">Loading...</div>
|
<div id="content">Loading...</div>
|
||||||
</div>
|
</div>
|
||||||
<script type="text/jsx" src="js/unleash.jsx"></script>
|
<script type="text/jsx" src="js/unleash.jsx"></script>
|
||||||
|
@ -30,10 +30,19 @@ var SavedFeature = React.createClass({
|
|||||||
|
|
||||||
render: function() {
|
render: function() {
|
||||||
return (
|
return (
|
||||||
<div>
|
<div className='row'>
|
||||||
<span title='{this.props.feature.description}'>{this.props.feature.name}</span>
|
<span>
|
||||||
<span>{this.props.feature.strategy}</span>
|
<input
|
||||||
<input type='checkbox' checked={this.props.feature.enabled} onChange={this.onChange} />
|
className='pull-left'
|
||||||
|
type='checkbox'
|
||||||
|
checked={this.props.feature.enabled}
|
||||||
|
onChange={this.onChange} />
|
||||||
|
</span>
|
||||||
|
<span
|
||||||
|
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>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user