mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-01 00:08:27 +01:00
Shorten line
This commit is contained in:
parent
da8389f893
commit
6db6f2d432
@ -31,16 +31,16 @@ var UnsavedFeature = React.createClass({
|
|||||||
|
|
||||||
<div className="form-group">
|
<div className="form-group">
|
||||||
<div className="input-group">
|
<div className="input-group">
|
||||||
<input className="form-control"
|
<input className="form-control"
|
||||||
type="text"
|
type="text"
|
||||||
ref="description"
|
ref="description"
|
||||||
placeholder="Enter description" />
|
placeholder="Enter description" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="form-group">
|
<div className="form-group">
|
||||||
<label className="sr-only" htmlFor="strategy">Strategy</label>
|
<label className="sr-only" htmlFor="strategy">Strategy</label>
|
||||||
<select id="strategy" ref="strategy"
|
<select id="strategy" ref="strategy"
|
||||||
className="input-large" defaultValue={this.props.feature.strategy}>
|
className="input-large" defaultValue={this.props.feature.strategy}>
|
||||||
<option value="default">default</option>
|
<option value="default">default</option>
|
||||||
</select>
|
</select>
|
||||||
@ -95,7 +95,9 @@ var SavedFeature = React.createClass({
|
|||||||
<div
|
<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}</div>
|
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 className='pull-right col-xs-2 col-sm-2 col-md-2 col-lg-2'>
|
||||||
|
{this.props.feature.strategy}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -129,8 +131,8 @@ var FeatureList = React.createClass({
|
|||||||
<div className='panel-heading'>
|
<div className='panel-heading'>
|
||||||
<h3 className='panel-title'>Features</h3>
|
<h3 className='panel-title'>Features</h3>
|
||||||
<div className='text-right'>
|
<div className='text-right'>
|
||||||
<button type="button"
|
<button type="button"
|
||||||
className="btn btn-success btn-sm"
|
className="btn btn-success btn-sm"
|
||||||
onClick={this.props.onNewFeature}>
|
onClick={this.props.onNewFeature}>
|
||||||
<span className="glyphicon glyphicon-plus"></span> New
|
<span className="glyphicon glyphicon-plus"></span> New
|
||||||
</button>
|
</button>
|
||||||
|
Loading…
Reference in New Issue
Block a user