-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
94 lines (91 loc) · 3.96 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
<!DOCTYPE html>
<html>
<head>
<title>Quagsire</title>
<link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="bower_components/animate.css/animate.min.css">
<link rel="stylesheet" type="text/css" href="bower_components/bootstrap-select/dist/css/bootstrap-select.min.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<div class="container">
<div class="jumbotron">
<h1>NJIT ACM Swipe System</h1>
<span>Please swipe you're NJIT Student Id</span>
<!-- Errors -->
<div class="alert alert-danger hidden" id="error">
<span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span>
<span class="sr-only">Error:</span> Please swipe again
</div>
<div class="alert alert-danger hidden" id="error-2">
<span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span>
<span class="sr-only">Error:</span> Please connect card reader
</div>
<!-- ./Error -->
<h3>Student Id : <span id="student-id"></span></h3>
<div class="alert alert-success hidden" id="success">
<span class="glyphicon glyphicon-thumbs-up" aria-hidden="true"></span>
<span class="sr-only">Success:</span> <span id="signed-name"></span>, thanks for signing in!
</div>
</div>
<form id="info-form" class="form-horizontal hidden">
<span>All Fields Are Required</span>
<div class="form-group">
<label for="ucid" class="col-sm-3 control-label">UCID (Not Student ID)</label>
<div class="col-sm-9">
<input type="text" required class="form-control" name="ucid" id="ucid" placeholder="UCID">
</div>
</div>
<div class="form-group">
<label for="first-name" class="col-sm-3 control-label">First Name</label>
<div class="col-sm-9">
<input type="text" required class="form-control" name="first-name" id="first-name" placeholder="First Name">
</div>
</div>
<div class="form-group">
<label for="last-name" class="col-sm-3 control-label">Last Name</label>
<div class="col-sm-9">
<input type="text" required class="form-control" name="last-name" id="last-name" placeholder="Last Name">
</div>
</div>
<div class="form-group">
<label for="standing" class="col-sm-3 control-label">Class Standing</label>
<div class="col-sm-9">
<select required name="standing" id="standing" title=" " class="selectpicker">
<option>Freshman</option>
<option>Sophomore</option>
<option>Junior</option>
<option>Senior</option>
<option>2nd Year Senior</option>
<option>Graduate</option>
<option>Alumni</option>
</select>
<span id="select-error"></span>
</div>
</div>
<div class="form-group">
<label for="major" class="col-sm-3 control-label">Major</label>
<div class="col-sm-9">
<input type="text" required class="form-control" name="major" id="major" placeholder="Major">
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-3 col-sm-10">
<button id="submit" class="btn btn-default">Sign Up</button>
</div>
</div>
</form>
</div>
</body>
<!-- Scripts -->
<script src="bower_components/jquery/dist/jquery.min.js"></script>
<script type="text/javascript">
if (typeof jQuery === 'undefined') {
document.write('<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"><\/script>');
}
</script>
<script type="text/javascript" src="bower_components/bootstrap/dist/js/bootstrap.js"></script>
<script type="text/javascript" src="bower_components/jquery-validation/dist/jquery.validate.min.js"></script>
<script type="text/javascript" src="bower_components/bootstrap-select/dist/js/bootstrap-select.min.js"></script>
<script src="device.js"></script>
</html>