cartodb-4.42/lib/assets/javascripts/builder/embed/embed.tpl

22 lines
840 B
Smarty
Raw Normal View History

2024-04-06 13:25:13 +08:00
<% if (showMenu && showLegends) { %>
<header class="CDB-Embed-header <% if (!showLegends) { %> CDB-Embed-header--shadow <% } %>">
<h1 class="CDB-Text CDB-Size-large u-ellipsis" title="<%= title %>"><%= title %></h1>
<% if (description) { %><div class="CDB-Embed-description CDB-Text CDB-Size-medium u-altTextColor" title="<%= description %>"><%= description %></div><% } %>
</header>
<% } %>
<% if (showLegends) { %>
<div class="CDB-Embed-tabs CDB-NavMenu js-tabs"></div>
<% } %>
<div class="CDB-Embed-content">
<div class="CDB-Embed-tab <% if (showMenu) { %> CDB-Embed-tab--menu <% } %> is-active js-embed-map"></div>
<% if (showLegends) { %>
<div class="CDB-Embed-tab CDB-Embed-legends js-embed-legends"></div>
<% } %>
</div>
<% if (showBanner) { %>
<div class="CDB-Embed-banner js-embed-banner"></div>
<% } %>