Work towards integrating data overlay and browse pages

This commit is contained in:
John Firebaugh 2013-10-04 17:00:44 -07:00
parent 8530e3eedb
commit e5ca823f30
4 changed files with 12 additions and 232 deletions

View file

@ -1,15 +0,0 @@
<div class="browse_details">
<h4><%- name %></h4>
<a class='more-details' href="<%- url %>"><%- I18n.t('browse.start_rjs.object_list.details') %></a>
<ul class="inner12">
<% for (var key in attributes) { %>
<li><b><%- key %></b>: <%- attributes[key] %></li>
<% } %>
<li> <a href="<%- url %>/history" class="browse_show_history"><%- I18n.t('browse.start_rjs.show_history') %></a></li>
</ul>
</div>
<a href="#" class="browse_show_list button"><%- I18n.t('browse.start_rjs.object_list.back') %></a>

View file

@ -1,10 +0,0 @@
<div class="browse_details">
<h4><%- I18n.t("browse.start_rjs.history_for_feature", {feature: name}) %></h4>
<a class='more-details' href="<%- url %>/history"><%- I18n.t('browse.start_rjs.details') %></a>
<ul class="inner12">
<% for (var i = 0; i < history.length; i++) { %>
<li><%- I18n.t("browse.start_rjs.edited_by_user_at_timestamp", history[i]) %></li>
<% } %>
</ul>
</div>

View file

@ -1,13 +0,0 @@
<div>
<h4 class="browse_heading"><%- I18n.t('browse.start_rjs.object_list.heading') %></h4>
<div>
<ul class='inner12'>
<% for (var i = 0; i < features.length; i++) { %>
<li><%- features[i].typeName %> <a href="<%- features[i].url %>" data-feature-id="<%- features[i].id %>"><%- features[i].name %></a></li>
<% } %>
</ul>
</div>
<div class='inner12'><a href="<%- url %>" class='button'><%- I18n.t('browse.start_rjs.object_list.api') %></a></div>
</div>