-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
170 lines (163 loc) · 8.9 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
<!DOCTYPE html>
<html lang="he" dir="rtl">
<head>
<meta charset="utf-8">
<meta name="description" content="מאגר סריקות של מבחנים עבור סטודנטים בטכניון | A repository of exam scans for students at the Technion">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>הטכניון - מאגר סריקות</title>
<link rel="apple-touch-icon" sizes="180x180" href="icons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="icons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="icons/favicon-16x16.png">
<link rel="manifest" href="icons/site.webmanifest">
<link rel="mask-icon" href="icons/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-config" content="icons/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<link rel="stylesheet" href="https://cdn.rtlcss.com/bootstrap/v4.5.3/css/bootstrap.min.css">
<link rel="stylesheet" href="bootstrap4-dialog/css/bootstrap-dialog.min.css">
<link rel="stylesheet" href="https://cdn.datatables.net/v/bs4/dt-1.10.18/datatables.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.8/css/select2.min.css">
<link rel="stylesheet" href="select2-bootstrap4-theme/select2-bootstrap4.min.css">
<link rel="stylesheet" href="dataTables-yadcf/jquery.dataTables.yadcf.css">
<link rel="stylesheet" href="modules/virtual-select/virtual-select.css">
<link rel="stylesheet" href="loader.css">
<link rel="stylesheet" href="technion-scans.css">
</head>
<body class="bg-light">
<div class="container d-flex flex-column min-vh-100">
<div class="py-5 text-center">
<!--img class="d-block mx-auto mb-4" src="https://getbootstrap.com/assets/brand/bootstrap-solid.svg" alt="" width="72" height="72"-->
<div class="mx-auto mb-4">
<a href="."><img alt="" width="72" height="72" src="scanner_technion.png"></a>
</div>
<h2 id="main-title">הטכניון - מאגר סריקות</h2>
<p class="lead">לשליחת סריקה חדשה <a href="#" id="upload-new-scan-link">לחצו כאן</a><br>
ניתן לגשת ל-Google Drive <a href="https://drive.google.com/open?id=1Dr3e27tv-vRwf0UvzQVcT0soRn0SrsNZ" target="_blank" rel="noopener">כאן</a></p>
</div>
<div id="scans-container" class="flex-fill d-flex flex-column">
<div class="loading" id="page-loader">Loading…</div>
<div id="scans-course-select-container" class="d-none flex-fill flex-column justify-content-center gap-5">
<form id="scans-course-select-container-form">
<div class="row">
<div class="col-12 col-lg-6 offset-lg-3">
<!--select id="scans-course-select" name="course" class="form-control" required>
<option></option>
</select-->
<div id="scans-course-select"></div>
<input id="scans-course-value" type="hidden" name="course">
<button type="submit" class="btn btn-primary" disabled>הצג</button>
</div>
</div>
</form>
</div>
<div id="scans-table-container" class="scans-table-container-hidden">
<table id="scans-table" class="table table-striped table-bordered" cellspacing="0" width="100%">
<thead>
<tr>
<th>הסריקה</th>
<th><span class="scans-column-header-with-yadcf">קורס</span></th>
<th>ציון</th>
<th><span class="scans-column-header-with-yadcf">סמסטר</span></th>
<th><span class="scans-column-header-with-yadcf">מועד</span></th>
<th><span class="scans-column-header-with-yadcf">מרצה אחראי</span></th>
<th><span class="scans-column-header-with-yadcf">מתרגל אחראי</span></th>
<th>הערות</th>
<th>פעולות</th>
</tr>
</thead>
<tfoot>
<tr>
<th>הסריקה</th>
<th>קורס</th>
<th>ציון</th>
<th>סמסטר</th>
<th>מועד</th>
<th>מרצה אחראי</th>
<th>מתרגל אחראי</th>
<th>הערות</th>
<th>פעולות</th>
</tr>
</tfoot>
<tbody>
</tbody>
</table>
</div>
</div>
<div id="update-details-form-container" class="d-none">
<form>
<div class="form-row">
<div class="form-group col-md-6">
<label for="detail-course-id">מספר קורס</label>
<input type="text" class="form-control" id="detail-course-id" disabled>
</div>
<div class="form-group col-md-6">
<label for="detail-grade">ציון</label>
<input type="text" pattern="0*[1-9][0-9]{0,2}(\.\d+)?" class="form-control" id="detail-grade" required>
<div class="invalid-feedback">
יש להכניס ציון חוקי
</div>
</div>
</div>
<div class="form-row">
<div class="form-group col-md-6">
<label for="detail-semester">סמסטר</label>
<select class="form-control" id="detail-semester" required>
</select>
<div class="invalid-feedback">
יש לבחור סמסטר
</div>
</div>
<div class="form-group col-md-6">
<label for="detail-term">מועד</label>
<select class="form-control" id="detail-term" required>
<option value="">לחצו לבחירת מועד...</option>
<option>מועד א'</option>
<option>מועד ב'</option>
<option>מועד ג'</option>
<option>בוחן אמצע</option>
</select>
<div class="invalid-feedback">
יש לבחור מועד
</div>
</div>
</div>
<div class="form-row">
<div class="form-group col-md-6">
<label for="detail-lecturer">מרצה אחראי</label>
<input type="text" class="form-control" id="detail-lecturer">
</div>
<div class="form-group col-md-6">
<label for="detail-ta">מתרגל אחראי</label>
<input type="text" class="form-control" id="detail-ta">
</div>
</div>
</form>
</div>
<footer class="my-5 pt-5 text-muted text-center text-small">
<p class="mb-0">תוכנת על ידי <a href="https://github.com/michael-maltsev" target="_blank" rel="noopener">מיכאל מלצב</a>.</p>
<p class="mb-1"><small>אתר זה איננו קשור לטכניון - מכון טכנולוגי לישראל, ואין לראות בטכניון או מי מטעמו כאחראי לעיצובו של האתר ולתכניו.</small></p>
</footer>
</div>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-131462517-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-131462517-1');
</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"></script>
<script src="https://cdn.rtlcss.com/bootstrap/v4.5.3/js/bootstrap.min.js"></script>
<script src="bootstrap4-dialog/js/bootstrap-dialog.min.js"></script>
<script src="https://cdn.datatables.net/v/bs4/dt-1.10.18/datatables.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.8/js/select2.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.8/js/i18n/he.js"></script>
<script src="dataTables-yadcf/jquery.dataTables.yadcf.js"></script>
<script src="modules/q/q.js"></script>
<script src="modules/virtual-select/virtual-select-jquery.min.js"></script>
<script src="https://www.gstatic.com/firebasejs/5.3.1/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/5.3.1/firebase-firestore.js"></script>
<script src="technion-scans.js"></script>
</body>
</html>