Make Checkbox centered

pull/10616/head
Alex P 2017-02-10 14:35:58 -08:00
parent 7b054da3c0
commit 20dc08c178
1 changed files with 2 additions and 2 deletions

View File

@ -88,7 +88,7 @@ export const KapacitorRulesPage = React.createClass({
<th>Trigger</th>
<th>Message</th>
<th>Alerts</th>
<th>Enabled</th>
<th className="text-center">Enabled</th>
<th></th>
</tr>
</thead>
@ -146,7 +146,7 @@ export const KapacitorRulesPage = React.createClass({
<td className="monotype">{rule.trigger}</td>
<td className="monotype">{rule.message}</td>
<td className="monotype">{rule.alerts.join(', ')}</td>
<td className="monotype">
<td className="monotype text-center">
<div className="dark-checkbox">
<input id="kapacitor-enabled" className="form-control-static" type="checkbox" ref={(r) => this.enabled = r} checked={rule.status === "enabled"} onClick={(e) => this.handleRuleStatus(e, rule)} />
<label htmlFor="kapacitor-enabled"></label>