-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
91 lines (86 loc) · 4.43 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
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>NextSchool Slot Machine</title>
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=2.0" />
<link rel="icon" href="./favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous" />
<link rel="stylesheet" href="./styles/style.css" type="text/css" media="screen" />
<link rel="stylesheet" href="./lib/css/jquery.slotmachine.min.css" type="text/css" media="screen" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/github.min.css"
type="text/css" />
<script src="./lib/js/axios.js"></script>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"
integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous">
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"
integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous">
</script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"
integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous">
</script>
<script src="./lib/js/slotmachine.min.js"></script>
<script src="./lib/js/jquery.slotmachine.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/languages/javascript.min.js"></script>
<script defer src="https://use.fontawesome.com/releases/v5.0.10/js/all.js"
integrity="sha384-slN8GvtUJGnv6ca26v8EzVaR9DC58QEwsIk9q1QXdCU8Yu8ck/tL/5szYlBbqmS+" crossorigin="anonymous">
</script>
<script type="text/javascript" src="./fetch.js" async></script>
</head>
<body>
<!-- Slot machine example -->
<div id="casino" class="container-fluid h-100" style="padding-top:50px;">
<div class="row">
<div class="col-md-2">
<div id="topic" style="display: none;">
<h4>กลุ่มเป้าหมายที่ต้องการใช้ร่วมกิจกรรม</h4>
<br />
<div id="eventList"></div>
</div>
</div>
<div class="col-md-6">
<div class="content">
<h1>Siri Slot</h1>
<div>
<div id="casino1" class="slotMachine " style="margin-left: -65px;"></div>
<div id="randomDetail" style="margin-left: -65px; margin-top: 38px;"></div>
<audio id="stopSound" src="./sound/stop.mp3" class="slot-audio"></audio>
<div class="btn-group btn-group-justified" role="group">
<button id="casinoShuffle" type="button" class="btn btn-primary btn-lg">
<!-- <div class="top-loader loader"></div> -->
Shuffle!
</button>
<button id="playerReset" type="button" class="btn btn-primary btn-lg" disabled>
Reset!
</button>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<h4>จำนวนผู้มาร่วมงาน : <span id="player"></span></h4>
<h4>จำนวนนักเรียนทั้งหมด : <span id="totalPlayer"></span></h4>
<br /><br />
<h4>รายชื่อผู้โชคดี จำนวน <span id="matchPlayerSum">0</span> คน</h4>
<div class="table-responsive-sm" style="height:450px;overflow-y:scroll;">
<table class="table">
<thead>
<tr>
<th scope="col" class="text-center">#</th>
<th scope="col" class="text-center">รหัสนักเรียน</th>
<th scope="col" class="text-center">ชื่อ-สกุล</th>
<th scope="col" class="text-center">ชั้น</th>
</tr>
</thead>
<tbody id="matchPlayer"></tbody>
</table>
</div>
</div>
</div>
</div>
</body>
</html>