semantic markup update

This commit is contained in:
2026-01-18 21:29:54 +03:00
parent 11c59fb420
commit 76baeb1038
85 changed files with 7020 additions and 5953 deletions

View File

@@ -25,6 +25,8 @@
// [DEF:handleSubmit:Function]
// @PURPOSE: Submits the connection form to the backend.
// @PRE: All required fields (name, host, database, username, password) must be filled.
// @POST: A new connection is created via the connection service and a success event is dispatched.
async function handleSubmit() {
if (!name || !host || !database || !username || !password) {
addToast('Please fill in all required fields', 'warning');
@@ -47,6 +49,11 @@
}
// [/DEF:handleSubmit:Function]
// [DEF:resetForm:Function]
/* @PURPOSE: Resets the connection form fields to their default values.
@PRE: None.
@POST: All form input variables are reset.
*/
function resetForm() {
name = '';
host = '';
@@ -55,6 +62,7 @@
username = '';
password = '';
}
// [/DEF:resetForm:Function]
</script>
<!-- [SECTION: TEMPLATE] -->