[U] update office hour page style
This commit is contained in:
parent
d2744493e2
commit
0f7e710889
@ -1,23 +1,27 @@
|
|||||||
{% extends 'base.html' %}
|
{% extends 'base.html' %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<title>Office Hour</title>
|
<title>Office Hour</title>
|
||||||
<div>
|
<p></p>
|
||||||
<h2>office hour ends at: </h2>
|
<form method="POST" class="form-inline mb-2">
|
||||||
<h1>{{ today_oh.get_ends_at_str }}</h1>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<form method="POST">
|
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
{% for f in form %}
|
{% for f in form %}
|
||||||
<div class="form-group " >
|
<div class="form-group" >
|
||||||
{% if f.name == 'begins_at' %}
|
{% if f.name == 'begins_at' %}
|
||||||
<label>
|
<label style='color:#67b3ff'>
|
||||||
{{ f.name }}
|
开工时间系
|
||||||
</label>
|
</label>
|
||||||
|
</div>
|
||||||
|
<div class="form-group mx-sm-3 mb-2" >
|
||||||
<input type="" name={{ f.name }} class="form-control">
|
<input type="" name={{ f.name }} class="form-control">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
<button type="submit" class="btn btn-primary">Submit</button>
|
<button type="submit" class="btn btn-primary mb-2">Submit</button>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<h2 style='color:#67b3ff'>今日 <b style='color:#ff6767'>{{ today_oh.get_ends_at_str }}</b> 收工!</h2>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user