Răsfoiți Sursa

Merge pull request #456 from mad2xlc/master

tabindex to html
jomjol 4 ani în urmă
părinte
comite
4136a7b372
2 a modificat fișierele cu 14 adăugiri și 14 ștergeri
  1. 7 7
      sd-card/html/edit_analog.html
  2. 7 7
      sd-card/html/edit_digits.html

+ 7 - 7
sd-card/html/edit_analog.html

@@ -100,7 +100,7 @@ th, td {
 	  </tr>
 	  </tr>
 	  <tr>
 	  <tr>
 		<td>
 		<td>
-			<select id="index" name="index" onchange="ChangeSelection()">
+			<select id="index" name="index" onchange="ChangeSelection()" tabindex=1>
 			  <option value="0" selected>ROI 0</option>
 			  <option value="0" selected>ROI 0</option>
 			  <option value="1" >ROI 1</option>
 			  <option value="1" >ROI 1</option>
             </select>
             </select>
@@ -114,20 +114,20 @@ th, td {
 		</td>	
 		</td>	
 	  </tr>
 	  </tr>
 	  <tr>
 	  <tr>
-        <td>x: <input type="number" name="refx" id="refx" step=1 onchange="valuemanualchanged()"></td>	  
-		<td>dx: <input type="number" name="refdx" id="refdx" step=1 onchange="valuemanualchangeddx()"></td>
-		<td rowspan="2"><label for="lockAR"> Lock aspect ratio: </label><input type="checkbox" id="lockAR" name="lockAR" value="1" onclick="changelockAR()" checked></td>
+        <td>x: <input type="number" name="refx" id="refx" step=1 onchange="valuemanualchanged()" tabindex=2></td>	  
+		<td>dx: <input type="number" name="refdx" id="refdx" step=1 onchange="valuemanualchangeddx()" tabindex=4></td>
+		<td rowspan="2"><label for="lockAR"> Lock aspect ratio: </label><input type="checkbox" id="lockAR" name="lockAR" value="1" onclick="changelockAR()" checked tabindex=6></td>
 	  </tr>
 	  </tr>
 	  <tr>
 	  <tr>
-		<td>y: <input type="number" name="refy" id="refy" step=1 onchange="valuemanualchanged()"></td>	
-		<td>dy: <input type="number" name="refdy" id="refdy" step=1 onchange="valuemanualchanged()"></td>
+		<td>y: <input type="number" name="refy" id="refy" step=1 onchange="valuemanualchanged()" tabindex=3></td>	
+		<td>dy: <input type="number" name="refdy" id="refdy" step=1 onchange="valuemanualchanged()" tabindex=5></td>
 	  </tr>
 	  </tr>
 	</table>			 
 	</table>			 
 </div>	 
 </div>	 
 
 
 	<table>
 	<table>
 	  <tr>
 	  <tr>
-		<td><input class="button" type="submit" id="saveroi" name="saveroi" onclick="SaveToConfig()" value="Save all to Config.ini"></td>
+		<td><input class="button" type="submit" id="saveroi" name="saveroi" onclick="SaveToConfig()" value="Save all to Config.ini" tabindex=7></td>
 	  </tr>  
 	  </tr>  
     </table>	
     </table>	
 
 

+ 7 - 7
sd-card/html/edit_digits.html

@@ -91,7 +91,7 @@ th, td {
 	  </tr>
 	  </tr>
 	  <tr>
 	  <tr>
 		<td>
 		<td>
-			<select id="index" name="index" onchange="ChangeSelection()">
+			<select id="index" name="index" onchange="ChangeSelection()" tabindex=1>
 			  <option value="0" selected>ROI 0</option>
 			  <option value="0" selected>ROI 0</option>
 			  <option value="1" >ROI 1</option>
 			  <option value="1" >ROI 1</option>
 			</select>
 			</select>
@@ -104,13 +104,13 @@ th, td {
 		</td>	
 		</td>	
 	  </tr>
 	  </tr>
 	  <tr>
 	  <tr>
-        <td>x: <input type="number" name="refx" id="refx" step=1 onchange="valuemanualchanged()"></td>	  
-		<td>dx: <input type="number" name="refdx" id="refdx" step=1 onchange="valuemanualchangeddx()"></td>
-		<td rowspan="2"><label for="lockAR"> Lock aspect ratio </label><input type="checkbox" id="lockAR" name="lockAR" value="1" onclick="changelockAR()" checked></td>
+        <td>x: <input type="number" name="refx" id="refx" step=1 onchange="valuemanualchanged()" tabindex=2></td>	  
+		<td>dx: <input type="number" name="refdx" id="refdx" step=1 onchange="valuemanualchangeddx()" tabindex=4></td>
+		<td rowspan="2"><label for="lockAR"> Lock aspect ratio </label><input type="checkbox" id="lockAR" name="lockAR" value="1" onclick="changelockAR()" checked tabindex=6> </td>
 	  </tr>
 	  </tr>
 	  <tr>
 	  <tr>
-		<td>y: <input type="number" name="refy" id="refy" step=1 onchange="valuemanualchanged()"></td>	
-		<td>dy: <input type="number" name="refdy" id="refdy" step=1 onchange="valuemanualchanged()"></td>
+		<td>y: <input type="number" name="refy" id="refy" step=1 onchange="valuemanualchanged()" tabindex=3></td>	
+		<td>dy: <input type="number" name="refdy" id="refdy" step=1 onchange="valuemanualchanged()" tabindex=5></td>
 	  </tr>
 	  </tr>
     </table>	
     </table>	
     
     
@@ -118,7 +118,7 @@ th, td {
 			 
 			 
 	<table>
 	<table>
 	  <tr>
 	  <tr>
-		<td><input class="button" type="submit" id="saveroi" name="saveroi" onclick="SaveToConfig()" value="Save all to Config.ini"></td>
+		<td><input class="button" type="submit" id="saveroi" name="saveroi" onclick="SaveToConfig()" value="Save all to Config.ini" tabindex=7></td>
 	  </tr>  
 	  </tr>  
 	</table>
 	</table>