Make apply button green as to not blend in with adjacent blue buttons

pull/1575/head
Alex P 2017-05-31 17:48:57 -07:00
parent 34ce7c4bb0
commit 385dc3b47f
1 changed files with 10 additions and 4 deletions

View File

@ -49,10 +49,14 @@ class FunctionSelector extends Component {
<span>
{localSelectedItems.length > 0
? `${localSelectedItems.length} Selected`
: 'Select functions below'
}
: 'Select functions below'}
</span>
<div className="btn btn-xs btn-primary" onClick={this.handleApplyFunctions}>Apply</div>
<div
className="btn btn-xs btn-success"
onClick={this.handleApplyFunctions}
>
Apply
</div>
</div>
<div className="function-selector--grid">
{INFLUXQL_FUNCTIONS.map((f, i) => {
@ -63,7 +67,9 @@ class FunctionSelector extends Component {
active: this.isSelected(f),
})}
onClick={_.wrap(f, this.onSelect)}
>{f}</div>
>
{f}
</div>
)
})}
</div>