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

13 lines
527 B
Smarty
Executable File

<div class="Modal-navigation">
<ul class="Modal-navigationInner CDB-Text is-semibold CDB-Size-medium js-tabs">
<% model.get('tabs').each(function(tab) { %>
<li class="CDB-NavMenu-item <%- model.get('currentTab') === tab.get('name') ? 'is-selected' : '' %>">
<button data-name="<%- tab.get('name') %>" class="CDB-NavMenu-link u-upperCase">
<%- tab.get('label') %>
</button>
</li>
<% }) %>
</ul>
</div>
<div class="Modal-inner Modal-inner--with-navigation js-tab-content"></div>