cartodb/lib/assets/javascripts/builder/components/modals/add-basemap/tabs.tpl
2020-06-15 10:58:47 +08: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>