<%- include('../layout') %>

<h1>Wochenübersicht</h1>

<table class="table table-bordered">
  <thead>
    <tr>
      <th>Woche</th>
      <th>Gesamtstunden</th>
    </tr>
  </thead>
  <tbody>
    <% weeks.forEach(w => { %>
      <tr>
        <td><%= w.label %></td>
        <td><%= w.total.toFixed(2) %></td>
      </tr>
    <% }) %>
  </tbody>
</table>

<%- include('../footer') %>
