|
@@ -7,16 +7,23 @@
|
|
<%- header_tpl({site_title = site_title}) %>
|
|
<%- header_tpl({site_title = site_title}) %>
|
|
<main>
|
|
<main>
|
|
<h1>
|
|
<h1>
|
|
- <img class="title_icon" src="<%= icon_url %>" />
|
|
|
|
- <%= breadcrumbs[#breadcrumbs][2] -%>: <%= title %>
|
|
|
|
|
|
+ <img
|
|
|
|
+ class="title_icon" src="<%= icon_url %>"
|
|
|
|
+ alt="<%= breadcrumbs[#breadcrumbs][2] -%>" />
|
|
|
|
+ <%= title %>
|
|
</h1>
|
|
</h1>
|
|
|
|
+ <section class="toolbox">
|
|
|
|
+ <h4>Tools</h4>
|
|
|
|
+ <p><a href="<%= rdf_href %>">Download RDF document</a></p>
|
|
|
|
+ <p><a href="#">Download Laundry List [TODO]</a></p>
|
|
|
|
+ </section>
|
|
<section id="res_lineage">
|
|
<section id="res_lineage">
|
|
<h2>Classification</h2>
|
|
<h2>Classification</h2>
|
|
<p>
|
|
<p>
|
|
<% for i, bc in ipairs(breadcrumbs) do %>
|
|
<% for i, bc in ipairs(breadcrumbs) do %>
|
|
<% cls, label = table.unpack(bc) %>
|
|
<% cls, label = table.unpack(bc) %>
|
|
<% if i ~= 1 then %>
|
|
<% if i ~= 1 then %>
|
|
- <span class="breadcrump_sep"> ➳ </span>
|
|
|
|
|
|
+ <span class="breadcrumb_sep">➳</span>
|
|
<% end %>
|
|
<% end %>
|
|
<a
|
|
<a
|
|
class="breadcrumb<%if i == #breadcrumbs then %> current<% end %>"
|
|
class="breadcrumb<%if i == #breadcrumbs then %> current<% end %>"
|
|
@@ -28,7 +35,6 @@
|
|
</section>
|
|
</section>
|
|
<section id="res_dmd">
|
|
<section id="res_dmd">
|
|
<h2>Metadata</h2>
|
|
<h2>Metadata</h2>
|
|
- <p><a href="<%= rdf_href %>">Download RDF document</a></p>
|
|
|
|
<dl class="res_md">
|
|
<dl class="res_md">
|
|
<% for _, ol in ipairs(dmd) do %>
|
|
<% for _, ol in ipairs(dmd) do %>
|
|
<dt>
|
|
<dt>
|
|
@@ -63,10 +69,10 @@
|
|
<% end %>
|
|
<% end %>
|
|
<% if #children > 0 then %>
|
|
<% if #children > 0 then %>
|
|
<section id="res_children">
|
|
<section id="res_children">
|
|
- <h2>Contains</h2>
|
|
|
|
|
|
+ <h2>Members</h2>
|
|
<ul>
|
|
<ul>
|
|
<% for _, ll in ipairs(children) do %>
|
|
<% for _, ll in ipairs(children) do %>
|
|
- <li>Sequence (<%= #ll %> items):<ol>
|
|
|
|
|
|
+ <li><%= ll[1].label %> (<%= #ll %> items)<ol>
|
|
<% for i, el in ipairs(ll) do %>
|
|
<% for i, el in ipairs(ll) do %>
|
|
<li><a href="<%= el.href %>">
|
|
<li><a href="<%= el.href %>">
|
|
<% if el.tn then %>
|
|
<% if el.tn then %>
|