index.eta 1.4 KB

12345678910111213141516171819202122232425262728293031
  1. <% layout("/sk/history/layout", { title: `história` }) %>
  2. <%~ include("/sk/partials/topbar") %>
  3. <% const historyIcon = `
  4. <svg class="icon" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
  5. <g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2">
  6. <path d="M3 12a9 9 0 1 0 9-9a9.75 9.75 0 0 0-6.74 2.74L3 8" />
  7. <path d="M3 3v5h5m4-1v5l4 2" />
  8. </g>
  9. </svg>
  10. ` %>
  11. <h2><%~ historyIcon %> história</h2>
  12. <h3>vnutorné</h3>
  13. <div class="container-row">
  14. <a role="button" href="/history/indoorTemp"><%~ it?.lang?.history.properties?.indoorTemp() %></a>
  15. <a role="button" href="/history/indoorPressure"><%~ it?.lang?.history.properties?.indoorPressure() %></a>
  16. <a role="button" href="/history/indoorHumidity"><%~ it?.lang?.history.properties?.indoorHumidity() %></a>
  17. </div>
  18. <h3>vonkajšie</h3>
  19. <div class="container-row">
  20. <a role="button" href="/history/outdoorConnected"><%~ it?.lang?.history.properties?.outdoorConnected() %></a>
  21. <a role="button" href="/history/outdoorTemp"><%~ it?.lang?.history.properties?.outdoorTemp() %></a>
  22. <a role="button" href="/history/outdoorPressure"><%~ it?.lang?.history.properties?.outdoorPressure() %></a>
  23. <a role="button" href="/history/outdoorHumidity"><%~ it?.lang?.history.properties?.outdoorHumidity() %></a>
  24. </div>