-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
416 lines (374 loc) · 19.3 KB
/
index.html
File metadata and controls
416 lines (374 loc) · 19.3 KB
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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
<!doctype html>
<html>
<head>
<title>Cổng Quản Lý Thực Tập Tốt Nghiệp - Học Kỳ Doanh Nghiệp</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"
integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="./css/style.css">
<link rel="stylesheet" href="./css/font-awesome.min.css">
<link rel="shortcut icon" href="./favicon.ico" type="image/x-icon" />
<meta charset="utf-8">
<style>
:root {
--accent: #F18260;
--purple: #252431;
}
.form-container {
position: relative;
background: #fff;
padding: 2rem;
border-radius: 6px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
width: 350px;
min-height: 300px;
margin: 0 auto;
box-shadow: 0 10px 50px 0 #ccc;
margin-bottom: 2rem;
}
.is-hidden {
display: none !important;
}
a {
width: max-content;
margin: 0;
color: var(--accent);
text-decoration: none;
margin-bottom: 0.5rem;
}
@keyframes rotate {
100% {
transform: rotate(360deg);
}
}
@keyframes dash {
0% {
stroke-dasharray: 1, 200;
stroke-dashoffset: 0;
}
50% {
stroke-dasharray: 89, 200;
stroke-dashoffset: -35;
}
100% {
stroke-dasharray: 89, 200;
stroke-dashoffset: -124;
}
}
.loading {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.loading-spinner {
/*width: 250px;
height: 250px;*/
position: fixed;
}
.loading-spinner svg {
position: relative;
animation: rotate 2s linear infinite;
height: 50px;
width: 50px;
}
.loading-spinner circle {
stroke: var(--accent);
stroke-dasharray: 1, 200;
stroke-dashoffset: 0;
stroke-linecap: round;
animation: dash 1.5s ease-in-out infinite;
}
p.js-success-message {
text-align: center;
font-size: 20px;
padding: 10px 0px;
}
table.dtable th,
table.dtable td,
table.ntable th,
table.ntable td {
border: 1px #ccc solid;
border-collapse: collapse;
padding: 5px;
font-weight: normal;
}
TABLE {
margin-bottom: 5px;
}
table.dtable,
table.ntable {
border: 1px #ccc solid;
border-collapse: collapse;
padding: 5px;
width: 100%;
}
TH {
background: #E0E0E0;
font-style: normal;
}
TD {
padding-right: 5px;
padding-left: 5px;
}
.btn-tuyendung {
float: right;
border: 2px solid #ae3c33;
border-radius: 10px;
padding: 10px;
color: red;
}
</style>
<script src="./jquery-3.3.1.min.js"></script>
<script src="./jquery-google-sheet-to-json.min.js"></script>
<script src="./bootbox.min.js"></script>
<!-- Latest compiled and minified JavaScript -->
<script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"
integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd" crossorigin="anonymous">
</script>
<script src="./ckeditor/ckeditor.js"></script>
</head>
<body>
<div id="container">
<div id="header">
<div class="left">
<img src="./images/logo.png">
</div>
<div class="right">
<h2 style="color: blue; font-weight: bold;">KHOA CÔNG NGHỆ THÔNG TIN</h2>
</div>
</div>
<div id="main-content">
<h1 style="text-align:center; color: red">CỔNG QUẢN LÝ THỰC TẬP TỐT NGHIỆP </h1>
<h1 style="text-align: center; color: red">HỌC KỲ DOANH NGHIỆP</h1>
<div class="submit-SV">
<h3 style="display:inline">DÀNH CHO SINH VIÊN</h3>
<a class="btn-tuyendung" href="https://www.hutech.edu.vn/khoacntt/doanh-nghiep/tuyen-dung"
target="_blank">TÌM CTY THỰC TẬP</a>
<div class="form-wrapper">
<label for="txtMaSV">MASV</label>
<input id="inMaSV" type="text" name="txtMaSV" placeholder="Mã số sinh viên" class="form-control"
required="">
</div>
<button id="btnDoSV" type="button" onclick="stepGetSinhVien(); return false;">TRA CỨU THÔNG TIN HƯỚNG
DẪN</button>
</div>
<div class="loading js-loading is-hidden" style="z-index: 100;">
<div class="loading-spinner" style="z-index: 100;">
<img src="./images/loading.svg">
</div>
</div>
<div id="InfoSV" style="padding: 10px">
</div>
<div id="SVUpdate">
</div>
<div id="BaoCao" style="text-align: center;" class="js-showuAction is-hidden">
<button style="display: inline;" id="btnCapNhat" type="button"
onclick="openUpdateThongTin(); return false;">CẬP NHẬT THÔNG TIN THỰC TẬP</button>
<button style="display: inline;" id="btnBaoCao" type="button"
onclick="openBaoCaoThucTap(); return false;">BÁO CÁO THỰC TẬP</button>
</div>
<form name="submit-to-google-sheet" class="js-showupdate is-hidden">
<h3 style="color:red; font-weight:bold;">SINH VIÊN CẬP NHẬT THÔNG TIN</h3>
<div class="form-wrapper">
<label for="">Email</label>
<input type="email" name="EMAIL" placeholder="Địa chỉ thư điện tử?" class="form-control" required=""
oninvalid="this.setCustomValidity('Nhập Email')" oninput="setCustomValidity('')">
</div>
<div class="form-wrapper">
<label for="">Điện Thoại</label>
<input type="text" name="DIENTHOAI" placeholder="Hãy giữ liên lạc?" class="form-control" required=""
oninvalid="this.setCustomValidity('Nhập số điện thoại')" oninput="setCustomValidity('')">
</div>
<div class="form-wrapper">
<label for="CONGTY">Công ty thực tập</label>
<input type="text" name="CONGTY" class="form-control" required=""
oninvalid="this.setCustomValidity('Nhập Công Ty')" oninput="setCustomValidity('')">
</div>
<div class="form-wrapper">
<label for="WEBSITE">Website công ty</label>
<input type="text" name="WEBSITE" class="form-control" required=""
oninvalid="this.setCustomValidity('Nhập Website công ty')" oninput="setCustomValidity('')">
</div>
<div class="form-wrapper">
<label for="NGAYBATDAU">Ngày bắt đầu thực tập tại Công ty</label>
<input type="text" name="NGAYBATDAU" class="form-control" required=""
oninvalid="this.setCustomValidity('Nhập Ngày bắt đầu thực tập tại Công ty')"
oninput="setCustomValidity('')">
</div>
<div class="form-wrapper">
<label for="NGAYDUKIENKETTHUC">Ngày dự kiến kết thúc thực tập tại Công ty</label>
<input type="text" name="NGAYDUKIENKETTHUC" class="form-control" required=""
oninvalid="this.setCustomValidity('Nhập Ngày dự kiến kết thúc thực tập tại Công ty')"
oninput="setCustomValidity('')">
</div>
<div class="form-wrapper">
<label for="HOTENNGUOIQUANLI">Họ tên người quản lý bạn</label>
<input type="text" name="HOTENNGUOIQUANLI" class="form-control" required=""
oninvalid="this.setCustomValidity('Nhập Họ tên người quản lý bạn')"
oninput="setCustomValidity('')">
</div>
<div class="form-wrapper">
<label for="DIENTHOAIQUANLY">Điện thoại người quản lý bạn</label>
<input type="text" name="DIENTHOAIQUANLY" class="form-control" required=""
oninvalid="this.setCustomValidity('Nhập Điện thoại người quản lý bạn')"
oninput="setCustomValidity('')">
</div>
<div class="form-wrapper">
<label for="EMAILNGUOIQUANLI">Email người quản lý bạn</label>
<input type="email" name="EMAILNGUOIQUANLI" class="form-control" required=""
oninvalid="this.setCustomValidity('Nhập Email người quản lý bạn')"
oninput="setCustomValidity('')">
</div>
<div class="form-wrapper">
<label for="CHUCVU">Chức vụ người quản lý bạn</label>
<input type="text" name="CHUCVU" class="form-control" required=""
oninvalid="this.setCustomValidity('Nhập Chức vụ người quản lý bạn')"
oninput="setCustomValidity('')">
</div>
<div class="form-wrapper">
<label for="VITRICONGVIEC">Vị trí công việc thực tập</label>
<input type="text" name="VITRICONGVIEC" class="form-control" required=""
oninvalid="this.setCustomValidity('Nhập Vị trí công việc thực tập')"
oninput="setCustomValidity('')">
</div>
<input type="text" hidden name="MASV">
<button class="report_" type="submit">CẬP NHẬT THÔNG TIN</button>
</form>
<div id="reportSV" class="js-showReport is-hidden">
<div id="time-report">
<h3 style="color:red; font-weight:bold;">THÔNG TIN THỜI GIAN BÁO CÁO HÀNG TUẦN</h3>
<div id="thongbao_sv"></div>
<table id="time-report-tuan" class="dtable">
<tr>
<th>Tuần báo cáo</th>
<th>Thời gian bắt đầu</th>
<th>Thời gian kết thúc</th>
<th>Báo cáo</th>
</tr>
</table>
</div>
<div id="getTime_">
</div>
<div id="popup-wrap-box">
<div class="popup-wrap">
<div class="popup-box">
<div class="popup-content">
<h2>Hướng dẫn báo cáo thực tập</h2>
<hr />
<ol>
<li> <strong>Lưu ý</strong>: Khi sinh viên đã báo
cáo thành công <strong>[Hệ thống đã lưu lại bài báo cáo mới nhất] </strong>
<ul>
<li>Nôi dung sẽ hiển thị lại khi bạn đã báo cáo thành công</li>
<li>Việc báo cáo các tuần tiếp theo hoàn
toàn không ảnh hưởng nội dung tuần trước</li>
</ul>
</li>
<li><strong> Hướng dẫn: </strong>Báo cáo
từ <strong>tuần 2 trở đi: </strong>sinh viên clear nội dung rồi
<strong>tiếp tục báo cáo tuần 2</strong> và các tuần
khác <img alt="233"
src="https://i.ibb.co/qx0hFnQ/233.png" />
<p><img alt="3232" src="https://i.ibb.co/QYYkwb7/3232.png" /></p>
<p><h4 style="color: red">=> Hoặc click vào nội dung sẽ tự động xóa</h4></p>
</li>
<li><strong>Tiếp tục phần báo cáo của bạn: Tương tự cho các
tuần tới</strong></li>
<li>
<h2><em>[LƯU Ý - TUẦN 10-12] TUẦN BÁO CÁO TỔNG
HỢP </em></h2>
Sinh viên báo cáo kèm theo đường dẫn chưa
<strong>file báo cáo tổng hợp (File word)</strong> .Đính
kèm link hoặc copy link đã upload lên<strong> <a
href="https://drive.google.com">Google Drive</a></strong>
</li>
<li><strong>Hướng dẫn:</strong>
<p><img alt="33" src="https://i.ibb.co/c1SqJvF/33.png" /></p>
</li>
<li>Nếu chưa hiểu rõ xin vui lòng liên hệ giáo viên
hướng dẫn hoặc <a href="https://www.facebook.com/hieubb18">LCH</a> , <a
href="https://www.facebook.com/nguyenthanhdang1008">Nguyễn Thanh Đăng</a>
</li>
<li>Nếu có lỗi hoặc chưa hài lòng hệ thống hoặc muốn góp
ý vui lòng góp ý gv <a
href="https://www.facebook.com/nguyendinhanh">Nguyễn Đình
Ánh</a></li>
</ol>
</div>
<a class="close-btn popup-close" href="#">x</a>
</div>
</div>
<form id="form-report" name="submit-form-report" class="js-showNavReports is-hidden" novalidate>
<h3 style="color:red; font-weight:bold;">SINH VIÊN BÁO CÁO THỰC TẬP CÔNG TY</h3>
<div class="form-wrapper">
<div class="box-notes">
<div class="notes">
<h3>Nội dung công việc thực tập tại công ty</h3>
<p><strong style="color:red"><a class="btn popup-btn" href="#"><i
class="fa fa-hand-o-right arrow"
aria-hidden="true"></i> LƯU Ý: TRƯỚC KHI BÁO CÁO</a>
</strong></p>
</div>
</div>
<textarea class="noidung" class="noidung" id="InputTextArea"
placeholder="Nhập nội dung báo cáo của bạn" required=""
onkeyup="resizeTextarea('InputTextArea')"></textarea>
<script>
CKEDITOR.replace('InputTextArea', {
enterMode: CKEDITOR.ENTER_BR,
shiftEnterMode: CKEDITOR.ENTER_P,
extraPlugins: 'autogrow,clear',
autoGrow_minHeight: 400,
autoGrow_maxHeight: 800
});
CKEDITOR.on('instanceReady', function (ev) {
ev.editor.dataProcessor.writer.setRules('br', {
indent: false,
breakBeforeOpen: false,
breakAfterOpen: false,
breakBeforeClose: false,
breakAfterClose: false
});
});
var isFirst = 1;
CKEDITOR.instances['InputTextArea'].on('focus', function( evt ) {
if(isFirst)
{
isFirst = 0;
CKEDITOR.instances['InputTextArea'].setData('');
}
});
</script>
</div>
<input type="text" hidden name="NOIDUNGCONGVIEC" id="saveDaTa">
<input type="text" hidden name="MASVREPORT">
<input type="text" hidden name="MSSVTUAN">
<button class="report_" type="submit" onclick="submition()">GỬI BÁO CÁO</button>
</form>
</div>
</div>
<p class="js-success-message is-hidden" style="color:red">CẬP NHẬT THÀNH CÔNG</p>
<p class="js-error-message is-hidden">AHAHA - LỖI RỒI</p>
</div>
<script type="text/javascript" src="./do_get_info.js">
</script>
<script src="./prefixfree.min.js"></script>
<script src="./formdata-poly.js"></script>
<script src="./promise-polyfill.js"></script>
<script src="./whatwg-fetch.js"></script>
<p style="text-align:center">© 2019 Nguyễn Đình Ánh - Lương Công Hiếu (SV Hutech) - Database: Google Sheet,
Host: Github<p>
</div>
</body>
</html>