coll.html 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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 #members > 0 then %>
  26. <section id="res_mwmbers">
  27. <h2>Members</h2>
  28. <ul class="slideshow">
  29. <% for _, el in ipairs(members) do %>
  30. <li>
  31. <a href="<%= el.href %>">
  32. <% if el.tn then %>
  33. <img src="<%= el.tn %>" alt="<%= el.label %>" />
  34. <% end %>
  35. <br/>
  36. <img
  37. class="body_icon" src="<%= el.icon %>"
  38. alt="<%= el.ctype_label %>"/>
  39. <%= el.label %>
  40. </a>
  41. </li>
  42. <%end %>
  43. </ul>
  44. </section>
  45. <% end %>
  46. </main>
  47. <footer></footer>
  48. </body>
  49. </html>