43 lines
1.6 KiB
HTML
43 lines
1.6 KiB
HTML
{% extends "layout.html" %}
|
|
{% block content %}
|
|
<div class="full-width">
|
|
<div class="content">
|
|
<h1>Month by month</h1>
|
|
<p>Month compared to last year. Values are in 8h average.</p>
|
|
</div>
|
|
{% for month in months %}
|
|
<div class="content-subtitle">
|
|
<h2>{{month.month_name}}</h2>
|
|
</div>
|
|
<div class="content graph">
|
|
<div class="graph-item">
|
|
<a href="{{month.month_graph}}" data-lightbox="monthly">
|
|
<img src="{{month.month_graph}}" alt="{{month.month_name}} graph">
|
|
</a>
|
|
</div>
|
|
<div class="graph-item">
|
|
<table class="comp-table">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>this year</th>
|
|
<th>last year</th>
|
|
<th>change</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for row in month.table %}
|
|
<tr>
|
|
<td>{{ row.0 }}</td>
|
|
<td>{{ row.1 }}</td>
|
|
<td>{{ row.2 }}</td>
|
|
<td>{{ row.3 }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
{% endblock content %} |