mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
templates: Disable button and show spinner on submit for all forms
Tests performed: - Submit a form and notice that button has a spinner soon after click. - Select a from like Gitweb repository creation form and submit it. After submit go back to previous form using back button. Notice that button has been restored to proper state. - Without filling valid information the form, press submit. Notice that the button does not change to a spinner. - Check installing an app, snapshots management, network forms, wireguard forms, etc. - Test on Firefox and Chromium. - Test with LibreJS that the script is accepted as valid free software license. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
1 parent
994a7a1d4b
commit
ff84d3f97e
3 files changed
+106
No files matched your search
@@ -62,6 +62,9 @@
|
||||
<script type="text/javascript" src="{% static '/javascript/jquery/jquery.min.js' %}"></script>
|
||||
<!-- Local link to system Bootstrap JS -->
|
||||
<script type="text/javascript" src="{% static '/javascript/bootstrap/js/bootstrap.min.js' %}" defer></script>
|
||||
|
||||
<script type="text/javascript" src="{% static 'theme/js/main.js' %}" defer></script>
|
||||
|
||||
{% block app_head %}<!-- placeholder for app/module-specific head files -->{% endblock %}
|
||||
{% block page_head %}<!-- placeholder for page-specific head files -->{% endblock %}
|
||||
</head>
|
||||
|
||||
Reference in new issue
Block a user