fix: tie label and buttons for switching tree
Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
parent
f3da4bae3e
commit
948f47de3b
1 changed files with 38 additions and 30 deletions
68
index.html
68
index.html
|
@ -77,38 +77,46 @@
|
|||
</form>
|
||||
</div>
|
||||
|
||||
<h4 class="col-auto">Choose a tree:</h4>
|
||||
<div class="btn-group col-auto" role="group">
|
||||
<input
|
||||
type="radio"
|
||||
class="btn-check"
|
||||
name="treeSelection"
|
||||
id="avlTreeBtn"
|
||||
autocomplete="off"
|
||||
onclick="switchTree(AVLTree)"
|
||||
/>
|
||||
<label class="btn btn-outline-primary" for="avlTreeBtn">AVL</label>
|
||||
<div class="col-auto">
|
||||
<div class="row">
|
||||
<h4 class="col-auto">Choose a tree:</h4>
|
||||
<div class="btn-group col-auto" role="group">
|
||||
<input
|
||||
type="radio"
|
||||
class="btn-check"
|
||||
name="treeSelection"
|
||||
id="avlTreeBtn"
|
||||
autocomplete="off"
|
||||
onclick="switchTree(AVLTree)"
|
||||
/>
|
||||
<label class="btn btn-outline-primary" for="avlTreeBtn">AVL</label>
|
||||
|
||||
<input
|
||||
type="radio"
|
||||
class="btn-check"
|
||||
name="treeSelection"
|
||||
id="wavlTreeBtn"
|
||||
checked
|
||||
autocomplete="off"
|
||||
onclick="switchTree(WAVLTree)"
|
||||
/>
|
||||
<label class="btn btn-outline-primary" for="wavlTreeBtn">WAVL</label>
|
||||
<input
|
||||
type="radio"
|
||||
class="btn-check"
|
||||
name="treeSelection"
|
||||
id="wavlTreeBtn"
|
||||
checked
|
||||
autocomplete="off"
|
||||
onclick="switchTree(WAVLTree)"
|
||||
/>
|
||||
<label class="btn btn-outline-primary" for="wavlTreeBtn"
|
||||
>WAVL</label
|
||||
>
|
||||
|
||||
<input
|
||||
type="radio"
|
||||
class="btn-check"
|
||||
name="treeSelection"
|
||||
id="ravlTreeBtn"
|
||||
autocomplete="off"
|
||||
onclick="switchTree(RAVLTree)"
|
||||
/>
|
||||
<label class="btn btn-outline-primary" for="ravlTreeBtn">rAVL</label>
|
||||
<input
|
||||
type="radio"
|
||||
class="btn-check"
|
||||
name="treeSelection"
|
||||
id="ravlTreeBtn"
|
||||
autocomplete="off"
|
||||
onclick="switchTree(RAVLTree)"
|
||||
/>
|
||||
<label class="btn btn-outline-primary" for="ravlTreeBtn"
|
||||
>rAVL</label
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue