Homeroom View | 班級主頁

{{homeroomCode[0]}}{{homeroomCode[1]}}

[{{currDate}}]

班級
座號
姓名
英文姓名
{% for i in periods %}
{{i}}
{% endfor %}
{% for i in periods %}
{{absData[currDate][i]['name']}}
{% endfor %}
{% for i in periods %}
{{absData[currDate][i]['teacher']}}
{% endfor %}
{% for i in homeroomData %}
{{homeroomCode[0]}}{{homeroomCode[1]}}
{{i}}
{{ homeroomData[i]['name'] }}
{{ homeroomData[i]['eng_name'] }}
{% for j in periods %}
{% if 'signature' in absData[currDate][j] %} {% if i in absData[currDate][j] %} {% if absData[currDate][j][i] == 1 %}

X

{% else %}

𝜑

{% endif %} {% else %} {% if absData[currDate][j]['name'] != 'GP' %}

V

{% else %} {% if (homeroomData[i]['GP_Class'][absData[currDate][j]['teacher']] in absData[currDate][j]['signature'])%}

V

{% else %}

{% endif %} {% endif %} {% endif %} {% elif absData[currDate][j]['name'] == 'GP' %}

{% else %} {% if 'confirm' in absData[currDate] %}

{% else %} {% endif %} {% endif %}
{% endfor %}
{% endfor %}
{% for i in periods %}
{% if ('signature' in absData[currDate][i] or absData[currDate][i]['name'] == 'GP' or 'confirm' in absData[currDate]) %} {% else %} {% endif %}
{% endfor %}
{% if 'confirm' in absData[currDate] %} {% else %} {% endif %} {% for c in range(periods|length + 1) %} {% if c % 4 == 0 %}
{% endif %}
{% if c == 0 %}
Homeroom Teacher 導師
{% if 'confirm' in absData[currDate] %}
{% else %}
No Signature 導師尚未簽名
{% endif %} {% else %} {% if absData[currDate][periods[c-1]]['name'] == 'GP' %} {% if 'signature' in absData[currDate][periods[c-1]] %} {% for i in absData[currDate][periods[c-1]]['signature'] %}
{{periods[c-1]}}: {{absData[currDate][periods[c-1]]['teacher']}}: {{i}}: {{absData[currDate][periods[c-1]]['names'][i]}}
{% if loop.index == loop.length %}
備註: {{absData[currDate][periods[c-1]]['notes']}} {% endif %}
{% endfor %} {% else %}
{{periods[c-1]}}: {{absData[currDate][periods[c-1]]['teacher']}}: No Signature
{% endif %} {% else %}
{{periods[c-1]}}: {{absData[currDate][periods[c-1]]['name']}}: {{absData[currDate][periods[c-1]]['teacher']}}

備註: {{absData[currDate][periods[c-1]]['notes']}}
{% endif %} {% endif %}
{% if c % 4 == 3 %}
{% endif %} {% endfor %}
{% include 'footer.html' %}