summaryrefslogtreecommitdiff
path: root/air/OpenPCR.html
blob: a168c1d5aa5ade0744a99f554dfdfbe962587573 (plain)
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
186
187
188
189
190
191
192
193
194
195
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
                    "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
  <script src="js/AIRAliases.js" type="text/javascript"></script>
  <script src="js/jquery-1.4.4.min.js"></script>
  <script type="text/javascript" src="js/jquery.validate.js"></script>
  <script type="text/javascript" src="js/jquery-ui-1.8.7.custom.min.js"></script>
  <link type="text/css" href="css/redmond/jquery-ui-1.8.13.custom.css" rel="stylesheet" />	
  <link rel="stylesheet" type="text/css" media="all" href="css/style.css" />
  <link href="css/SprySlidingPanels.css" rel="stylesheet" type="text/css" />
  <script type="text/javascript" src="js/sprypanels.js"></script>
  
  <script type="text/javascript" src="js/openpcr.js"></script>
  <script type="text/javascript" src="js/first_run.js"></script>
  <script type="text/javascript" src="js/openpcr_update.js"></script>
  
  <script src="applicationupdater_ui.swf" type="application/x-shockwave-flash" />
 
  <style type="text/css">
hr, .clearAll {
	clear: both;
}

#example2.SlidingPanels {
	float: left;
}
#example2 .SlidingPanelsContentGroup {
	float: left;
	width: 10000px;
}
#example2 .SlidingPanelsContent {
	float: left;
	width: 350px;
}
</style>

