make forms responsive. some accessibility fixes, fix panic in list viewer

This commit is contained in:
2018-08-13 22:02:07 +02:00
parent 5a36b3a843
commit f6bb683cc9
4 changed files with 22 additions and 4 deletions

View File

@@ -103,6 +103,11 @@
resultDiv.innerHTML = resultHtml;
}
// On small screens the whole form won't fit on the screen,
// so we need to scroll up to show the user the result of
// the form submission
window.scrollTo(0, 0);
console.log(response);
}
}

View File

@@ -8,6 +8,11 @@
</p>
<h3>Parameters</h3>
<p>
The form parameters <b>must</b> be sent in the order displayed below
for the realtime error checking to work. If 'name' comes after
'file' it will be ignored.
</p>
<table>
<tr>
<td>Param</td>