cartodb-4.42/lib/assets/javascripts/builder/components/modals/add-widgets/select.tpl
2024-04-06 05:25:13 +00:00

21 lines
882 B
Smarty
Executable File

<p class="CDB-Text CDB-Size-small u-upperCase u-altTextColor Widget-selectTitle">Select Layer</p>
<div class="CDB-InputText CDB-Text is-cursor js-button u-ellipsis
<% if (isDisabled) { %> is-disabled <% } %>
<% if (!label) { %> is-empty <% } %>"
tabindex="0">
<% if (isLoading) { %>
<div class="CDB-LoaderIcon CDB-LoaderIcon--small is-dark">
<svg class="CDB-LoaderIcon-spinner" viewBox="0 0 50 50">
<circle class="CDB-LoaderIcon-path" cx="25" cy="25" r="20" fill="none"></circle>
</svg>
</div>
<span class="u-lSpace u-secondaryTextColor"><%- _t('components.backbone-forms.select.loading') %></span>
<% } else { %>
<% if (isEmpty) { %>
<%- _t('components.backbone-forms.select.empty') %>
<% } else { %>
<%- label || _t('components.backbone-forms.select.placeholder', { keyAttr: keyAttr }) %>
<% } %>
<% } %>
</div>