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>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h4 class="col-auto">Choose a tree:</h4>
|
<div class="col-auto">
|
||||||
<div class="btn-group col-auto" role="group">
|
<div class="row">
|
||||||
<input
|
<h4 class="col-auto">Choose a tree:</h4>
|
||||||
type="radio"
|
<div class="btn-group col-auto" role="group">
|
||||||
class="btn-check"
|
<input
|
||||||
name="treeSelection"
|
type="radio"
|
||||||
id="avlTreeBtn"
|
class="btn-check"
|
||||||
autocomplete="off"
|
name="treeSelection"
|
||||||
onclick="switchTree(AVLTree)"
|
id="avlTreeBtn"
|
||||||
/>
|
autocomplete="off"
|
||||||
<label class="btn btn-outline-primary" for="avlTreeBtn">AVL</label>
|
onclick="switchTree(AVLTree)"
|
||||||
|
/>
|
||||||
|
<label class="btn btn-outline-primary" for="avlTreeBtn">AVL</label>
|
||||||
|
|
||||||
<input
|
<input
|
||||||
type="radio"
|
type="radio"
|
||||||
class="btn-check"
|
class="btn-check"
|
||||||
name="treeSelection"
|
name="treeSelection"
|
||||||
id="wavlTreeBtn"
|
id="wavlTreeBtn"
|
||||||
checked
|
checked
|
||||||
autocomplete="off"
|
autocomplete="off"
|
||||||
onclick="switchTree(WAVLTree)"
|
onclick="switchTree(WAVLTree)"
|
||||||
/>
|
/>
|
||||||
<label class="btn btn-outline-primary" for="wavlTreeBtn">WAVL</label>
|
<label class="btn btn-outline-primary" for="wavlTreeBtn"
|
||||||
|
>WAVL</label
|
||||||
|
>
|
||||||
|
|
||||||
<input
|
<input
|
||||||
type="radio"
|
type="radio"
|
||||||
class="btn-check"
|
class="btn-check"
|
||||||
name="treeSelection"
|
name="treeSelection"
|
||||||
id="ravlTreeBtn"
|
id="ravlTreeBtn"
|
||||||
autocomplete="off"
|
autocomplete="off"
|
||||||
onclick="switchTree(RAVLTree)"
|
onclick="switchTree(RAVLTree)"
|
||||||
/>
|
/>
|
||||||
<label class="btn btn-outline-primary" for="ravlTreeBtn">rAVL</label>
|
<label class="btn btn-outline-primary" for="ravlTreeBtn"
|
||||||
|
>rAVL</label
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue