cartodb-4.42/lib/assets/javascripts/builder/components/custom-list/custom-list-item-with-checkbox.tpl

18 lines
560 B
Smarty
Raw Normal View History

2024-04-06 13:25:13 +08:00
<button type="button" class="CDB-ListDecoration-itemLink u-ellipsis
<% if (isSelected) { %> is-selected <% } %>
<% if (isDestructive) { %>
u-errorTextColor
<% } else if (isDisabled) { %>
u-hintTextColor
<% } else { %>
u-actionTextColor
<% } %>
" title="<%- name %>">
<div class="u-iBlock u-rSpace">
<input class="CDB-Checkbox js-input" type="checkbox" name="" value="" <% if (isSelected) { %>checked<% } %> <% if (isDisabled) { %>disabled<% } %> />
<span class="u-iBlock CDB-Checkbox-face"></span>
</div>
<%- name %>
</button>