cartodb-4.42/lib/assets/javascripts/builder/components/modals/add-basemap/tabs.tpl

13 lines
527 B
Smarty
Raw Normal View History

2024-04-06 13:25:13 +08:00
<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>