annotate web/views/button1.htm @ 480:6d464ac4ba3c

prototype
author Matt Johnston <matt@ucc.asn.au>
date Mon, 03 Feb 2014 00:08:59 +0800
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
480
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
3 <head>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
5 <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=8,minimum-scale=0.1">
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
6 <style type="text/css"><!--
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
7
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
8 span.no_selection {
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
9 -webkit-user-select: none; // webkit (safari, chrome) browsers
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
10 -moz-user-select: none; // mozilla browsers
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
11 -khtml-user-select: none; // webkit (konqueror) browsers
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
12 }
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
13
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
14 body {
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
15 font-family: "sans-serif";
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
16 }
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
17
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
18 input {
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
19 border: 2px solid transparent;
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
20 border-radius: 4px;
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
21 background-color: white;
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
22 border-color: black;
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
23 padding: 0;
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
24 font-size: 80%;
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
25 }
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
26
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
27 input[type="button"] {
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
28 width: 4em;
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
29 height: 4em;
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
30 margin-left: 0.5em;
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
31 }
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
32
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
33 input[type="submit"] {
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
34 width: 10em;
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
35 height: 4em;
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
36 margin-top: 1em;
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
37 align: center;
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
38 }
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
39
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
40 input[type="text"] {
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
41 height: 4em;
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
42 text-align: center;
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
43 }
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
44
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
45 .onbutton {
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
46 background-color: #cdf;
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
47 }
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
48
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
49 .existing {
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
50 margin-top: 1em;
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
51 font-size: 70%;
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
52 }
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
53
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
54 //-->
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
55 </style>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
56 <title></title>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
57 </head>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
58
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
59 <!-- Click on the graph to zoom in, click on the Y axis labels to zoom out -->
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
60
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
61 <script>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
62
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
63 var down_re = /^down_/;
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
64 var up_re = /^up_/;
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
65 var yes_re = /^yes_/;
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
66 var no_re = /^no_/;
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
67
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
68 function change_value() {
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
69 var el = event.target;
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
70 var dir = 1;
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
71 if (down_re.test(el.name))
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
72 {
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
73 var sect = el.name.replace(down_re, '');
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
74 dir = -1;
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
75
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
76 }
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
77 if (up_re.test(el.name))
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
78 {
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
79 var sect = el.name.replace(up_re, '');
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
80 }
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
81
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
82 var textbox = document.getElementById("input_" + sect);
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
83 var amount = 0.1;
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
84 if (sect == "overshoot_delay")
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
85 {
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
86 amount = 60;
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
87 }
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
88
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
89 var val = Number(textbox.value);
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
90 textbox.value = val + (dir*amount);
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
91 }
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
92
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
93 function toggle()
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
94 {
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
95 var el = event.target;
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
96 if (yes_re.test(el.name))
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
97 {
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
98 var sect = el.name.replace(yes_re, '');
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
99 var val = "1";
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
100 }
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
101 if (no_re.test(el.name))
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
102 {
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
103 var sect = el.name.replace(no_re, '');
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
104 var val = "0";
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
105 }
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
106
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
107 var hidden = document.getElementById("input_" + sect);
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
108 hidden.value = val;
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
109
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
110 update_button(sect);
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
111 }
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
112
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
113 function update_button(sect)
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
114 {
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
115 var hidden = document.getElementById("input_" + sect);
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
116 var yesbutton = document.getElementById("yes_" + sect);
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
117 var nobutton = document.getElementById("no_" + sect);
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
118 yesbutton.className = yesbutton.className.replace("onbutton", "");
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
119 nobutton.className = nobutton.className.replace("onbutton", "");
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
120 if (hidden.value == "1")
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
121 {
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
122 yesbutton.className = yesbutton.className + " onbutton";
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
123 }
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
124 else
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
125 {
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
126 nobutton.className = nobutton.className + " onbutton";
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
127 }
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
128 }
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
129
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
130 function start()
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
131 {
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
132 update_button("enabled");
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
133 update_button("wortonly");
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
134 }
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
135
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
136 </script>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
137
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
138 <body onload="start()">
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
139 <form action="" method="get">
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
140
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
141 <div>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
142 <span class="existing">Temperature <span id="existing_fridge_setpoint">20.2</span>º</span>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
143 <br/>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
144 <input type="text" id="input_fridge_setpoint" name="input_fridge_setpoint" value="20.2"/>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
145 <input type="button" name="down_fridge_setpoint" value="-" onclick="change_value()"/>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
146 <input type="button" name="up_fridge_setpoint" value="+" onclick="change_value()"/>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
147 </div>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
148
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
149 <div>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
150 <span class="existing">Enabled <span id="existing_enabled">Yes</span></span>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
151 <br/>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
152 <input type="hidden" id="input_enabled" name="input_enabled" value="0"/>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
153 <input type="button" id="no_enabled" name="no_enabled" value="No" onclick="toggle()"/>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
154 <input type="button" id="yes_enabled" name="yes_enabled" value="Yes" onclick="toggle()"/>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
155 </div>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
156
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
157 <div>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
158 <span class="existing">Wort Only <span id="existing_wortonly">Yes</span></span>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
159 <br/>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
160 <input type="hidden" id="input_wortonly" name="input_wortonly" value="0"/>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
161 <input type="button" id="no_wortonly" name="no_wortonly" value="No" onclick="toggle()"/>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
162 <input type="button" id="yes_wortonly" name="yes_wortonly" value="Yes" onclick="toggle()"/>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
163 </div>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
164
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
165 <div>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
166 <span class="existing">Allowed difference <span id="existing_fridge_difference">0.2</span>º</span>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
167 <br/>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
168 <input type="text" id="input_fridge_difference" name="input_fridge_difference" value="0.2"/>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
169 <input type="button" name="down_fridge_difference" value="-" onclick="change_value()"/>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
170 <input type="button" name="up_fridge_difference" value="+" onclick="change_value()"/>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
171 </div>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
172
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
173 <div>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
174 <span class="existing">Overshoot factor<span id="existing_overshoot_factor">0.5</span></span>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
175 <br/>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
176 <input type="text" id="input_overshoot_factor" name="input_overshoot_factor" value="0.5"/>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
177 <input type="button" name="down_overshoot_factor" value="-" onclick="change_value()"/>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
178 <input type="button" class="onbutton" name="up_overshoot_factor" value="+" onclick="change_value()"/>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
179 </div>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
180
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
181 <div>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
182 <span class="existing">Overshoot delay<span id="existing_overshoot_delay">0.5</span></span>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
183 <br/>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
184 <input type="text" id="input_overshoot_delay" name="input_overshoot_delay" value="0.5"/>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
185 <input type="button" name="down_overshoot_delay" value="-"/>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
186 <input type="button" name="up_overshoot_delay" value="+"/>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
187 </div>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
188
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
189 <div>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
190 <input type="submit" name="go" value="Go"/>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
191 </div>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
192
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
193 </form>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
194 </body>
6d464ac4ba3c prototype
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
195 </html>