From 0f7e710889d056a015e3e0cb564eb35e325d210b Mon Sep 17 00:00:00 2001 From: Ching Date: Thu, 10 Oct 2019 23:13:24 +0800 Subject: [PATCH] [U] update office hour page style --- timer/templates/index.html | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) 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 %}