</head>
<body OnKeyPress="return disableEnterKey(event)" onload="init()" >
<div id="content" role="main">
	<div id="example2" class="SlidingPanels">
	<div class="SlidingPanelsContentGroup">
	
	<!-- PANEL 1: Home Screen -->
		<div id="ex1_p1" class="SlidingPanelsContent p1">
			<div id="homeHeader" class="Header">OpenPCR</div>
			<br />
			<!-- Create a new blank experiment -->
			<a href="#" onclick="newExperiment()"><img src="images/new.png" style="vertical-align:middle;" ><span class="home_title">Add a new experiment</span></a>
			<br /><br /><br />

			<!-- Rerun an experiment -->
			<a href="#" onclick="listSubmit()"><img src="images/rerun.png" style="vertical-align:middle;"><span class="home_title">Re-run an experiment</span></a>
			<div id="reRun" align="right"></div>
		
			<a class="small_button" id="About">About this app</a><br /><br /> <br /> 
		</div>
	<!-- END PANEL 1 -->
	
	<!-- PANEL 2: Experiment Screen -->
			<div id="ex2_p2" class="SlidingPanelsContent p2">
				<form class="cmxform" id="pcrForm" method="get" action="">
				<div class="openpcr-form-div"> 
				
				<div class="Header"><a id="deleteButton" href="#"><img src="images/delete.png" height="30"></a> <span id="ExperimentName"></span> <a id="editButton" class="small_button">Edit</a></div>
				
				<!--<a id="singleTemp" class="edit small_button" href="#">Heat Block mode</a>-->
				
				<div id="lidContainer" style="display:none;">
					<div id="lidTemp"></div>
					</div>
				<div id="preContainer" style="display:none;">
					<div id="preSteps"></div>
					<a id="initialStep" class="edit" onclick="addInitialStep();" href="#"><img src="images/plus.png" height="30"> Initial Step</a>
					</div>
				<div id="cycleContainer" style="display:none;">
					<div id="cycleSteps"></div>
					<a id="addStepButton" class="edit" style="display:none;">
						<span><img src="images/plus.png" height="30"> Step</span>
					</a>
					</div>
				<div id="postContainer" style="display:none;">
					<div id="postSteps"></div>
					<a id="finalStep" class="edit" onclick="addFinalStep();" href="#"><img src="images/plus.png" height="30"> Final Step</a>
					</div>
				<div id="holdContainer" style="display:none;">
					<div id="holdSteps"></div>
					</div>
				</form>
					</div>
					<a id="OptionsButton" class="small_button options_button">More options</a>
				<a id="Start" type="submit" class="start button"><span>Start</span></a>
				<a id="Unplugged" class="unplugged button"><span>Plug in OpenPCR to Start</span></a>
				<a id="Save" type="" class="save button"><span>Save Preset</span></a>
				<a id="SaveEdits" type="submit" class="saveEdits button"><span>Save Edits</span></a>
				<a id="Cancel" class="cancel button"><span>Cancel</span></a>
		
			<a id="Home" class="small_button home_button"><img src="images/left_arrow.png"> Home</a>
		</div>
		<!-- save-dialog -->
				<div id="save_form" title="Save">
					<form onSubmit="$('#Start').click()">
						<fieldset>
							<label for="name">Name your experiment</label>
							<input type="text" name="name" id="name" maxlength="20" class="required text ui-widget-content ui-corner-all" />
						</fieldset>
					</form>
				</div>
				<!-- save_confirmation_dialog -->
			<div id="save_confirmation_dialog" title="Saved">
				Experiment saved!<br />
			</div>
			<!-- delete_dialog -->
			<div id="delete_dialog" title="Delete">
				Delete Experiment?<br />
			</div>
			<div id="delete_confirmation_dialog" title="Deleted">
				Deleted!<br />
			</div>
	<!-- END PANEL 2 -->
	
	<!-- PANEL 3: Running Screen
	This page is opened when OpenPCR is in "Running" mode -->
		<div id="ex2_p3" class="SlidingPanelsContent p3">
		
			<div id="running_header" role="main">
				<div id="runningHeader" class="Header"></div>
				
				<div id="runningPluggedIn">
					<!-- Progress -->
					<br /><br /><span id="timeRemaining">Time remaining:</span><br />
					<div id="minutesRemaining"></div>
					<div id="progressbar"></div>
					<br />
					<br />
					<!-- Status -->
					<div id="runningStats">
						<table id="statsTable">
							<tr>
								<td width="50%">
								<span class="runningHeaders">Status</span><br /><br />
								<span class="runningNums">
									<div id="cycleNumOfNum">Cycle <span id="cycleNumber"></span> of <span id="totalCycles"></span><br /></div>
									<!--<span id="currentStep"></span><span id="stepRemaining"> for <span id="stepSecondsRemaining"></span> sec<br /></span>-->
								</span>
								</td>
								
								<td>
								<span class="runningHeaders">Current Temperature</span><br /><br />
								<span class="runningNums">
									Block: <span id="blockTemp"></span> C <br />
									Lid: <span id="lidTemperature"></span> C
								</td>
							</tr>
						</table>
						<br /><div id="cancelButton"><a href="#" id="stop_link" class="stop small_button">Stop</a></div><br />
				</div>
				</div>
				<div id="runningUnplugged" class="unplugged">
				<br /><br />
				Your OpenPCR is unplugged from the computer.
				<br />Plug in your OpenPCR to get updated information on your run.
				<br />
				</div>
	<div id="homeButton"><a id="Home" class="button homeRunning">Home</a></div>
			<!-- stop-dialog -->
			<div id="stop_dialog" title="Stop">
				Stop PCR?<br />
			</div>
			<!-- about-dialog -->
			<div id="about_dialog" title="About OpenPCR">
				Version 1.1<br />
				OpenPCR App<br />
				http://openpcr.org<br />
				email us: support@openpcr.org
			</div>
				
			
			</div>
		</div>
	<!-- END PANEL 3 -->
</div>

<div id="starting" title="Starting">
				Ready. Steady. Go!<br />
			</div>

<script type="text/javascript">
var sp2 = new Spry.Widget.SlidingPanels('example2');
</script>
<p>&nbsp;</p>


</body>
</html>