Commit bbf00f27 by Jorem Magcawas

recent feedback changes

parent d957e5b3
......@@ -30,7 +30,7 @@
</head>
<script>
if(sessionStorage.getItem('user_id') === null ) {
if (sessionStorage.getItem('user_id') === null) {
window.location.href = "./login.html";
} else {
fetchConfig();
......@@ -71,7 +71,8 @@
<button id='pause'>Pause</button>
</div>
<form id='fields' style="display: flex; flex-direction:column;" onsubmit="submitForm(event);return false"></form>
<form id='fields' autocomplete="off" style="display: flex; flex-direction:column;"
onsubmit="submitForm(event);return false"></form>
<div id="counter"></div>
</aside>
<!-- Embed viewer -->
......@@ -148,6 +149,6 @@
</script>
<script src="./src/endSession/endSession.js"></script>
<script src="./src/tiffViewer/tiffViewer.js"></script>
<script src="./src/highlight/highlight.js"></script>
<!-- <script src="./src/highlight/highlight.js"></script> disble highlight-->
</html>
\ No newline at end of file
record_no,filename,speed,eoe_timestamp,avg_speed
1,0001SVI_0005.tif,5817.8106659862215,10/5/2022 8:45:10 AM,5817.8106659862215
2,0001SVI_0004.tif,5461.165048543689,10/5/2022 8:45:22 AM,5639.487857264956
3,0001SVI_0006.tif,7064.017660044151,10/5/2022 8:45:37 AM,6114.331124858021
4,0001SVI_0007.tif,8726.459071415251,10/5/2022 8:45:50 AM,6767.363111497329
5,0001SVI_0008.tif,2627.6093620748384,10/5/2022 8:46:12 AM,5939.412361612831
6,0001SVI_0009.tif,198.992214982345,10/5/2022 8:53:46 AM,4982.67567050775
7,0001SVI_0019.tif,5804.579168010318,10/5/2022 8:53:57 AM,5100.09045586526
8,0001SVI_0022.tif,292.5877763328999,10/5/2022 8:58:33 AM,4499.1526209237145
9,0001SVI_0025.tif,6424.399740428294,10/5/2022 8:58:51 AM,4713.068967535334
\ No newline at end of file
1,0001SVI_0004.tif,993.2382007734232,10/5/2022 3:07:22 PM,993.2382007734232
\ No newline at end of file
......@@ -98,6 +98,10 @@ const displayFields = async (parentID) => {
});
dropdowns.on('select2:close', handleDropdown)
})
// upon enbaling highligh.js moved to highlight.js file
$(document).ready(function () {
$('form:first *:input[type!=hidden]:first').focus(); // Run code
});
} catch(err) {
console.log(err)
......@@ -143,7 +147,7 @@ const inputString = (key, validation) => {
const input = document.createElement('input')
input.setAttribute('id', `${key}`)
input.setAttribute('type', 'text')
input.setAttribute('autocomplete', 'on')
input.setAttribute('autocomplete', 'off')
input.addEventListener('focusout', handleInput)
fieldLength ? input.setAttribute('maxLength', `${fieldLength}`) : null
......@@ -172,7 +176,7 @@ const inputNumeric = (key, validation) => {
const input = document.createElement('input')
input.setAttribute('id', `${key}`)
input.setAttribute('type', 'text')
input.setAttribute('autocomplete', 'on')
input.setAttribute('autocomplete', 'off')
input.setAttribute('pattern', '[0-9/-]+')
input.addEventListener('focusout', handleInput)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment