coll.html 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. <img src="<%= pref_rep.file %>" alt="<%= title %>"/>
  17. <% end %>
  18. </section>
  19. <section class="column column-30 toolbox">
  20. <h4>Tools</h4>
  21. <p><a href="<%= rdf_href %>">Download RDF document</a></p>
  22. <p><a href="#">Download Laundry List [TODO]</a></p>
  23. </section>
  24. </div>
  25. <% if body then %>
  26. <section id="long_desc">
  27. <%- body %>
  28. </section>
  29. <% end %>
  30. <% if #members > 0 then %>
  31. <section id="res_members">
  32. <h2>Members</h2>
  33. <ul class="slideshow">
  34. <% for _, el in ipairs(members) do %>
  35. <li>
  36. <a href="<%= el.href %>">
  37. <% if el.tn then %>
  38. <img src="<%= el.tn %>" alt="<%= el.label %>" />
  39. <% end %>
  40. <br/>
  41. <img
  42. class="body_icon" src="<%= el.icon %>"
  43. alt="<%= el.ctype_label %>"/>
  44. <%= el.label %>
  45. </a>
  46. </li>
  47. <%end %>
  48. </ul>
  49. </section>
  50. <% end %>
  51. </main>
  52. <footer></footer>
  53. </body>
  54. </html>