Make apply button green as to not blend in with adjacent blue buttons
parent
34ce7c4bb0
commit
385dc3b47f
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue