annotate web/views/button1.htm @ 181:1731a27bcdd2

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