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
277650f2
Commit
277650f2
authored
Nov 24, 2023
by
Owen Ryan Ang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
encoding screen changes
parent
4e27d660
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
651 additions
and
76 deletions
+651
-76
DataInputWidget.css
...ontent/WebGde-Widgets/DataInputWidget/DataInputWidget.css
+342
-0
config.js
WebGde/WebContent/WebGde-Widgets/DataInputWidget/config.js
+2
-1
generateFields.js
...bContent/WebGde-Widgets/DataInputWidget/generateFields.js
+17
-4
ElementListWidget.css
...nt/WebGde-Widgets/ElementListWidget/ElementListWidget.css
+2
-2
LoadingModal.js
...de/WebContent/WebGde-Widgets/LoadingModal/LoadingModal.js
+1
-2
LoadingModalStyle.css
...Content/WebGde-Widgets/LoadingModal/LoadingModalStyle.css
+238
-18
LoginStyle.css
WebGde/WebContent/WebGde-Widgets/LogInWidget/LoginStyle.css
+4
-3
dev_schema.json
...e/WebContent/WebGde-Widgets/sample_schema/dev_schema.json
+39
-31
index.html
WebGde/WebContent/index.html
+4
-2
startup.js
WebGde/WebContent/startup.js
+2
-1
style.css
WebGde/WebContent/style.css
+0
-12
No files found.
WebGde/WebContent/WebGde-Widgets/DataInputWidget/DataInputWidget.css
0 → 100644
View file @
277650f2
@font-face
{
font-family
:
'Open Sans'
;
src
:
url('https://fonts.gstatic.com/s/opensans/v18/mem8YaGs126MiZpBA-UFWJ0bbck.woff2')
format
(
'woff2'
);
/* Add additional sources or font formats for better compatibility */
font-weight
:
normal
;
font-style
:
normal
;
}
html
,
body
{
min-height
:
100vh
;
height
:
100%
;
margin
:
0
;
background-color
:
#C7DFEB
;
background-repeat
:
no-repeat
;
background-attachment
:
fixed
;
background-size
:
cover
;
overflow-y
:
hidden
;
}
*
{
-webkit-font-smoothing
:
auto
;
font-size
:
14px
;
letter-spacing
:
0.1em
;
text-rendering
:
optimizeLegibility
;
font-weight
:
normal
;
font-family
:
Open
Sans
,
sans-serif
;
font-style
:
normal
;
}
h1
{
display
:
none
;
}
h2
{
display
:
none
;
}
h3
{
display
:
none
;
}
.web-gde-container
{
width
:
100vw
;
height
:
100vh
;
}
#imageViewerContainer
{
display
:
none
;
}
.sidebar
{
position
:
absolute
;
right
:
0
;
display
:
flex
;
flex-direction
:
column
;
height
:
100%
;
width
:
100%
;
background-color
:
#C7DFEB
;
}
.remove-button
{
display
:
inline-block
;
padding
:
2px
6px
;
background-color
:
red
;
color
:
white
;
font-size
:
16px
;
cursor
:
pointer
;
border-radius
:
50%
;
margin-left
:
5px
;
}
#input-field-container
{
height
:
100%
;
width
:
100%
;
display
:
flex
;
flex-direction
:
column
;
overflow
:
auto
;
background-color
:
#C7DFEB
;
justify-content
:
space-between
;
}
.dash
{
display
:
unset
;
align-self
:
center
;
padding
:
6px
;
}
.fieldContainer
{
/* layout config */
display
:
flex
;
flex-direction
:
column
;
border
:
none
;
outline
:
none
;
padding
:
0px
4px
20px
4px
;
flex-wrap
:
nowrap
;
}
#fields
*
:not
([
type
=
submit
])
:focus
{
background-color
:
yellow
;
}
.image-capture
,
.fingerprint-capture
,
.file-upload
{
display
:
flex
;
flex-direction
:
column
;
width
:
100%
;
padding
:
20px
;
border-radius
:
2px
;
border-style
:
none
;
cursor
:
pointer
;
align-items
:
center
;
}
#fields
{
/* margin-left: 17px;
margin-right: 17px; */
padding
:
18px
;
/* border-radius: 15px; */
background-color
:
#C7DFEB
;
overflow-y
:
auto
;
display
:
flex
;
flex-direction
:
column
;
flex
:
unset
;
max-height
:
100vh
;
border-style
:
solid
;
border-width
:
thin
;
border-color
:
#446397
;
}
#fields
>
div
{
background-color
:
#C7DFEB
;
border
:
none
;
}
.submitButtons
{
font-weight
:
600
;
display
:
block
;
margin
:
auto
;
font-size
:
13px
;
width
:
93px
;
margin-top
:
10px
;
margin-bottom
:
15px
;
cursor
:
pointer
;
background-color
:
white
;
padding
:
10px
;
width
:
100%
;
border-radius
:
5px
;
outline
:
none
;
border
:
none
;
font-size
:
16px
;
box-shadow
:
0px
0px
12px
0px
rgba
(
0
,
0
,
0
,
0.54
);
-webkit-box-shadow
:
0px
0px
12px
0px
rgba
(
0
,
0
,
0
,
0.54
);
-moz-box-shadow
:
0px
0px
12px
0px
rgba
(
0
,
0
,
0
,
0.54
);
}
@media
only
screen
and
(
max-width
:
530px
)
{
.date-range
{
display
:
flex
;
flex-direction
:
column
;
justify-content
:
space-between
;
/* padding: 20px 0px 20px 0px; */
/* border-style: solid;
border-width: thin;
border-color: gray;
background-color:#e7e7e7;
*/
}
}
.dash
{
display
:
unset
;
align-self
:
center
;
padding
:
6px
;
}
.date-range
{
display
:
flex
;
justify-content
:
space-between
;
}
.dateContainer
{
width
:
100%
;
}
label
{
font-size
:
16px
;
font-weight
:
700
;
}
.captureButtons
{
display
:
inline-block
;
width
:
100%
;
overflow-x
:
clip
;
flex-wrap
:
nowrap
;
flex-grow
:
1
;
border-radius
:
2px
;
background-color
:
white
;
border-style
:
solid
;
border-width
:
0.1cm
;
border-color
:
#d4d2d2
;
}
.labelContainer
{
width
:
100%
;
padding
:
2px
;
margin-top
:
5px
;
}
.inputContainer
{
display
:
inline-block
;
width
:
100%
;
overflow-x
:
clip
;
flex-wrap
:
nowrap
;
flex-grow
:
1
;
border-radius
:
8px
;
padding
:
1px
;
}
.input-invalid
{
border-color
:
#ff3333
!important
;
border-style
:
solid
;
border-radius
:
8px
;
}
.input-valid
{
/* border-color: #000000 !important; */
border-style
:
none
;
border-radius
:
8px
;
}
input
:focus
,
textarea
:focus
{
background-color
:
yellow
;
border
:
0px
;
border-radius
:
8px
;
}
input
[
type
=
text
],
input
[
type
=
date
],
input
[
type
=
time
]
{
width
:
100%
;
/* height: 25px; */
padding
:
11px
16px
;
border-style
:
none
;
border-radius
:
8px
;
}
input
[
type
=
checkbox
],
input
[
type
=
radio
]
{
width
:
20px
;
height
:
20px
;
margin-right
:
15px
;
margin-top
:
1px
;
}
.radio-like-checkbox
{
display
:
flex
;
padding
:
3px
;
}
.checkbox
{
display
:
flex
;
padding
:
3px
;
}
input
[
type
=
file
]
::file-selector-button
{
padding
:
5px
10px
5px
10px
;
border-radius
:
2px
;
border
:
none
;
outline
:
none
;
background-color
:
#00a8c0
;
color
:
white
;
}
input
[
type
=
file
]
{
width
:
100%
;
padding
:
5px
;
}
input
[
type
=
file
]
:hover
{
background-color
:
#cecccc
;
z-index
:
1
;
}
input
[
type
=
button
]
{
width
:
100%
;
padding
:
5px
;
margin
:
unset
;
border
:
none
;
outline
:
none
;
border-radius
:
2px
;
background-color
:
#00a8c0
;
color
:
white
;
}
.dropdown-content
{
padding
:
10px
;
border-style
:
none
;
}
select
{
width
:
100%
;
border-style
:
none
;
border-radius
:
8px
;
background-color
:
white
;
padding
:
11px
16px
;
color
:
#444
;
}
.select2-selection--single
{
border-style
:
none
!important
;
border-radius
:
8px
!important
;
height
:
auto
!important
;
padding
:
11px
16px
!important
;
}
.select2-selection__rendered
{
line-height
:
normal
!important
;
padding
:
0px
!important
;
}
.select2-selection__arrow
{
top
:
50%
!important
;
right
:
10px
!important
;
transform
:
translateY
(
-50%
)
!important
;
}
.select2-selection__arrow
b
{
border-left
:
5.175px
solid
transparent
!important
;
border-right
:
5.175px
solid
transparent
!important
;
border-top
:
6px
solid
#000
!important
;
}
textarea
{
resize
:
none
;
padding
:
20px
;
}
#text-area
{
width
:
91%
;
font-size
:
11px
;
padding
:
9px
9px
;
margin-left
:
15px
;
margin-top
:
5px
;
margin-bottom
:
5px
;
height
:
103px
;
}
\ No newline at end of file
WebGde/WebContent/WebGde-Widgets/DataInputWidget/config.js
View file @
277650f2
//Data Input Field Config
export
var
SCHEMA_FILE_PATH
=
"./WebGde-Widgets/sample_schema/
Navotas 2
.json"
;
export
var
SCHEMA_FILE_PATH
=
"./WebGde-Widgets/sample_schema/
dev_schema
.json"
;
//DBLookup Webservice URL
export
var
DB_URL
=
"http://localhost:8080/WebGde/svc/gfs-rest/db-lookup"
\ No newline at end of file
WebGde/WebContent/WebGde-Widgets/DataInputWidget/generateFields.js
View file @
277650f2
...
...
@@ -188,20 +188,33 @@ export async function generateFields(inputSchema, containerId) {
// add handler event handler for dropdown
// separate handler is used to fit with the library used 'select2'
$
(
document
.
body
).
ready
(
function
()
{
$
(
document
.
body
).
ready
(
function
()
{
// Initialize Select2
const
dropdowns
=
$
(
'.dropdown-input'
).
select2
();
// Remove the first two elements from the dropdowns array
dropdowns
.
splice
(
0
,
2
);
// Attach event handlers
$
(
'.dropdown-input'
).
select2
().
on
(
'select2:open'
,
()
=>
{
// Focus on the search field when the dropdown is opened
document
.
querySelector
(
'.select2-search__field'
).
focus
();
// Set the background color to yellow
document
.
querySelector
(
'.select2-container--open'
).
firstChild
.
firstChild
.
style
.
backgroundColor
=
'yellow'
;
});
$
(
'.dropdown-input'
).
select2
().
on
(
'select2:close'
,
()
=>
{
if
(
document
.
querySelector
(
'.select2-container--focus'
)
!=
null
)
{
// Reset the background color when the dropdown is closed
if
(
document
.
querySelector
(
'.select2-container--focus'
)
!==
null
)
{
document
.
querySelector
(
'.select2-container--focus'
).
firstChild
.
firstChild
.
style
.
backgroundColor
=
''
;
}
});
dropdowns
.
on
(
'select2:close'
,
handleDropdown
)
// Attach event handler to the remaining dropdowns
dropdowns
.
on
(
'select2:close'
,
handleDropdown
);
});
$
(
document
).
ready
(
function
()
{
...
...
WebGde/WebContent/WebGde-Widgets/ElementListWidget/ElementListWidget.css
View file @
277650f2
...
...
@@ -3,7 +3,7 @@
margin
:
0
;
padding
:
0
;
box-sizing
:
border-box
;
font-family
:
'Arial'
,
sans-serif
;
/* font-family: 'Arial', sans-serif; */
}
html
,
...
...
@@ -11,7 +11,7 @@ body {
min-height
:
100vh
;
height
:
100%
;
margin
:
0
;
background-
image
:
linear-gradient
(
to
bottom
,
#23569f
,
#00a8c0
)
;
background-
color
:
#C7DFEB
;
background-repeat
:
no-repeat
;
background-attachment
:
fixed
;
background-size
:
cover
;
...
...
WebGde/WebContent/WebGde-Widgets/LoadingModal/LoadingModal.js
View file @
277650f2
...
...
@@ -96,8 +96,7 @@ export const createLoadingModal = (titleTxt, message, type, btnTxt, callBackFunc
closeModalBtn
.
textContent
=
btnTxt
;
closeModalBtn
.
addEventListener
(
"click"
,
function
()
{
modal
.
style
.
display
=
'none'
;
// callBackFunc();
logoutKeycloak
();
callBackFunc
();
});
footerModal
.
appendChild
(
closeModalBtn
);
}
...
...
WebGde/WebContent/WebGde-Widgets/LoadingModal/LoadingModalStyle.css
View file @
277650f2
.loading-spinner
{
width
:
30px
;
height
:
30px
;
border
:
2px
solid
indigo
;
border-radius
:
50%
;
border-top-color
:
#0001
;
display
:
inline-block
;
animation
:
loadingspinner
.7s
linear
infinite
;
}
@keyframes
loadingspinner
{
0
%
{
transform
:
rotate
(
0deg
)
}
100
%
{
transform
:
rotate
(
360deg
)
}
}
\ No newline at end of file
.modal-container
{
display
:
none
;
position
:
fixed
;
top
:
0
;
left
:
0
;
width
:
100%
;
height
:
100%
;
z-index
:
1
;
background-color
:
rgba
(
0
,
0
,
0
,
.5
);
}
.modal
{
background-color
:
#fff
;
position
:
absolute
;
top
:
15%
;
left
:
30%
;
width
:
40%
;
height
:
fit-content
;
max-height
:
70%
;
border-radius
:
5px
;
/* border: 2px solid #000; */
animation-name
:
modalTransition
;
animation-duration
:
.4s
;
box-shadow
:
13px
13px
21px
4px
rgba
(
32
,
29
,
29
,
0.63
);
-webkit-box-shadow
:
13px
13px
21px
4px
rgba
(
32
,
29
,
29
,
0.63
);
-moz-box-shadow
:
13px
13px
21px
4px
rgba
(
32
,
29
,
29
,
0.63
);
}
@keyframes
modalTransition
{
from
{
top
:
-300px
;
opacity
:
0
;
}
to
{
top
:
20%
;
opacity
:
1
;
}
}
.modal-header
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
border-bottom
:
1px
solid
#3C4048
;
padding
:
10px
20px
;
background-color
:
#607EAA
;
}
.icon-box
{
color
:
#fff
;
position
:
absolute
;
margin
:
0
auto
;
left
:
0
;
right
:
0
;
top
:
-50px
;
width
:
95px
;
height
:
95px
;
border-radius
:
50%
;
z-index
:
9
;
background
:
#fff
;
padding
:
3px
;
text-align
:
center
;
box-shadow
:
0px
2px
2px
rgba
(
0
,
0
,
0
,
0.1
);
}
.icon-box.success
{
background-color
:
#5BC8B2
;
}
.icon-box.primary
{
background-color
:
#1e80c1
;
}
.icon-box.error
{
background-color
:
#FF6961
;
}
.icon-box.warning
{
background-color
:
yellow
;
}
.prompt-icon
{
font-size
:
50px
!important
;
}
.prompt-message
{
color
:
#636363
;
}
.prompt-message
h3
{
font-size
:
20px
;
text-align
:
center
;
margin
:
2px
;
}
.prompt-message
p
{
font-size
:
14px
;
text-align
:
center
;
margin
:
2px
;
}
.modal-header
.icon-box
p
{
font-size
:
56px
;
position
:
relative
;
top
:
4px
;
}
.modal-body
{
margin-top
:
40px
;
display
:
flex
;
align-items
:
center
;
flex-wrap
:
wrap
;
align-content
:
flex-start
;
justify-content
:
space-between
;
padding
:
10px
10px
;
overflow-y
:
auto
;
height
:
fit-content
;
max-height
:
50vh
;
}
.modal-footer
{
padding
:
10px
20px
;
display
:
flex
;
align-items
:
center
;
flex-direction
:
row-reverse
;
}
#close-modal
{
font-size
:
1.5rem
;
font-weight
:
bolder
;
padding
:
3px
;
}
#close-modal
:hover
{
color
:
#fff
;
cursor
:
pointer
;
}
.close-btn-modal
:hover
{
background-color
:
#fff
;
}
.close-btn-modal
{
background-color
:
darkgray
;
}
.modal-footer
.button
{
border
:
1px
solid
#000
;
color
:
#fff
;
width
:
15%
;
min-width
:
fit-content
;
border-radius
:
5px
;
}
.modal-footer
.button.close-btn-modal
:hover
{
border
:
1px
solid
gray
!important
;
background-color
:
transparent
!important
;
color
:
gray
!important
;
}
.center-objects
{
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
justify-content
:
flex-start
;
flex-wrap
:
wrap
;
width
:
100%
;
}
.btn-sm
{
width
:
15%
!important
;
border
:
0%
!important
;
}
.btn-md
{
width
:
30%
!important
;
border
:
0px
!important
;
}
.clear-background
{
background-color
:
transparent
;
}
.no-border
{
border
:
0px
;
}
#loaderContainer
{
height
:
15vh
;
width
:
15vh
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
}
.loader
{
font-size
:
10px
;
width
:
1em
;
height
:
1em
;
border-radius
:
50%
;
position
:
relative
;
text-indent
:
-9999em
;
animation
:
mulShdSpin
1.1s
infinite
ease
;
transform
:
translateZ
(
0
);
}
@keyframes
mulShdSpin
{
0
%,
100
%
{
box-shadow
:
0em
-2.6em
0em
0em
#FFFFFF
,
1.8em
-1.8em
0
0em
rgba
(
20
,
52
,
164
,
0.2
),
2.5em
0em
0
0em
rgba
(
20
,
52
,
164
,
0.2
),
1.75em
1.75em
0
0em
rgba
(
20
,
52
,
164
,
0.2
),
0em
2.5em
0
0em
rgba
(
20
,
52
,
164
,
0.2
),
-1.8em
1.8em
0
0em
rgba
(
20
,
52
,
164
,
0.2
),
-2.6em
0em
0
0em
rgba
(
20
,
52
,
164
,
0.5
),
-1.8em
-1.8em
0
0em
rgba
(
20
,
52
,
164
,
0.7
);
}
12
.5
%
{
box-shadow
:
0em
-2.6em
0em
0em
rgba
(
20
,
52
,
164
,
0.7
),
1.8em
-1.8em
0
0em
#FFFFFF
,
2.5em
0em
0
0em
rgba
(
20
,
52
,
164
,
0.2
),
1.75em
1.75em
0
0em
rgba
(
20
,
52
,
164
,
0.2
),
0em
2.5em
0
0em
rgba
(
20
,
52
,
164
,
0.2
),
-1.8em
1.8em
0
0em
rgba
(
20
,
52
,
164
,
0.2
),
-2.6em
0em
0
0em
rgba
(
20
,
52
,
164
,
0.2
),
-1.8em
-1.8em
0
0em
rgba
(
20
,
52
,
164
,
0.5
);
}
25
%
{
box-shadow
:
0em
-2.6em
0em
0em
rgba
(
20
,
52
,
164
,
0.5
),
1.8em
-1.8em
0
0em
rgba
(
20
,
52
,
164
,
0.7
),
2.5em
0em
0
0em
#FFFFFF
,
1.75em
1.75em
0
0em
rgba
(
20
,
52
,
164
,
0.2
),
0em
2.5em
0
0em
rgba
(
20
,
52
,
164
,
0.2
),
-1.8em
1.8em
0
0em
rgba
(
20
,
52
,
164
,
0.2
),
-2.6em
0em
0
0em
rgba
(
20
,
52
,
164
,
0.2
),
-1.8em
-1.8em
0
0em
rgba
(
20
,
52
,
164
,
0.2
);
}
37
.5
%
{
box-shadow
:
0em
-2.6em
0em
0em
rgba
(
20
,
52
,
164
,
0.2
),
1.8em
-1.8em
0
0em
rgba
(
20
,
52
,
164
,
0.5
),
2.5em
0em
0
0em
rgba
(
20
,
52
,
164
,
0.7
),
1.75em
1.75em
0
0em
#FFFFFF
,
0em
2.5em
0
0em
rgba
(
20
,
52
,
164
,
0.2
),
-1.8em
1.8em
0
0em
rgba
(
20
,
52
,
164
,
0.2
),
-2.6em
0em
0
0em
rgba
(
20
,
52
,
164
,
0.2
),
-1.8em
-1.8em
0
0em
rgba
(
20
,
52
,
164
,
0.2
);
}
50
%
{
box-shadow
:
0em
-2.6em
0em
0em
rgba
(
20
,
52
,
164
,
0.2
),
1.8em
-1.8em
0
0em
rgba
(
20
,
52
,
164
,
0.2
),
2.5em
0em
0
0em
rgba
(
20
,
52
,
164
,
0.5
),
1.75em
1.75em
0
0em
rgba
(
20
,
52
,
164
,
0.7
),
0em
2.5em
0
0em
#FFFFFF
,
-1.8em
1.8em
0
0em
rgba
(
20
,
52
,
164
,
0.2
),
-2.6em
0em
0
0em
rgba
(
20
,
52
,
164
,
0.2
),
-1.8em
-1.8em
0
0em
rgba
(
20
,
52
,
164
,
0.2
);
}
62
.5
%
{
box-shadow
:
0em
-2.6em
0em
0em
rgba
(
20
,
52
,
164
,
0.2
),
1.8em
-1.8em
0
0em
rgba
(
20
,
52
,
164
,
0.2
),
2.5em
0em
0
0em
rgba
(
20
,
52
,
164
,
0.2
),
1.75em
1.75em
0
0em
rgba
(
20
,
52
,
164
,
0.5
),
0em
2.5em
0
0em
rgba
(
20
,
52
,
164
,
0.7
),
-1.8em
1.8em
0
0em
#FFFFFF
,
-2.6em
0em
0
0em
rgba
(
20
,
52
,
164
,
0.2
),
-1.8em
-1.8em
0
0em
rgba
(
20
,
52
,
164
,
0.2
);
}
75
%
{
box-shadow
:
0em
-2.6em
0em
0em
rgba
(
20
,
52
,
164
,
0.2
),
1.8em
-1.8em
0
0em
rgba
(
20
,
52
,
164
,
0.2
),
2.5em
0em
0
0em
rgba
(
20
,
52
,
164
,
0.2
),
1.75em
1.75em
0
0em
rgba
(
20
,
52
,
164
,
0.2
),
0em
2.5em
0
0em
rgba
(
20
,
52
,
164
,
0.5
),
-1.8em
1.8em
0
0em
rgba
(
20
,
52
,
164
,
0.7
),
-2.6em
0em
0
0em
#FFFFFF
,
-1.8em
-1.8em
0
0em
rgba
(
20
,
52
,
164
,
0.2
);
}
87
.5
%
{
box-shadow
:
0em
-2.6em
0em
0em
rgba
(
20
,
52
,
164
,
0.2
),
1.8em
-1.8em
0
0em
rgba
(
20
,
52
,
164
,
0.2
),
2.5em
0em
0
0em
rgba
(
20
,
52
,
164
,
0.2
),
1.75em
1.75em
0
0em
rgba
(
20
,
52
,
164
,
0.2
),
0em
2.5em
0
0em
rgba
(
20
,
52
,
164
,
0.2
),
-1.8em
1.8em
0
0em
rgba
(
20
,
52
,
164
,
0.5
),
-2.6em
0em
0
0em
rgba
(
20
,
52
,
164
,
0.7
),
-1.8em
-1.8em
0
0em
#FFFFFF
;
}
}
\ No newline at end of file
WebGde/WebContent/WebGde-Widgets/LogInWidget/LoginStyle.css
View file @
277650f2
...
...
@@ -174,7 +174,7 @@ body{
.wrapper.invert
span
{
--color
:
#00a8c0
;
font-family
:
Impact
,
'Anton'
,
Haettenschweiler
,
'Arial Narrow Bold'
,
sans-serif
;
/* font-family: Impact, 'Anton', Haettenschweiler, 'Arial Narrow Bold', sans-serif; */
font-weight
:
700
;
font-style
:
italic
;
display
:
block
;
...
...
@@ -405,6 +405,9 @@ body{
#loaderContainer
{
height
:
15vh
;
width
:
15vh
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
}
.loader
{
...
...
@@ -413,8 +416,6 @@ body{
height
:
1em
;
border-radius
:
50%
;
position
:
relative
;
left
:
34px
;
top
:
37px
;
text-indent
:
-9999em
;
animation
:
mulShdSpin
1.1s
infinite
ease
;
transform
:
translateZ
(
0
);
...
...
WebGde/WebContent/WebGde-Widgets/sample_schema/
08-30-test
.json
→
WebGde/WebContent/WebGde-Widgets/sample_schema/
dev_schema
.json
View file @
277650f2
{
"SAMPLE FIELDS"
:
{
"Doctype 1"
:
{
"
Image1"
:
{
"fieldLabel"
:
"
Image1
"
,
"aka"
:
"field
5
"
,
"
First Name"
:
{
"fieldLabel"
:
"
First Name
"
,
"aka"
:
"field
7
"
,
"validation"
:
{
"collection"
:
"image-capture"
,
"fieldLength"
:
30
,
"collection"
:
"alphanumeric"
,
"invalidchar"
:
"`~!@#&$%^*_={}[]:;/
\"
|
\\
<>"
,
"mandatory"
:
false
}
},
"Civil_Status"
:
{
"fieldLabel"
:
"Civil Status"
,
"aka"
:
"field28"
,
"source"
:
"s"
,
"validation"
:
{
"fieldLength"
:
15
,
"collection"
:
"dropdown"
,
"options"
:
[
"Single"
,
"Married"
,
"Widowed"
],
"mandatory"
:
true
}
},
"Checkbox_List"
:
{
"fieldLabel"
:
"Checkbox List"
,
"aka"
:
"field16"
,
...
...
@@ -49,33 +66,23 @@
"mandatory"
:
false
}
},
"Geo_Tag"
:
{
"fieldLabel"
:
"Geo Tag"
,
"aka"
:
"field40"
,
"validation"
:
{
"fieldLength"
:
100
,
"collection"
:
"geotag"
},
"hidden"
:
"y"
},
"Altitude"
:
{
"fieldLabel"
:
"Altitude"
,
"aka"
:
"field6"
,
"validation"
:
{
"fieldLength"
:
100
,
"collection"
:
"altitude"
},
"hidden"
:
"y"
},
"Direction"
:
{
"fieldLabel"
:
"Direction"
,
"aka"
:
"field70"
,
"validation"
:
{
"fieldLength"
:
100
,
"collection"
:
"direction"
},
"hidden"
:
"y"
}
"Date"
:
{
"fieldLabel"
:
"Date"
,
"aka"
:
"field5"
,
"validation"
:
{
"fieldLength"
:
20
,
"collection"
:
"datepicker"
,
"mandatory"
:
false
}
},
"Image1"
:{
"fieldLabel"
:
"Image1"
,
"aka"
:
"field5"
,
"validation"
:
{
"collection"
:
"image-capture"
,
"mandatory"
:
false
}
}
}
}
}
\ No newline at end of file
WebGde/WebContent/index.html
View file @
277650f2
...
...
@@ -6,10 +6,12 @@
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"ie=edge"
>
<
link
rel=
"stylesheet"
href=
"./style.css"
>
<
!-- <link rel="stylesheet" href="./style.css"> --
>
<link
rel=
"stylesheet"
href=
"./WebGde-Widgets/ElementListWidget/ElementListWidget.css"
>
<link
rel=
"stylesheet"
href=
"./WebGde-Widgets/LoadingModal/LoadingModalStyle.css"
>
<link
id=
"loginStylesheet"
rel=
"stylesheet"
href=
"./WebGde-Widgets/LogInWidget/LoginStyle.css"
>
<link
rel=
"stylesheet"
href=
"./WebGde-Widgets/DataInputWidget/DataInputWidget.css"
>
<link
rel=
"stylesheet"
href=
"https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap"
>
<!-- <link id="loginStylesheet" rel="stylesheet" href="./WebGde-Widgets/LogInWidget/LoginStyle.css"> -->
<script
type=
"module"
src=
"./startup.js"
></script>
<script
src=
"https://code.jquery.com/jquery-3.6.0.min.js"
integrity=
"sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4="
crossorigin=
"anonymous"
></script>
...
...
WebGde/WebContent/startup.js
View file @
277650f2
import
{
createLoadingModal
}
from
"./WebGde-Widgets/LoadingModal/LoadingModal.js"
;
import
{
createLoadingModal
,
removePrompt
}
from
"./WebGde-Widgets/LoadingModal/LoadingModal.js"
;
import
{
fallbackLogin
,
loginGde
}
from
"./WebGde-Widgets/LogInWidget/LoginJavaInterface.js"
;
const
scriptElement
=
document
.
createElement
(
"script"
);
...
...
@@ -9,6 +9,7 @@ document.addEventListener("DOMContentLoaded", function() {
window
.
createLoadingModal
=
createLoadingModal
;
window
.
fallbackLogin
=
fallbackLogin
;
window
.
loginGde
=
loginGde
;
window
.
removePrompt
=
removePrompt
;
// const LOG_IN_COMPONENT = new LogInClass(startApplication);
// LOG_IN_COMPONENT.establishEventListeners();
});
...
...
WebGde/WebContent/style.css
View file @
277650f2
...
...
@@ -533,18 +533,6 @@ span#filename {
text-align
:
left
;
}
/* LOader css */
.modal-container
{
display
:
block
;
position
:
fixed
;
top
:
0
;
left
:
0
;
width
:
100%
;
height
:
100%
;
z-index
:
1
;
background-color
:
rgba
(
0
,
0
,
0
,
.5
);
}
#loaderContainer
{
height
:
280px
;
width
:
280px
;
...
...
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