fix: tie label and buttons for switching tree

Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
Matej Focko 2022-05-17 17:37:15 +02:00
parent f3da4bae3e
commit 948f47de3b
Signed by: mfocko
GPG key ID: 7C47D46246790496

View file

@ -77,6 +77,8 @@
</form> </form>
</div> </div>
<div class="col-auto">
<div class="row">
<h4 class="col-auto">Choose a tree:</h4> <h4 class="col-auto">Choose a tree:</h4>
<div class="btn-group col-auto" role="group"> <div class="btn-group col-auto" role="group">
<input <input
@ -98,7 +100,9 @@
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"
@ -108,7 +112,11 @@
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>