aboutsummaryrefslogtreecommitdiffstats
path: root/timer/templates/event_grid.html
diff options
context:
space:
mode:
Diffstat (limited to 'timer/templates/event_grid.html')
-rw-r--r--timer/templates/event_grid.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/timer/templates/event_grid.html b/timer/templates/event_grid.html
new file mode 100644
index 0000000..efc8a39
--- /dev/null
+++ b/timer/templates/event_grid.html
@@ -0,0 +1,30 @@
+{% extends "timer.html" %}
+
+{% block main_content %}
+<table style="width:100%;border:1px; solid #ccc">
+ <thead>
+ <tr>
+ <th>Date</th>
+ <th>Started</th>
+ <th>Finished</th>
+ <th>Total</th>
+ <th>Week Total</th>
+ </tr>
+ </thead>
+ <tbody>
+ {% for e in events %}
+ <tr>
+ <td>{{ started_at|date:"SHORT_DATE_FORMAT" }}</td>
+ </tr>
+ {% endfor %}
+ </tbody>
+ <tfoot>
+ <tr>
+ <td>Normal Hours:</td>
+ <td>{{ normal_hours }}</td>
+ <td>Over Time:</td>
+ <td>{{ over_time }}</td>
+ </tr>
+ </tfoot>
+</table>
+{% endblock main_content %}