cartodb-4.42/lib/assets/javascripts/cartodb/table/views/table_header_view.jst.ejs
2024-04-06 05:25:13 +00:00

24 lines
801 B
Plaintext

<div>
<label class="strong small <% if (!noMenu) { %> interactuable <% } %>">
<% if (!editing_name || isReservedColumn) { %>
<a class="coloptions" href="#<%- col_name %>">
<%- col_name %>
<% if (col_type == 'geometry' && !read_only) { %>
<span class="tiny geo">GEO</span>
<% } %>
<% } else { %>
<input class="col_name_edit" type="text" value="<%- col_name %>" />
<% } %>
</a>
</label>
<p class="small">
<% if (!isReservedColumn) { %>
<a class="coltype own" href="#change_column"><%- col_type %></a>
<% } else { %>
<a class="disabled"><%- col_type %></a>
<% } %>
</p>
</div>
<p class="auto"><%- col_name %>_<% if (col_type == 'geometry' && !read_only) { %>GEO<% } %></p>
<p class="auto"><%- col_type %>_</p>