mirror of
https://github.com/aaronleetw/Attendance.git
synced 2024-11-14 19:11:39 -08:00
Add not confirmed notification in admin
This commit is contained in:
parent
430209717c
commit
54b5bfae63
1 changed files with 9 additions and 0 deletions
|
@ -135,6 +135,11 @@
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if 'confirm' in absData[currDate] %}
|
||||||
|
<p style="color: blue; text-align: center;">Homeroom Teacher Confirmed 班導已確認</p>
|
||||||
|
{% else %}
|
||||||
|
<p style="color: red; text-align: center;">Homeroom Teacher NOT Confirmed 班導尚未確認</p>
|
||||||
|
{% endif %}
|
||||||
{% for c in range(periods|length + 1) %}
|
{% for c in range(periods|length + 1) %}
|
||||||
{% if c % 4 == 0 %}
|
{% if c % 4 == 0 %}
|
||||||
<div class="row signatures">
|
<div class="row signatures">
|
||||||
|
@ -142,8 +147,12 @@
|
||||||
<div class="col half">
|
<div class="col half">
|
||||||
{% if c == 0 %}
|
{% if c == 0 %}
|
||||||
<div class="row">Homeroom Teacher</div>
|
<div class="row">Homeroom Teacher</div>
|
||||||
|
{% if 'confirm' in absData[currDate] %}
|
||||||
<div class="row"><img src="{{absData[currDate]['confirm']}}" alt=""></div>
|
<div class="row"><img src="{{absData[currDate]['confirm']}}" alt=""></div>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
<div class="row"><span style="color:red;">No Signature 導師尚未簽名</span></div>
|
||||||
|
{% endif %}
|
||||||
|
{% else %}
|
||||||
{% if absData[currDate][periods[c-1]]['name'] == 'GP' %}
|
{% if absData[currDate][periods[c-1]]['name'] == 'GP' %}
|
||||||
{% if 'signature' in absData[currDate][periods[c-1]] %}
|
{% if 'signature' in absData[currDate][periods[c-1]] %}
|
||||||
{% for i in absData[currDate][periods[c-1]]['signature'] %}
|
{% for i in absData[currDate][periods[c-1]]['signature'] %}
|
||||||
|
|
Loading…
Reference in a new issue