Make Checkbox centered
parent
7b054da3c0
commit
20dc08c178
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue