/
index.html
executable file
·141 lines (129 loc) · 5.59 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
133
134
135
136
137
138
139
140
141
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<!-- work-around for IE 8 gfx text render bug -->
<!-- see http://www.andestutor.org/bugzilla/show_bug.cgi?id=1637 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/>
<title>Andes Physics Tutor</title>
<script type="text/javascript">
djConfig = {
isDebug:true,
parseOnLoad:true,
popup:true
}
if(djConfig.isDebug){
djConfig.modulePaths = {'andes':'../andes'};
document.write('<link href="css/andes.css" rel="stylesheet" />');
document.write('<scr'+'ipt src="dojo/dojo.js"></scr'+'ipt>');
}else{
djConfig.modulePaths = {'andes':'../andes'};
document.write('<link href="release/dojo/css/andes.css" rel="stylesheet" />');
document.write('<scr'+'ipt src="release/dojo/dojo/dojo.js.uncompressed.js"></scr'+'ipt>');
}
</script>
<script type="text/javascript">
dojo.require("andes.profile");
</script>
</head>
<body class="tundra">
<div id="splashOverlay"></div>
<div id="conEdit" contenteditable="true"></div>
<div id="main" dojoType="dijit.layout.BorderContainer" gutters="false">
<div dojoType="dijit.MenuBar" id="navMenu" region="top" splitter="false">
<span id="problemName" class="dijitMenuItem dijitMenuItemLabel">Problem</span>
<div dojoType="dijit.PopupMenuBarItem">
<span>Edit</span>
<div dojoType="dijit.Menu" id="menuEdit">
<div id="menuOptions" dojoType="dijit.MenuItem">Options</div>
</div>
</div>
<div dojoType="dijit.PopupMenuBarItem">
<span>Physics</span>
<div dojoType="dijit.Menu" id="menuPhysics">
<div id="menuPhysics1" dojoType="dijit.MenuItem">Principles</div>
<div id="menuPhysicsQ" dojoType="dijit.MenuItem">Quantities</div>
<div id="menuPhysics2" dojoType="dijit.MenuItem">Units</div>
<div id="menuPhysics3" dojoType="dijit.MenuItem">Constants</div>
</div>
</div>
<div dojoType="dijit.PopupMenuBarItem">
<span>Help</span>
<div dojoType="dijit.Menu" id="menuHelp">
<div id="menuIntroductionText" dojoType="dijit.MenuItem">Introduction</div>
<div id="menuIntroduction" dojoType="dijit.MenuItem">Intro Video</div>
<div id="menuSlides" dojoType="dijit.MenuItem">Slide show</div>
<div id="menuManual" dojoType="dijit.MenuItem">Manual</div>
</div>
</div>
<div id="timer"></div>
<div dojoType="dijit.form.Button" id="submitButton" style="position:absolute; top:0; right:10px; margin:0;">Submit</div>
</div>
<div id="toolPane" dojoType="dijit.layout.ContentPane" region="left" splitter="false">
<div dojoType="dojox.drawing.ui.Toolbar" id="gfxToolbarNode" drawingId="drawing" class="gfxToolbar" orient="V" tools="line,rect,ellipse,textBlock,equation,vector,axes" plugs="all" selected=""></div>
</div>
<div id="drawingPane" dojoType="dijit.layout.ContentPane" region="center" >
<div dojoType="dojox.drawing.Drawing" id="drawing" jsId="myDrawing" class="drawing"
plugins="[{'name':'dojox.drawing.plugins.drawing.GreekPalette'}]" defaults="andes.defaults">
</div>
</div>
<div id="helpPane" dojoType="andes.widget.ExpandoPane" region="right" splitter="true" title="Tutor" startExpanded="false">
<div id="helpWrapPane" dojoType="dijit.layout.BorderContainer" gutters="false">
<div id="helpContentPane" dojoType="dijit.layout.ContentPane" region="center"></div>
<div id="helpInputPane" dojoType="dijit.layout.ContentPane" region="bottom">
<div dojoType="dijit.form.TextBox" id="helpInput"></div>
<div dojoType="dijit.form.Button" id="helpSubmit">Hint</div>
</div>
</div>
</div>
<div id="footerPane" dojoType="dijit.layout.ContentPane" region="bottom"></div>
</div>
<div dojoType="dojox.widget.UpgradeBar" id="upgradeBar">
<div validate="dojo.isIE<7">
<span>There may be performance problems with IE 6.0. An upgrade is recommended.</span>
<a href="http://www.mozilla.com/firefox/">Download Firefox</a>
</div>
</div>
<!-- Principles menus constructed last -->
<div id="majorPrinciples" dojoType="dijit.Dialog" title="Major Principles">
<div id="majorModalTreeText"></div>
<div id="majorModalTree" class="tall">
Loading list of major Principles
</div>
</div>
<div id="allPrinciples" dojoType="dijit.Dialog" title="Principles">
<div id="allModalTreeText"></div>
<div id="allModalTree" class="tall">
Loading list of all Principles
</div>
</div>
<div id="options" dojoType="dijit.Dialog" title="Options">
<table id="optionsTable">
<tr>
<td class="left">AngleSnap:</td>
<td><input dojoType="dijit.form.NumberSpinner" value="360" smallDelta="1" constraints="{min:1,max:360}" intermediateChanges="true" style="width:63px" id="optionsAngleSnap" name="angleSnap"/></td>
</tr>
<tr>
<td class="left">PowerPoint Style:</td>
<td><button dojoType="dijit.form.ToggleButton" checked="checked" iconClass="dijitCheckBoxIcon" id="optionsClickMode">Blip</button></td>
</tr>
<tr>
<td class="left">Correct:</td>
<td><a id="colorCorrect"> </a></td>
</tr>
<tr>
<td class="left">Incorrect:</td>
<td><a id="colorIncorrect"> </a></td>
</tr>
<tr>
<td class="left">Timer:</td>
<td><button dojoType="dijit.form.ToggleButton" iconClass="dijitCheckBoxIcon" id="showTimer">Blip</button></td>
</tr>
<tr>
<td class="left"></td>
<td><button dojoType="dijit.form.Button" type="button" id="optionsSave">Save</button></td>
</tr>
</table>
</div>
</body>
</html>