small fix
This commit is contained in:
parent
7f1600fd28
commit
3640730e81
2 changed files with 5 additions and 4 deletions
|
|
@ -65,9 +65,10 @@
|
||||||
|
|
||||||
<div id="amount" class="field">
|
<div id="amount" class="field">
|
||||||
<label for="input-amount" class="label">Amount</label>
|
<label for="input-amount" class="label">Amount</label>
|
||||||
<div class="control has-icons-left">
|
<div class="control has-icons-left has-icons-right">
|
||||||
<input id="input-amount" class="input" type="number" min="0.00" step="0.01" value="0.00" pattern="[0-9]+.[0-9]{2}" required>
|
<input id="input-amount" class="input" type="number" min="0.00" step="0.01" value="0.00" pattern="[0-9]+.[0-9]{2}" required>
|
||||||
<span class="icon is-small is-left"><b>€</b></span>
|
<span class="icon is-small is-left"><b>€</b></span>
|
||||||
|
<span class="icon is-small is-right"></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
@ -99,7 +100,7 @@
|
||||||
<footer class="footer navbar is-fixed-bottom">
|
<footer class="footer navbar is-fixed-bottom">
|
||||||
<div class="container has-text-centered">
|
<div class="container has-text-centered">
|
||||||
<p>
|
<p>
|
||||||
<strong>BezahlBrudi v1.0.2</strong> by <a href="https://xengi.de">XenGi</a>.
|
<strong>BezahlBrudi v1.0.3</strong> by <a href="https://xengi.de">XenGi</a>.
|
||||||
The source code is licensed <a href="https://opensource.org/license/mit">MIT</a>. Find the source code on <a href="https://gitlab.com/xengi/bezahlbrudi/">GitLab</a>.
|
The source code is licensed <a href="https://opensource.org/license/mit">MIT</a>. Find the source code on <a href="https://gitlab.com/xengi/bezahlbrudi/">GitLab</a>.
|
||||||
<br/>
|
<br/>
|
||||||
This site doesn't store any data outside your browser. This site doesn't provide any financial services. It is a simple QR code generator.
|
This site doesn't store any data outside your browser. This site doesn't provide any financial services. It is a simple QR code generator.
|
||||||
|
|
|
||||||
|
|
@ -96,12 +96,12 @@ validateIban = (target) => {
|
||||||
validateAmount = (target) => {
|
validateAmount = (target) => {
|
||||||
if (parseFloat(target.value) > 0) {
|
if (parseFloat(target.value) > 0) {
|
||||||
target.classList.remove("is-danger")
|
target.classList.remove("is-danger")
|
||||||
document.querySelector("#amount div span").innerHTML = "✅";
|
document.querySelector("#amount div span.is-right").innerHTML = "✅";
|
||||||
|
|
||||||
regenerate();
|
regenerate();
|
||||||
} else {
|
} else {
|
||||||
target.classList.add("is-danger")
|
target.classList.add("is-danger")
|
||||||
document.querySelector("#amount div span").innerHTML = "❌";
|
document.querySelector("#amount div span.is-right").innerHTML = "❌";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue