cartodb-4.42/lib/assets/javascripts/cartodb/common/views/private_header.jst.ejs

41 lines
1.9 KiB
Plaintext
Raw Normal View History

2024-04-06 13:25:13 +08:00
<div class="u-inner Header-inner">
<div class="Header-navigation">
<ul class="Header-navigationList">
<li class="js-logo"></li>
<li>
<ul class="Header-navigationBreadcrumb">
<% if (organizationName) { %>
<li class="Header-navigationBreadcrumbItem CDB-Text CDB-Size-large"><p class="Header-navigationBreadcrumbParagraph"><%= organizationName %></p> /</li>
<% } %>
<li class="Header-navigationBreadcrumbItem CDB-Text CDB-Size-large">
<p class="Header-navigationBreadcrumbParagraph"><a href="<%= homeUrl %>" class="Header-navigationBreadcrumbLink"><%= nameOrUsername %></a></p> /
</li>
<li class="Header-navigationBreadcrumbItem js-breadcrumb-dropdown CDB-Text CDB-Size-large"></li>
</ul>
</li>
</ul>
</div>
<div class="Header-settings">
<ul class="Header-settingsList CDB-Text CDB-Size-medium">
<% if (!cdb.config.get('cartodb_com_hosted')) { %>
<li class="Header-settingsItem">
<a target="_blank" href="https://carto.com/learn/guides" rel="noopener noreferrer" class="CDB-Text is-semibold Header-settingsLink Header-settingsLink--dashboard">Guides</a>
</li>
<li class="Header-settingsItem">
<a target="_blank" href="https://carto.com/developers/" rel="noopener noreferrer" class="CDB-Text is-semibold Header-settingsLink Header-settingsLink--dashboard">Developers</a>
</li>
<% } %>
<li class="Header-settingsItem Header-settingsItemNotifications js-user-notifications">
<button class="UserNotifications">
<i class="UserNotifications-Icon CDB-IconFont CDB-IconFont-Alert"></i>
</button>
</li>
<li class="Header-settingsItem Header-settingsItem--avatar">
<button class="UserAvatar js-settings-dropdown">
<img src="<%= avatar %>" class="UserAvatar-img UserAvatar-img--medium">
</button>
</li>
</ul>
</div>
</div>