resolve lgtm alerts (#2764)

pull/2765/head
REJack 2020-06-01 21:49:17 +02:00 committed by GitHub
parent 0641a8442d
commit c8feb99dc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 23 additions and 23 deletions

View File

@ -1991,26 +1991,26 @@
<p class="mb-1">Radio Button Group with <code>.btn-secondary</code></p> <p class="mb-1">Radio Button Group with <code>.btn-secondary</code></p>
<div class="btn-group btn-group-toggle" data-toggle="buttons"> <div class="btn-group btn-group-toggle" data-toggle="buttons">
<label class="btn btn-secondary active"> <label class="btn btn-secondary active">
<input type="radio" name="options" id="option1" autocomplete="off" checked> Active <input type="radio" name="options" id="option_a1" autocomplete="off" checked> Active
</label> </label>
<label class="btn btn-secondary"> <label class="btn btn-secondary">
<input type="radio" name="options" id="option2" autocomplete="off"> Radio <input type="radio" name="options" id="option_a2" autocomplete="off"> Radio
</label> </label>
<label class="btn btn-secondary"> <label class="btn btn-secondary">
<input type="radio" name="options" id="option3" autocomplete="off"> Radio <input type="radio" name="options" id="option_a3" autocomplete="off"> Radio
</label> </label>
</div> </div>
<p class="mt-3 mb-1">Radio Button Group with <code>.bg-olive</code></p> <p class="mt-3 mb-1">Radio Button Group with <code>.bg-olive</code></p>
<div class="btn-group btn-group-toggle" data-toggle="buttons"> <div class="btn-group btn-group-toggle" data-toggle="buttons">
<label class="btn bg-olive active"> <label class="btn bg-olive active">
<input type="radio" name="options" id="option1" autocomplete="off" checked> Active <input type="radio" name="options" id="option_b1" autocomplete="off" checked> Active
</label> </label>
<label class="btn bg-olive"> <label class="btn bg-olive">
<input type="radio" name="options" id="option2" autocomplete="off"> Radio <input type="radio" name="options" id="option_b2" autocomplete="off"> Radio
</label> </label>
<label class="btn bg-olive"> <label class="btn bg-olive">
<input type="radio" name="options" id="option3" autocomplete="off"> Radio <input type="radio" name="options" id="option_b3" autocomplete="off"> Radio
</label> </label>
</div> </div>
</div> </div>

View File

@ -748,31 +748,31 @@
<h4>Available Colors</h4> <h4>Available Colors</h4>
<div class="btn-group btn-group-toggle" data-toggle="buttons"> <div class="btn-group btn-group-toggle" data-toggle="buttons">
<label class="btn btn-default text-center active"> <label class="btn btn-default text-center active">
<input type="radio" name="color_option" id="color_option1" autocomplete="off" checked> <input type="radio" name="color_option" id="color_option_a1" autocomplete="off" checked>
Green Green
<br> <br>
<i class="fas fa-circle fa-2x text-green"></i> <i class="fas fa-circle fa-2x text-green"></i>
</label> </label>
<label class="btn btn-default text-center"> <label class="btn btn-default text-center">
<input type="radio" name="color_option" id="color_option2" autocomplete="off"> <input type="radio" name="color_option" id="color_option_a2" autocomplete="off">
Blue Blue
<br> <br>
<i class="fas fa-circle fa-2x text-blue"></i> <i class="fas fa-circle fa-2x text-blue"></i>
</label> </label>
<label class="btn btn-default text-center"> <label class="btn btn-default text-center">
<input type="radio" name="color_option" id="color_option3" autocomplete="off"> <input type="radio" name="color_option" id="color_option_a3" autocomplete="off">
Purple Purple
<br> <br>
<i class="fas fa-circle fa-2x text-purple"></i> <i class="fas fa-circle fa-2x text-purple"></i>
</label> </label>
<label class="btn btn-default text-center"> <label class="btn btn-default text-center">
<input type="radio" name="color_option" id="color_option4" autocomplete="off"> <input type="radio" name="color_option" id="color_option_a4" autocomplete="off">
Red Red
<br> <br>
<i class="fas fa-circle fa-2x text-red"></i> <i class="fas fa-circle fa-2x text-red"></i>
</label> </label>
<label class="btn btn-default text-center"> <label class="btn btn-default text-center">
<input type="radio" name="color_option" id="color_option5" autocomplete="off"> <input type="radio" name="color_option" id="color_option_a5" autocomplete="off">
Orange Orange
<br> <br>
<i class="fas fa-circle fa-2x text-orange"></i> <i class="fas fa-circle fa-2x text-orange"></i>
@ -782,25 +782,25 @@
<h4 class="mt-3">Size <small>Please select one</small></h4> <h4 class="mt-3">Size <small>Please select one</small></h4>
<div class="btn-group btn-group-toggle" data-toggle="buttons"> <div class="btn-group btn-group-toggle" data-toggle="buttons">
<label class="btn btn-default text-center"> <label class="btn btn-default text-center">
<input type="radio" name="color_option" id="color_option1" autocomplete="off"> <input type="radio" name="color_option" id="color_option_b1" autocomplete="off">
<span class="text-xl">S</span> <span class="text-xl">S</span>
<br> <br>
Small Small
</label> </label>
<label class="btn btn-default text-center"> <label class="btn btn-default text-center">
<input type="radio" name="color_option" id="color_option1" autocomplete="off"> <input type="radio" name="color_option" id="color_option_b2" autocomplete="off">
<span class="text-xl">M</span> <span class="text-xl">M</span>
<br> <br>
Medium Medium
</label> </label>
<label class="btn btn-default text-center"> <label class="btn btn-default text-center">
<input type="radio" name="color_option" id="color_option1" autocomplete="off"> <input type="radio" name="color_option" id="color_option_b3" autocomplete="off">
<span class="text-xl">L</span> <span class="text-xl">L</span>
<br> <br>
Large Large
</label> </label>
<label class="btn btn-default text-center"> <label class="btn btn-default text-center">
<input type="radio" name="color_option" id="color_option1" autocomplete="off"> <input type="radio" name="color_option" id="color_option_b4" autocomplete="off">
<span class="text-xl">XL</span> <span class="text-xl">XL</span>
<br> <br>
Xtra-Large Xtra-Large
@ -818,12 +818,12 @@
<div class="mt-4"> <div class="mt-4">
<div class="btn btn-primary btn-lg btn-flat"> <div class="btn btn-primary btn-lg btn-flat">
<i class="fas fa-cart-plus fa-lg mr-2"></i> <i class="fas fa-cart-plus fa-lg mr-2"></i>
Add to Cart Add to Cart
</div> </div>
<div class="btn btn-default btn-lg btn-flat"> <div class="btn btn-default btn-lg btn-flat">
<i class="fas fa-heart fa-lg mr-2"></i> <i class="fas fa-heart fa-lg mr-2"></i>
Add to Wishlist Add to Wishlist
</div> </div>
</div> </div>

View File

@ -1052,7 +1052,7 @@
<label class="form-check-label">Checkbox disabled</label> <label class="form-check-label">Checkbox disabled</label>
</div> </div>
</div> </div>
</div> </div>
<div class="col-sm-6"> <div class="col-sm-6">
<!-- radio --> <!-- radio -->
<div class="form-group"> <div class="form-group">
@ -1157,7 +1157,7 @@
<label for="customCheckbox3" class="custom-control-label">Custom Checkbox disabled</label> <label for="customCheckbox3" class="custom-control-label">Custom Checkbox disabled</label>
</div> </div>
</div> </div>
</div> </div>
<div class="col-sm-6"> <div class="col-sm-6">
<!-- radio --> <!-- radio -->
<div class="form-group"> <div class="form-group">
@ -1256,12 +1256,12 @@
<input type="range" class="custom-range" id="customRange1"> <input type="range" class="custom-range" id="customRange1">
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="customRange1">Custom range (custom-range-danger)</label> <label for="customRange2">Custom range (custom-range-danger)</label>
<input type="range" class="custom-range custom-range-danger" id="customRange1"> <input type="range" class="custom-range custom-range-danger" id="customRange2">
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="customRange1">Custom range (custom-range-teal)</label> <label for="customRange3">Custom range (custom-range-teal)</label>
<input type="range" class="custom-range custom-range-teal" id="customRange1"> <input type="range" class="custom-range custom-range-teal" id="customRange3">
</div> </div>
<div class="form-group"> <div class="form-group">
<!-- <label for="customFile">Custom File</label> --> <!-- <label for="customFile">Custom File</label> -->