-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
106 lines (106 loc) · 6.08 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
<!DOCTYPE html>
<html>
<head>
<title>Accessible PencilCode Prototype</title>
<!-- Twitter Bootstrap CSS [3.3.7] (Bootstrap CDN) +SRI -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="client.css">
</head>
<body lang="en">
<div class="container" role="application">
<div class="row">
<div class="col-xs-6">
<h1>Accessible PencilCode <small>Prototype</small></h1>
</div><!-- .col-xs-6 -->
<div class="col-xs-3">
<div class="form-group">
<label for="auditorydisplayslist">Auditory display type:</label>
<select id="auditorydisplayslist" class="form-control" tabindex="1">
<option class="auditorydisplays" id="screenreader" selected="selected">Speech (from screen reader)</option><!-- using screen reader's speech -->
<!-- <option class="auditorydisplays" id="speech">Speech</option> -->
<!-- <option class="auditorydisplays" id="speechsynthesis">Speech synthesis</option> -->
<option class="auditorydisplays" id="earcon">Earcon</option>
<option class="auditorydisplays" id="spearcon">Spearcon</option>
</select><!-- select #auditorydisplayslist .form-control -->
</div><!-- .form-group -->
</div><!-- .col-xs-3 -->
<div class="col-xs-3">
<div class="form-group">
<label for="programlist">Program:</label>
<select id="programlist" class="form-control" tabindex="2">
<option class="programs" id="example" selected="selected">Example</option>
<!-- <option class="programs" id="1-1-A">1-1-A</option> -->
<option class="programs" id="1-1-B">1-1</option>
<!-- <option class="programs" id="1-1-C">1-1-C</option> -->
<!-- <option class="programs" id="1-2-A">1-2-A</option> -->
<option class="programs" id="1-2-B">1-2</option>
<!-- <option class="programs" id="1-2-C">1-2-C</option> -->
<option class="programs" id="1-3-A">1-3</option>
<!-- <option class="programs" id="1-3-B">1-3-B</option> -->
<!-- <option class="programs" id="1-3-C">1-3-B</option> -->
<!-- <option class="programs" id="2-1-A">2-1-A</option> -->
<option class="programs" id="2-1-B">2-1</option>
<!-- <option class="programs" id="2-1-C">2-1-C</option> -->
<option class="programs" id="2-2-A">2-2</option>
<!-- <option class="programs" id="2-2-B">2-2-B</option> -->
<!-- <option class="programs" id="2-2-C">2-2-C</option> -->
<!-- <option class="programs" id="2-3-A">2-3-A</option> -->
<option class="programs" id="2-3-B">2-3</option>
<!-- <option class="programs" id="2-3-C">2-3-C</option> -->
</select><!-- select #programlist .form-control -->
</div><!-- .form-group -->
</div><!-- .col-xs-3 -->
</div>
<div class="row">
<div class="col-sm-3">
<div class="well">
<!-- Block selection -->
<h2>Block selection</h2>
<div role="tab" class="block jumptocodenavigation" id="jumptocodenavigation" alt="Jump to code navigation"><p class="block-link" tabindex="3" aria-label="Jump to code navigation">Jump to code navigation</p></div>
<h3>Categories</h3>
<div class="row" id="category-list">
<div class="col-sm-6">
<ul role="tablist" class="nav nav-pills nav-stacked">
<li class="category category-active active" id="category-1" aria-controls="move" role="tab" data-toggle="tab" tabindex="3">Move</li>
<li class="category" id="category-2" aria-controls="art" role="tab" data-toggle="tab" tabindex="5">Art</li>
<li class="category" id="category-3" aria-controls="text" role="tab" data-toggle="tab" tabindex="7">Text</li>
<li class="category" id="category-4" aria-controls="sound" role="tab" data-toggle="tab" tabindex="9">Sound</li>
</ul>
</div><!-- .col-sm-6 -->
<div class="col-sm-6">
<ul role="tablist" class="nav nav-pills nav-stacked">
<li class="category" id="category-5" aria-controls="control" role="tab" data-toggle="tab" tabindex="4">Control</li>
<li class="category" id="category-6" aria-controls="operators" role="tab" data-toggle="tab" tabindex="6">Operators</li>
<li class="category" id="category-7" aria-controls="sprites" role="tab" data-toggle="tab" tabindex="8">Sprites</li>
<li class="category" id="category-8" aria-controls="snippets" role="tab" data-toggle="tab" tabindex="10">Snippets</li>
</ul>
</div><!-- .col-sm-6 -->
</div> <!-- .row #category-list -->
<hr />
<h3>Blocks</h3>
<ul role="tablist" class="nav nav-pills nav-stacked" id="block-list"></ul>
</div>
</div><!-- .col-sm-4 -->
<div class="col-sm-9">
<div class="well">
<!-- Code navigation -->
<h2>Code navigation</h2>
<ul role="tablist" class="nav nav-pills nav-stacked nestinglevel-0" id="program-sequence"></ul>
</div>
</div><!-- .col-sm-8 -->
</div><!-- .row -->
</div><!-- .container -->
<!-- jQuery [3.2.1] (Google Hosted Libraries) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!-- Twitter Bootstrap [3.3.7] (Bootstrap CDN) +SRI -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<!-- howler.js [2.0.4] (CDNJS) -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/howler/2.0.4/howler.min.js"></script>
<script src="client.js"></script>
<script>
// show "Move" blocks on page load (jQuery.ready();)
$(update_block_list( 'category-1' ));
$(update_program_sequence( 'example' ));
</script>
</body>
</html>