diff options
Diffstat (limited to 'ishtar/templates/dashboard_operation.html')
| -rw-r--r-- | ishtar/templates/dashboard_operation.html | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/ishtar/templates/dashboard_operation.html b/ishtar/templates/dashboard_operation.html index add9ecdd3..b1fb0e8d5 100644 --- a/ishtar/templates/dashboard_operation.html +++ b/ishtar/templates/dashboard_operation.html @@ -253,6 +253,32 @@ </tr> </table></div> + <div class='table'> + <table> + <caption>{% trans "By month" %}</caption> + <tr> + <th>{% trans "State" %}</th>{%for mt in dashboard.last_months %}<th>{{mt.date|date:"F Y"|capfirst}}</th>{% endfor %} + </tr> + {% for lbl, months in dashboard.survey.by_month %} + <tr> + <th class='sub'>{{lbl}}</th>{%for nb in months %}<td>{{nb}}</td>{% endfor %} + </tr> + {% endfor %} + </table></div> + + <div class='table'> + <table> + <caption>{% trans "By department" %}</caption> + <tr> + <th>{% trans "Department" %}</th>{%for yr in dashboard.years %}<th>{{yr}}</th>{% endfor %}<th>{% trans "Sum" %}</th> + </tr> + {% for lbl, years in dashboard.survey.by_dpt %} + <tr> + <th class='sub'>{{lbl}}</th>{%for nb in years %}<td{%if forloop.last%} class='sub'{%endif%}>{{nb}}</td>{% endfor %} + </tr> + {% endfor %} + </table></div> + </div> @@ -369,6 +395,31 @@ </tr> </table></div> + <div class='table'> + <table> + <caption>{% trans "By month" %}</caption> + <tr> + <th>{% trans "State" %}</th>{%for mt in dashboard.last_months %}<th>{{mt.date|date:"F Y"|capfirst}}</th>{% endfor %} + </tr> + {% for lbl, months in dashboard.excavation.by_month %} + <tr> + <th class='sub'>{{lbl}}</th>{%for nb in months %}<td>{{nb}}</td>{% endfor %} + </tr> + {% endfor %} + </table></div> + + <div class='table'> + <table> + <caption>{% trans "By department" %}</caption> + <tr> + <th>{% trans "Department" %}</th>{%for yr in dashboard.years %}<th>{{yr}}</th>{% endfor %}<th>{% trans "Sum" %}</th> + </tr> + {% for lbl, years in dashboard.excavation.by_dpt %} + <tr> + <th class='sub'>{{lbl}}</th>{%for nb in years %}<td{%if forloop.last%} class='sub'{%endif%}>{{nb}}</td>{% endfor %} + </tr> + {% endfor %} + </table></div> </div> <!-- |
