Add qrcode icon as prefix to barcode input

This commit is contained in:
Oliver Walters 2020-06-11 19:05:55 +10:00
parent 503d5a41b1
commit 3aecb110a5

View File

@ -56,7 +56,12 @@ function makeBarcodeInput(placeholderText='') {
<div class='form-group'>
<label class='control-label' for='barcode'>Barcode</label>
<div class='controls'>
<div class='input-group'>
<span class='input-group-addon'>
<span class='fas fa-qrcode'></span>
</span>
<input id='barcode' class='textinput textInput form-control' type='text' name='barcode' placeholder='${placeholderText}'>
</div>
<div id='hint_barcode_data' class='help-block'>Enter barcode data</div>
</div>
</div>