forked from kykungz/ywc-queue
-
Notifications
You must be signed in to change notification settings - Fork 1
/
admin.html
93 lines (87 loc) · 3.14 KB
/
admin.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>YWC17 | Queueing System</title>
<link href="https://fonts.googleapis.com/css?family=Montserrat:700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./css/style.css">
<link rel="stylesheet" href="./css/admin.css">
</head>
<body>
<!-- YWC Logo -->
<div class="logo-container">
<a href="./index.html">
<img id="ywc-logo" class="logo" src="./images/logo.svg" alt="">
</a>
</div>
<!-- Remote -->
<div style="max-width: 960px; margin: auto;">
<div id="branch">Branch name</div>
<h1>On screen: <div id="on-screen">-</div></h1>
<div class="queue-container">
<!-- Regular Queue -->
<div class="regular-queue">
<h1>Queue</h1>
<input id="current-queue" type="tel" value="0" min="0" max="80">
<br>
<button onclick="modifyQueue(-1)">
<h2> - </h2>
</button>
<button onclick="modifyQueue(1)">
<h2> + </h2>
</button>
<button onclick="publishQueue()">
<h2> PUBLISH </h2>
</button>
</div>
<!-- Custom Queue -->
<div class="custom-queue">
<h1>Custom text</h1>
<input id="custom-queue" type="text">
<br>
<button onclick="publishCustomText()">
<h2> PUBLISH </h2>
</button>
</div>
</div>
</div>
<!-- QR Code -->
<div class="qr-container">
<div class="qr-code-wrapper">
<img src="./images/qrcode.png" alt="qrcode">
</div>
<div>
<p class="invite-text" id="check-queue-text">สามารถตรวจสอบคิวเรียกสัมภาษณ์ได้ที่</p>
<a class="queue-link" href="https://q.ywc.in.th" target="_blank">
https://q.ywc.in.th/
</a>
</div>
</div>
<footer id="footer">
Copyright 2003 - 2019.
Young Webmaster Camp, in associate with Thai Webmaster Association. All right reserved.
</footer>
<script src="https://www.gstatic.com/firebasejs/7.2.2/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.2.2/firebase-database.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.2.2/firebase-auth.js"></script>
<script>
// Initialize Firebase
var firebaseConfig = {
apiKey: "AIzaSyCttQgKGjOqtdhWmtpG7q-nUVXkhHM0A0M",
authDomain: "ywc17-landing.firebaseapp.com",
databaseURL: "https://ywc17-landing.firebaseio.com",
projectId: "ywc17-landing",
storageBucket: "ywc17-landing.appspot.com",
messagingSenderId: "295170337515",
appId: "1:295170337515:web:e236ee46ae838dd0f66cae"
}
firebase.initializeApp(firebaseConfig)
</script>
<script src="./lib/hammer.js"></script>
<script src="./js/getPrefix.js"></script>
<script src="./js/admin.js"></script>
<script src="./js/login.js"></script>
</body>
</html>