-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
85 lines (84 loc) · 2.87 KB
/
index.php
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
<?php
ini_set("display_errors", "1");
include_once('./db.php');
include_once('./room_shape.php');
?>
<!DOCTYPE html>
<html>
<head>
<title>CPS Seat Picker</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap -->
<link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
<link href="css/main.css" rel="stylesheet" media="screen">
<link href="css/container-floors.css" rel="stylesheet" media="screen">
<link href="css/container-generate.css" rel="stylesheet" media="screen">
<link href="css/container-students.css" rel="stylesheet" media="screen">
</head>
<body>
<div class="container">
<div id="container-top">
<div id="container-floors">
<div id="4th-floor">
<h2>4th floor - East Wing</h2>
<div id="4th-floor-top-rooms" class="rooms">
<?php showRoom(4424, TRUE);?>
<?php showRoom(4423);?>
<?php showRoom(4422);?>
</div>
<div id="4th-floor-bottom-rooms" class="rooms rooms-flipped">
<?php showRoom(4425);?>
<?php showRoom(4426, TRUE, 'small', TRUE);?>
<?php showRoom(4427, TRUE, 'small', TRUE);?>
</div>
</div>
<!--
<div id="2nd-floor" class="none">
<h2>2nd floor</h2>
<div id="2nd-floor">
<div class="span2"></div>
<div class="2nd-floor-room">
<?php showRoom(2201, TRUE, 8);?>
</div>
</div>
</div>
-->
</div>
<div id="container-generate">
<div id="generating-policy">
<h4>Generating Policy</h4>
<label class="checkbox inactive-input">
<input type="checkbox" id="checkbox-seniority" value="" disabled> Consider seniority
</label>
<label class="checkbox inactive-input">
<input type="checkbox" id="checkbox-research-group" value="" disabled> Consider research group
</label>
<label class="checkbox inactive-input">
<input type="checkbox" id="checkbox-attendting-time" value="" disabled> Consider attending time
</label>
</div>
<div id="generate-box">
<button id="generate-btn" class="btn btn-large btn-primary"
type="button" data-loading-text="Loading..." onclick="generate()">Generate!</button>
<div id="generate-status">
<p id="generate-status-error" class="text-error resettable none">Error</p>
<p id="generate-status-success" class="text-success resettable none">Done</p>
</div>
<div id="generate-info">
<p id="info-too-few-seats" class="text-info resettable none"></p>
</div>
</div>
</div>
</div>
<div id="container-bottom">
<div id="container-students">
<?php include('./table.php');?>
</div>
</div>
</div>
<script src="http://code.jquery.com/jquery.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/main.js"></script>
<script src="js/deploy.js"></script>
</body>
</html>