coll.html 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <%- head_tpl({site_title = site_title, title = title}) %>
  5. </head>
  6. <body>
  7. <%- header_tpl({site_title = site_title}) %>
  8. <main>
  9. <h1>
  10. <img class="title_icon" src="<%= icon_url %>" alt="Collection" />
  11. <%= title %>
  12. </h1>
  13. <div class="row">
  14. <section id="head_img" class="column column-66">
  15. <% if pref_rep then %>
  16. <a href="<%= pref_rep.url %>">
  17. <img src="<%= pref_rep.file %>" alt="[TODO]"/>
  18. </a>
  19. <% end %>
  20. </section>
  21. <section class="column column-30 toolbox">
  22. <h4>Tools</h4>
  23. <p><a href="<%= rdf_href %>">Download RDF document</a></p>
  24. <p><a href="#">Download Laundry List [TODO]</a></p>
  25. </section>
  26. </div>
  27. <% if #members > 0 then %>
  28. <section id="res_children">
  29. <h2>Members</h2>
  30. <ul>
  31. <% for _, el in ipairs(members) do %>
  32. <li>
  33. <a href="<%= el.href %>">
  34. <% if el.tn then %>
  35. <img src="<%= el.tn %>" alt="<%= el.label %>" />
  36. <% end %>
  37. <img class="text_icon" href="<%= el.icon %>" />
  38. <%= el.label %>
  39. </a>
  40. </li>
  41. <%end %>
  42. </ul>
  43. </section>
  44. <% end %>
  45. </main>
  46. <footer></footer>
  47. </body>
  48. </html>