Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
web-ui
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
WEBGDE-Components
web-ui
Commits
bbf00f27
Commit
bbf00f27
authored
Oct 06, 2022
by
Jorem Magcawas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
recent feedback changes
parent
d957e5b3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
15 deletions
+13
-15
index.html
Web-GDE/index.html
+5
-3
demo_Metrics_20221005.csv
Web-GDE/metrics/demo_Metrics_20221005.csv
+2
-10
getFields.js
Web-GDE/src/getFields/getFields.js
+6
-2
No files found.
Web-GDE/index.html
View file @
bbf00f27
...
...
@@ -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
Web-GDE/metrics/demo_Metrics_20221005.csv
View file @
bbf00f27
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
Web-GDE/src/getFields/getFields.js
View file @
bbf00f27
...
...
@@ -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'
,
'o
n
'
)
input
.
setAttribute
(
'autocomplete'
,
'o
ff
'
)
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'
,
'o
n
'
)
input
.
setAttribute
(
'autocomplete'
,
'o
ff
'
)
input
.
setAttribute
(
'pattern'
,
'[0-9/-]+'
)
input
.
addEventListener
(
'focusout'
,
handleInput
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment