diff --git a/static/allpages.css b/static/allpages.css index 797b98a..66d2fc9 100644 --- a/static/allpages.css +++ b/static/allpages.css @@ -2,6 +2,19 @@ div.col .row .col { border: 1px solid black; } +div.form-group .center { + position: relative; + height: 40px; +} + +div.form-group .center label { + position: absolute; + top: 50%; + width: 100%; + transform: translate(-50%, -50%); + margin: 0; +} + div.signatures { margin-top: 30px; } @@ -95,4 +108,14 @@ input[type="checkbox"].late:checked:after { -moz-transform: translate(-50%,-50%); -ms-transform: translate(-50%,-50%); transform: translate(-50%,-50%); +} + +.logout { + width: 40%; + margin-bottom: 10px; + margin-left: 30%; +} + +button.logout { + margin-left: 0 !important; } \ No newline at end of file diff --git a/static/favicon.ico b/static/favicon.ico new file mode 100644 index 0000000..0e9fedd Binary files /dev/null and b/static/favicon.ico differ diff --git a/templates/admin.html b/templates/admin.html index 992b129..c8576e9 100644 --- a/templates/admin.html +++ b/templates/admin.html @@ -5,19 +5,29 @@ - Admin_View + Admin 管理員 + + + +
-

Admin_View

-

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

-

Status: ({{currDate}}, 星期{{absData[currDate]['dow']}})

- +

Admin View | 管理頁面

+

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

+

[{{currDate}}]

+
@@ -46,7 +56,7 @@
- +
@@ -168,22 +178,22 @@ {% if showUpload == '1' %}
-

此排請勿點選

+

此排 [請勿] 隨意點選

{% endif %} @@ -212,6 +222,11 @@ {% endfor %} console.log(homerooms) function loadingAnimation() { + if ($("#sel-room").val() == "") { + alert("請選擇年級 / 班級!"); + return; + } + document.getElementById('adminSelForm').submit(); $('.container').hide(); $('#loading').show(); } diff --git a/templates/group_teach.html b/templates/group_teach.html index b19654f..d5dcef4 100644 --- a/templates/group_teach.html +++ b/templates/group_teach.html @@ -5,21 +5,31 @@ - Group_Teach_View + Group 分組 + + + +
-

Group_Teach_View

-

{{cclass['category']}}: {{cclass['class_id']}}: {{cclass['name']}}

-

({{currDate}}) ({{dow}})

- +

Group Class View | 分組課頁面

+

{{cclass['category']}}: {{cclass['class_id']}}: {{cclass['name']}}

+

[{{currDate}}]

+
- {% for date in tmpAbsData %} {% if date == currDate %} @@ -35,7 +45,7 @@ -
+
Grade
Class Code
diff --git a/templates/homeroom.html b/templates/homeroom.html index 34e7e95..e06f3a2 100644 --- a/templates/homeroom.html +++ b/templates/homeroom.html @@ -5,21 +5,32 @@ - Attendance | Homeroom + Homeroom 班級 ({{homeroomCode[0]}}{{homeroomCode[1]}}) + + + + +
-

Attendance | Homeroom

-

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

-

{{currDate}}, 依照 星期{{absData[currDate]['dow']}} 課表

- +

Homeroom View | 班級主頁

+

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

+

[{{currDate}}]

+ - {% for date in absData %} {% if date == currDate %} @@ -37,10 +48,10 @@
-
HR
-
Number
-
Name
-
Eng Name
+
班級
+
座號
+
姓名
+
英文姓名
{% for i in periods %}
{{i}}
{% endfor %} diff --git a/templates/login.html b/templates/login.html index 5c89951..db96530 100644 --- a/templates/login.html +++ b/templates/login.html @@ -4,37 +4,54 @@ - Login + Login | 登入 + + + +
+

Attendance 點名系統 (β) | Login 登入

-
-

Attendance (β) | Login

+
+
-
- - +
+
+
+
-
- - +
+
+
+
- + {% if error %} {% endif %}
+