-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
132 lines (95 loc) · 3 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
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
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8" />
<html lang="en">
<title>Basketball ADT</title>
<!--
<link rel="stylesheet" href="css/canvasStyle.css">
<link rel="stylesheet" href="css/jquery-ui.css">
-->
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="app.js"></script>
<script src="scoreboard.js"></script>
<script src="stack.js"></script>
<script src="pQueue.js"></script>
<script src="holders.js"></script>
<script src="bubbles.js"></script>
<link rel="stylesheet" href="jquery-ui.css">
<link rel="stylesheet" href="jquery-ui.structure.min.css">
<link rel="stylesheet" href="jquery-ui.theme.min.css">
<link rel="stylesheet" href="jquery-ui.structure.css">
<link rel="stylesheet" href="jquery-ui.theme.css">
<script src="jquery-ui.js"></script>
<script src="jquery-ui.min.js"></script>
<style>
.canvas-div {
margin-top: 30px;
position: static;
margin-left: auto;
margin-right: auto;
overflow: hidden;
text-align: center;
width: 100%;
}
canvas {
display: inline;
margin-left: auto;
margin-right: auto;
border-width: 3px;
border-style: groove;
}
#adtButton {
margin-top: 20px;
;
}
#refresh {
float: right;
}
h2 {
text-align: center;
}
#help {
float: right;
}
#adtSelection {
float: right;
}
#displayOptions {
float: left;
margin-top: 10px;
}
</style>
</head>
<body>
<div class="ui-widget-header" id="header">
<button id="refresh"> </button>
<button id="help"> </button>
<h2> Basketball ADT </h2>
</div>
<div id="adtButton">
<button id="putButton">Push</button>
<button id="getButton">Pop</button>
<button id="peekButton">Peek</button>
<button id="randomize">Randomize</button>
<button id="shuffle">Shuffle</button>
<div id="adtSelection">
<input type="radio" name="adtSelect" id="stackSelect" checked="checked">
<label for="stackSelect">Stack</label>
<input type="radio" name="adtSelect" id="priorityQueueSelect">
<label for="priorityQueueSelect">Priority Queue</label>
</div>
</div>
<div id="displayOptions">
<input type="checkbox" name="checkbox-1" id="checkbox-1" checked>
<label for="checkbox-1">Scoreboard</label>
<input type="checkbox" name="checkbox-2" id="checkbox-2">
<label for="checkbox-2">ADT Data</label>
</div>
<div class="canvas-div">
<canvas id="graphCanvas" height="675" width="900" tabindex="0">
Your current browser does not support Canvas! Use Firefox or Google Chrome.
</canvas>
</div>
</body>
</html>