mirror of
https://github.com/aaronleetw/Attendance.git
synced 2024-11-15 03:21:38 -08:00
92 lines
No EOL
4.3 KiB
HTML
92 lines
No EOL
4.3 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Attendance 點名系統 2.0</title>
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/css/bootstrap.min.css" rel="stylesheet"
|
|
integrity="sha384-F3w7mX95PdgyTmZZMECAngseQB83DfGTowi0iMjiWaeVhAn4FJkqJByhZMI3AhiU" crossorigin="anonymous">
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" integrity="sha512-1ycn6IcaQQ40/MKBW2W4Rhis/DbILU74C1vSrLJxCq57o941Ym01SwNsOMqvEBFlcgUa6xLiPY/NS5R+E6ztJQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
|
|
<link rel="stylesheet" href="/static/allpages.css">
|
|
<link rel="stylesheet" href="/static/homeroom.css">
|
|
<link rel="shortcut icon" type="image/x-icon" href="/static/favicon.ico" />
|
|
<!-- Global site tag (gtag.js) - Google Analytics -->
|
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-H6D61RSBHR"></script>
|
|
<script src="/static/gtag.js"></script>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="showTime"><span id="showTime"></span></div>
|
|
{% include 'sidebar.html' %}
|
|
<div class="container">
|
|
<h1 class="margin-top">{{title}}</h1>
|
|
<h2 class="margin-top">{{currRoom[0]}}{{currRoom[1]}}
|
|
{% if mode == 'STUDABS' or mode == 'STUDDS' %}
|
|
{{num}}號 {{name}}
|
|
{% endif %}
|
|
</h2>
|
|
<div class="col">
|
|
<div class="row">
|
|
<div class="col col-1">Date 日期</div>
|
|
<div class="col col-1">Period 節次</div>
|
|
{% if not (mode == 'STUDABS' or mode == 'STUDDS') %}
|
|
<div class="col col-1">Number 座號</div>
|
|
<div class="col col-1">Name 姓名</div>
|
|
<div class="col col-1">English Name</div>
|
|
{% endif %}
|
|
{% if mode == 'ABS' or mode == 'STUDABS' %}
|
|
<div class="col col-1">Status 狀態</div>
|
|
<div class="col">Notes 備註</div>
|
|
{% elif mode == 'DS' or mode == 'STUDDS' %}
|
|
<div class="col">Description 敘述</div>
|
|
{% endif %}
|
|
</div>
|
|
{% for a in data %}
|
|
<div class="row">
|
|
<div class="col col-1">{{a[0]}}</div>
|
|
<div class="col col-1">{{a[1]}}</div>
|
|
{% if not (mode == 'STUDABS' or mode == 'STUDDS') %}
|
|
<div class="col col-1">{{a[2]}}</div>
|
|
<div class="col col-1">{{students[a[2]]['name']}}</div>
|
|
<div class="col col-1">{{students[a[2]]['ename']}}</div>
|
|
{% endif %}
|
|
{% if mode == 'ABS' or mode == 'STUDABS' %}
|
|
<div class="col col-1">
|
|
{% if a[3]== 'L' %}
|
|
<p class="highlightAbs n-3">𝜑</p>
|
|
{% elif a[3]== 'K' %}
|
|
<p class="highlightAbs n-2">礦</p>
|
|
{% elif a[3]== 'G' %}
|
|
<p class="highlightAbs n-2">事</p>
|
|
{% elif a[3]== 'S' %}
|
|
<p class="highlightAbs n-2">病</p>
|
|
{% elif a[3]== 'F' %}
|
|
<p class="highlightAbs n-2">喪</p>
|
|
{% elif a[3]== 'P' %}
|
|
<p class="highlightAbs n-2">疫</p>
|
|
{% elif a[3]== 'O' %}
|
|
<p class="highlightAbs n-2">公</p>
|
|
{% else %}
|
|
<p class="highlightAbs n-2">{{a[3]}}</p>
|
|
{% endif %}</div>
|
|
<div class="col">{{a[4]}}</div>
|
|
{% elif mode == 'DS' or mode == 'STUDDS' %}
|
|
<div class="col">{{a[3]}}</div>
|
|
{% endif %}
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
{% include 'footer.html' %}
|
|
</div>
|
|
<script src="https://cdn.jsdelivr.net/npm/signature_pad@2.3.2/dist/signature_pad.min.js"></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"
|
|
integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p"
|
|
crossorigin="anonymous"></script>
|
|
<script src="/static/pagejs/homeroom.js"></script>
|
|
<script src="/static/time.js"></script>
|
|
</body>
|
|
|
|
</html> |