cartodb-4.42/lib/assets/javascripts/dashboard/views/public-dataset/public-header/public-header.tpl

22 lines
820 B
Smarty
Raw Normal View History

2024-04-06 13:25:13 +08:00
<div class='inner'>
<h1><a href='https://carto.com' class='logo' id='the_logo'>CARTO</a></h1>
<ul class='options'>
<% if (!username && !isMobileDevice) { %>
<li><a href='https://carto.com/learn/guides' class='guides'>Guides</a></li>
<% } %>
<% if (!username) { %>
<% if ( !isCartoDBHosted ) { %>
<li><a class='signup' href='https://carto.com/signup'>Sign up</a><li>
<% } %>
<li><a href='https://carto.com/login' class='border login'>Login</a></li>
<% } else { %>
<li>
<a class='editor dropdown account' href='<%- urls[0] %>'>
<% if (avatar_url) { %><img src='<%- avatar_url %>' width='18' title='<%- username %>' alt='<%- username %>' /><% } %><%- username %><span class='separator'></span>
</a>
</li>
<% } %>
</ul>
</div>