move insertRadio0
This commit is contained in:
		| @ -65,8 +65,7 @@ window.onload = function() { | |||||||
|         box.neighbourhood = Array.from(box.neighbourhood) |         box.neighbourhood = Array.from(box.neighbourhood) | ||||||
|     }) |     }) | ||||||
|  |  | ||||||
|     insertRadios = Array.from(insertRadioGroup.getElementsByTagName("input")) |     insertRadios = Array.from(insertRadioGroup.getElementsByTagName("input")).slice(1) | ||||||
|     insertRadios.pop() |  | ||||||
|  |  | ||||||
|     for (label of document.getElementsByTagName("label")) { |     for (label of document.getElementsByTagName("label")) { | ||||||
|         label.control.label = label |         label.control.label = label | ||||||
|  | |||||||
| @ -78,15 +78,15 @@ | |||||||
|         </form> |         </form> | ||||||
|         <div class='d-flex mb-2'> |         <div class='d-flex mb-2'> | ||||||
|             <div id='insertRadioGroup' class='radioGroup btn-group flex-fill'> |             <div id='insertRadioGroup' class='radioGroup btn-group flex-fill'> | ||||||
|  |                 <input type='radio'class='btn-check' id='insertRadio0' value='' name='insertRadioGroup' onclick='insert(this)' accesskey='0' checked /> | ||||||
|  |                 <label for='insertRadio0' class='btn btn-primary' title='Clavier'> | ||||||
|  |                     <i class="ri-input-cursor-move"></i> | ||||||
|  |                 </label> | ||||||
|                 <?php |                 <?php | ||||||
|         for($value=1; $value<=9; $value++) { |         for($value=1; $value<=9; $value++) { | ||||||
|             echo "                <input type='radio'class='btn-check' id='insertRadio$value' value='$value' name='insertRadioGroup' onclick='insert(this)' accesskey='$value' disabled /><label for='insertRadio$value' class='btn btn-primary' title='Insérer un $value'>$value</label>\n"; |             echo "                <input type='radio'class='btn-check' id='insertRadio$value' value='$value' name='insertRadioGroup' onclick='insert(this)' accesskey='$value' disabled /><label for='insertRadio$value' class='btn btn-primary' title='Insérer un $value'>$value</label>\n"; | ||||||
|         } |         } | ||||||
| ?> | ?> | ||||||
|                 <input type='radio'class='btn-check' id='insertRadio0' value='' name='insertRadioGroup' onclick='insert(this)' accesskey='0' checked /> |  | ||||||
|                 <label for='insertRadio0' class='btn btn-primary' title='Clavier'> |  | ||||||
|                     <i class="ri-input-cursor-move"></i> |  | ||||||
|                 </label> |  | ||||||
|             </div> |             </div> | ||||||
|         </div> |         </div> | ||||||
|         <div class='mb-3'> |         <div class='mb-3'> | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user