diff --git a/timer/templates/index.html b/timer/templates/index.html index 0a0253e..237be64 100644 --- a/timer/templates/index.html +++ b/timer/templates/index.html @@ -1,23 +1,27 @@ {% extends 'base.html' %} {% block content %} Office Hour -
-

office hour ends at:

-

{{ today_oh.get_ends_at_str }}

-
- -
+

+ {% csrf_token %} {% for f in form %} -
+
{% if f.name == 'begins_at' %} -
+
{% endif %}
{% endfor %} - + + +
+

今日 {{ today_oh.get_ends_at_str }} 收工!

+ +
+ {% endblock content %}