-
Notifications
You must be signed in to change notification settings - Fork 0
/
app2.html
185 lines (171 loc) · 10.5 KB
/
app2.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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
<!DOCTYPE html>
<html>
<head>
<title>The Classic Stroop Test</title>
<!--<link href="css/main.css" rel="stylesheet"></link>-->
<link href="css/bootstrap.min.css" rel="stylesheet"></link>
<link href="css/jquery.simplecolorpicker.css" rel="stylesheet"></link>
<link href="css/bootstrap-colorpicker.min.css" rel="stylesheet"></link>
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.simplecolorpicker.js"></script>
<script src="js/bootstrap-colorpicker.min.js"></script>
<script src="app.js"></script>
</head>
<body>
<div class="container">
<!--
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-header">
<a class="navbar-brand" href="#">The Classic Stroop Test</a>
</div>
</nav>
-->
<div class="container-fluid col-xs-12">
<div class="container-fluid col-xs-8 col-xs-offset-2"><p><h1>The Classic Stroop Test</h1></p></div>
<div class="container-fluid col-xs-8 col-xs-offset-2 aform" id="aform">
<table class="table">
<tr>
<div class="form-group">
<td><label for="name">Name</label></td>
<td><input type="text" class="form-control" id="name" placeholder="Name" aria-describedby="name"></td>
</div>
</tr>
<tr>
<div class="form-group">
<td><label for="age">Age</label></td>
<td><input type="text" class="form-control" id="age" placeholder="Age" aria-describedby="age"></td>
</div>
</tr>
<tr>
<div class="form-group" id="gender">
<td><label for="Gender">Gender</td>
<td><label><input type="radio" name="genderOptions" id="maleOption" value="Male">Male</label>
<br><label><input type="radio" name="genderOptions" id="femaleOption" value="Female">Female</label></td>
</div>
</tr>
<tr>
<div class="form-group" id="testType">
<td><label for="testType">Test Type</label></td>
<td><label><input type="radio" name="typeOptions" id="colorOption" value="Color">Color Test</label>
<br><label><input type="radio" name="typeOptions" id="textOption" value="Text">Text Test</label></td>
</div>
</tr>
<tr>
<div class="form-group">
<td><label for="testDuration">Test Duration</label></td>
<td><input type="text" class="form-control" id="testDuration" placeholder="Test duration in seconds" aria-describedby="testDuration"></td>
</div>
</tr>
<tr>
<div class="form-group" id="integerForm">
<td><label for="nColors">No. of Colors</label></td>
<td><input type="text" class="form-control" id="number" placeholder="number" aria-describedby="nColors"></td>
</div>
</tr>
</table>
<div class="container-fluid col-xs-6">
<input class="btn btn-default" type="button" data-toggle="modal" data-target="#colorModal" value="Set Colors" id="setColors">
<input class="btn btn-default" type="button" value="Test" id="test">
<!-- <input class="btn btn-default" type="button" value="Train" id="train"> -->
</div>
</div> <!-- Container-XS-8 -->
<div class="modal fade" tabindex="-1" role="dialog" id="colorModal">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title">Colors</h4>
</div>
<div class="modal-body">
<p>Select the colors</p>
<table>
<tr>
<div class="c1">
<td>
<div class="input-group color1">
<input type="text" value="" class="form-control" />
<span class="input-group-addon"><i></i></span>
</div>
</td>
<td><div class="text1"><input type="text" class="form-control" placeholder="Name of color" id="text1"></div></td>
</div>
</tr>
<tr>
<div class="c2">
<td>
<div class="input-group color2">
<input type="text" value="" class="form-control" />
<span class="input-group-addon"><i></i></span>
</div>
</td>
<td><div class="text2"><input type="text" class="form-control" placeholder="Name of color" id="text2"></div></td>
</div>
</tr>
<tr>
<div class="c3">
<td>
<div class="input-group color3">
<input type="text" value="" class="form-control" />
<span class="input-group-addon"><i></i></span>
</div>
</td>
<td><div class="text3"><input type="text" class="form-control" placeholder="Name of color" id="text3"></div></td>
</div>
</tr>
<tr>
<div class="c4">
<td>
<div class="input-group color4">
<input type="text" value="" class="form-control" />
<span class="input-group-addon"><i></i></span>
</div>
</td>
<td><div class="text4"><input type="text" class="form-control" placeholder="Name of color" id="text4"></div></td>
</div>
</tr>
<tr>
<div class="c5">
<td>
<div class="input-group color5">
<input type="text" value="" class="form-control" />
<span class="input-group-addon"><i></i></span>
</div>
</td>
<td><div class="text5"><input type="text" class="form-control" placeholder="Name of color" id="text5"></div></td>
</div>
</tr>
<tr>
<div class="c6">
<td>
<div class="input-group color6">
<input type="text" value="" class="form-control" />
<span class="input-group-addon"><i></i></span>
</div>
</td>
<td><div class="text6"><input type="text" class="form-control" placeholder="Name of color" id="text6"></div></td>
</div>
</tr>
</table>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary">Save changes</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<div class="container-fluid col-xs-8 col-xs-offset-2 atest" id="atest">
<div class="jumbotron">
<p id="coltext" style="text-align:center">Hello</p>
</div>
<div class="container-fluid" id="buttonArea"></div>
<div class="container-fluid col-xs-8">
<input class="btn btn-default" type="button" value="Stop" id="stop">
<input class="btn btn-default" type="button" value="Back" id="back">
</div>
</div> <!-- Container-XS-8 -->
</div>
</div>
</body>
</html>