snappymail/rainloop/v/0.0.0/app/templates/Views/Components/Checkbox.html

10 lines
435 B
HTML
Raw Normal View History

2015-01-06 04:55:06 +08:00
<label class="e-component e-checkbox inline" data-bind="click: click, css: { 'disabled': disable() || !enable() }">
<i data-bind="css: value() ?
(inverted ? 'icon-checkbox-unchecked' : 'icon-checkbox-checked') :
(inverted ? 'icon-checkbox-checked' : 'icon-checkbox-unchecked')
"></i>
<!-- ko if: labeled -->
2015-01-06 04:55:06 +08:00
&nbsp;&nbsp;
<span class="sub-label i18n" data-bind="attr: {'data-i18n-text': label}"></span>
<!-- /ko -->
2014-10-29 06:05:50 +08:00
</label>