diff --git a/static/allpages.css b/static/allpages.css index 53aa4bb..ce49f50 100644 --- a/static/allpages.css +++ b/static/allpages.css @@ -28,8 +28,12 @@ div.signatures { margin-top: 30px; } +div.needborder { + border: 1px solid black !important; +} + div.signatures .col .row { - border: 1px solid black; + border: 0; } div.forSign { diff --git a/templates/admin.html b/templates/admin.html index 4fd909d..4d06f46 100644 --- a/templates/admin.html +++ b/templates/admin.html @@ -146,7 +146,7 @@ {% endif %}
{% if c == 0 %} -
Homeroom Teacher 導師
+
Homeroom Teacher 導師
{% if 'confirm' in absData[currDate] %}
{% else %} @@ -156,18 +156,22 @@ {% 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}}: +
{{periods[c-1]}}: {{absData[currDate][periods[c-1]]['teacher']}}: {{i}}: {{absData[currDate][periods[c-1]]['names'][i]}}
-

備註: - {{absData[currDate][periods[c-1]]['notes']}}
+
+ {% 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 +
{{periods[c-1]}}: {{absData[currDate][periods[c-1]]['teacher']}}: No + Signature
{% endif %} {% else %} -
{{periods[c-1]}}: {{absData[currDate][periods[c-1]]['name']}}: +
{{periods[c-1]}}: {{absData[currDate][periods[c-1]]['name']}}: {{absData[currDate][periods[c-1]]['teacher']}}
{% if c == 0 %} -
Homeroom Teacher 導師
+
Homeroom Teacher 導師
{% if 'confirm' in absData[currDate] %}
{% else %} @@ -188,18 +188,22 @@ {% 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}}: +
{{periods[c-1]}}: {{absData[currDate][periods[c-1]]['teacher']}}: {{i}}: {{absData[currDate][periods[c-1]]['names'][i]}}
-

備註: - {{absData[currDate][periods[c-1]]['notes']}}
+
+ {% 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 +
{{periods[c-1]}}: {{absData[currDate][periods[c-1]]['teacher']}}: No + Signature
{% endif %} {% else %} -
{{periods[c-1]}}: {{absData[currDate][periods[c-1]]['name']}}: +
{{periods[c-1]}}: {{absData[currDate][periods[c-1]]['name']}}: {{absData[currDate][periods[c-1]]['teacher']}}

備註: