Merge pull request #730 from mjaschen/fix/remove-text-artifacts-qrcode-error
Hide legend for QR Code size toggle when QR Code cannot be rendered
This commit is contained in:
commit
7acdd864f2
1 changed files with 6 additions and 11 deletions
17
index.html
17
index.html
|
|
@ -653,7 +653,7 @@
|
||||||
|
|
||||||
<p class="alert alert-danger hide" id="qrcode-msg-too-long" data-i18n="qrcode.msg-too-long">
|
<p class="alert alert-danger hide" id="qrcode-msg-too-long" data-i18n="qrcode.msg-too-long">
|
||||||
Cannot create QR Code: Route definition is too long. Removing some waypoints may help fit
|
Cannot create QR Code: Route definition is too long. Removing some waypoints may help fit
|
||||||
all data into the QRCode.
|
all data into the QR Code.
|
||||||
</p>
|
</p>
|
||||||
<p
|
<p
|
||||||
class="alert alert-danger hide"
|
class="alert alert-danger hide"
|
||||||
|
|
@ -661,17 +661,12 @@
|
||||||
data-i18n="qrcode.msg-unknown-error"
|
data-i18n="qrcode.msg-unknown-error"
|
||||||
>
|
>
|
||||||
Cannot create QR Code: An unknown error occurred. See the browser console for details. Maybe
|
Cannot create QR Code: An unknown error occurred. See the browser console for details. Maybe
|
||||||
the route definition is too long. Removing some waypoints may help fit all data into the
|
the route definition is too long. Removing some waypoints may help fit all data into the QR
|
||||||
QRCode.
|
Code.
|
||||||
</p>
|
</p>
|
||||||
<div>
|
<div id="qrcode-buttons">
|
||||||
<div class="pull-left mr-2"><small>QR Code Size:</small></div>
|
<div class="mt-2"><small>QR Code Size:</small></div>
|
||||||
<div
|
<div class="btn-group btn-group-xs" role="group" aria-label="Change size of QR Code">
|
||||||
id="qrcode-buttons"
|
|
||||||
class="btn-group btn-group-xs"
|
|
||||||
role="group"
|
|
||||||
aria-label="Change size of QR Code"
|
|
||||||
>
|
|
||||||
<button
|
<button
|
||||||
class="btn btn-secondary qrcode-size-button"
|
class="btn btn-secondary qrcode-size-button"
|
||||||
id="qrcode-create-small"
|
id="qrcode-create-small"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue