cartodb/lib/assets/javascripts/builder/components/privacy-dropdown/privacy-dropdown.tpl
2020-06-15 10:58:47 +08:00

16 lines
621 B
Smarty
Executable File

<div class="Privacy-dropdown">
<button class="Privacy-dropdownTrigger Tag Tag-fill Tag-fill--<%- cssClass %> CDB-Text CDB-Size-small u-upperCase js-tooltip <% if (isOwner && canChangePrivacy) { %>js-toggle<% } else { %>is-disabled<% } %>">
<% if (isLoading) { %>
<div class="CDB-LoaderIcon CDB-LoaderIcon--small u-flex">
<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>
<% } else { %>
<%- privacy %>
<% } %>
</button>
<div class="js-dialog"></div>
</div>