Compare commits

..

No commits in common. "main" and "1.4.12" have entirely different histories.
main ... 1.4.12

3 changed files with 2 additions and 25 deletions

View File

@ -1,5 +1,5 @@
[tool.bumpversion] [tool.bumpversion]
current_version = "1.4.13" current_version = "1.4.12"
commit = true commit = true
tag = true tag = true
tag_name = "{new_version}" tag_name = "{new_version}"

View File

@ -1 +1 @@
1.4.13 1.4.12

View File

@ -30,17 +30,6 @@
{% block content %} {% block content %}
<h1>Add Account</h1> <h1>Add Account</h1>
<div aria-live="polite" aria-atomic="true" class="position-fixed top-0 start-50 translate-middle-x w-75 p-3" style="z-index: 1050; margin-top: 20px;">
<div id="liveToast" class="toast hide bg-danger text-white" role="alert" aria-live="assertive" aria-atomic="true">
<div class="toast-header bg-danger text-white">
<strong class="me-auto">Account Error</strong>
<button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
</div>
<div class="toast-body">
{{ error }}
</div>
</div>
</div>
<div> <div>
<form action="/accounts/add" method="POST" onsubmit="showLoading()"> <form action="/accounts/add" method="POST" onsubmit="showLoading()">
<div class="form-group"> <div class="form-group">
@ -134,16 +123,4 @@
}); });
}); });
</script> </script>
{% if error %}
<script>
document.addEventListener("DOMContentLoaded", function() {
var toastEl = document.getElementById('liveToast');
var toast = new bootstrap.Toast(toastEl, {
autohide: true,
delay: 5000
});
toast.show();
});
</script>
{% endif %}
{% endblock %} {% endblock %}