Initial commit
This commit is contained in:
21
lib/assets/javascripts/builder/embed/embed.tpl
Normal file
21
lib/assets/javascripts/builder/embed/embed.tpl
Normal file
@@ -0,0 +1,21 @@
|
||||
<% 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>
|
||||
<% } %>
|
||||
Reference in New Issue
Block a user