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
34fae9e8
Commit
34fae9e8
authored
Mar 30, 2023
by
Jorem Magcawas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update latest
parent
aec6a2f3
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
220 additions
and
30 deletions
+220
-30
.classpath
WebGde/.classpath
+1
-17
config.js
WebGde/WebContent/config.js
+1
-1
index.html
WebGde/WebContent/index.html
+4
-2
rejectElement.js
WebGde/WebContent/src/BPO/rejectElement.js
+0
-9
pdfv.js
WebGde/WebContent/src/pdfviewer/pdfv.js
+2
-0
formatted-json-acconting.json
...ebContent/src/sample_schema/formatted-json-acconting.json
+211
-0
style.css
WebGde/WebContent/style.css
+1
-1
No files found.
WebGde/.classpath
View file @
34fae9e8
...
...
@@ -26,23 +26,7 @@
<classpathentry
kind=
"con"
path=
"org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"
>
<attributes>
<attribute
name=
"maven.pomderived"
value=
"true"
/>
</attributes>
</classpathentry>
<classpathentry
kind=
"src"
path=
"target/generated-sources/annotations"
>
<attributes>
<attribute
name=
"optional"
value=
"true"
/>
<attribute
name=
"maven.pomderived"
value=
"true"
/>
<attribute
name=
"ignore_optional_problems"
value=
"true"
/>
<attribute
name=
"m2e-apt"
value=
"true"
/>
</attributes>
</classpathentry>
<classpathentry
kind=
"src"
output=
"target/test-classes"
path=
"target/generated-test-sources/test-annotations"
>
<attributes>
<attribute
name=
"optional"
value=
"true"
/>
<attribute
name=
"maven.pomderived"
value=
"true"
/>
<attribute
name=
"ignore_optional_problems"
value=
"true"
/>
<attribute
name=
"m2e-apt"
value=
"true"
/>
<attribute
name=
"test"
value=
"true"
/>
<attribute
name=
"org.eclipse.jst.component.dependency"
value=
"/WEB-INF/lib"
/>
</attributes>
</classpathentry>
<classpathentry
kind=
"output"
path=
"target/classes"
/>
...
...
WebGde/WebContent/config.js
View file @
34fae9e8
...
...
@@ -24,7 +24,7 @@
/*var SCHEMA_FILE = "./src/sample_schema/SC Schema.json"*/
var
SCHEMA_FILE
=
"./src/sample_schema/
Speed Test Application Form schema
.json"
var
SCHEMA_FILE
=
"./src/sample_schema/
formatted-json-acconting
.json"
//const INPUT_FILES = ["./input/Ong, Mae Janica - Application Form.TIFF","./input/Magalona, Rowell James - Application Form.TIFF","./input/Felizardo, Brylle Theodure - Application Form.TIFF","./input/Laxamana, Conrad John - Application Form.TIFF"] // list of URLs
...
...
WebGde/WebContent/index.html
View file @
34fae9e8
...
...
@@ -69,6 +69,8 @@
<div
class=
"popuptext"
id=
"myPopup"
>
•Pause -> Esc
<br>
•Submit -> SHIFT ENTER
<br>
•Next Page -> CTRL +
<br>
•Previous Page -> CTRL -
<br>
•Fit Content -> SHIFT F
<br>
•Flip Horizontally -> CTRL SHIFT H
<br>
•Flip Vertically -> CTRL SHIFT V
<br>
...
...
@@ -76,8 +78,8 @@
•Rotate to left -> SHIFT PAGE DOWN
<br>
•Zoom in -> CTRL +
<br>
•Zoom out -> CTRL -
<br>
•Previous -> F11
<br>
•Next -> F12
<br>
•Previous
Image
-> F11
<br>
•Next
Image
-> F12
<br>
•Scroll Image to the Left -> CTRL LEFT ARROW
<br>
•Scroll Image to the Right -> CTRL RIGHT ARROW
<br>
•Scroll Up Image -> CTRL UP ARROW
<br>
...
...
WebGde/WebContent/src/BPO/rejectElement.js
View file @
34fae9e8
...
...
@@ -175,15 +175,6 @@ function setRadioHandler(id){
}
function
checkLabelComponent
(
textLabel
,
inputval
,
checkboxId
){
let
checkBoxCont
=
document
.
createElement
(
'div'
);
checkBoxCont
.
id
=
'checkBoxCont'
;
...
...
WebGde/WebContent/src/pdfviewer/pdfv.js
View file @
34fae9e8
...
...
@@ -246,6 +246,7 @@ var displayPdf = function(doc) {
document
.
addEventListener
(
"keydown"
,
(
e
)
=>
{
if
(
e
.
ctrlKey
&&
e
.
key
===
"="
)
{
e
.
preventDefault
();
currentScale
+=
0.1
;
renderPage
(
currentPage
);
}
...
...
@@ -259,6 +260,7 @@ var displayPdf = function(doc) {
document
.
addEventListener
(
"keydown"
,
(
e
)
=>
{
if
(
e
.
ctrlKey
&&
e
.
key
===
"-"
)
{
e
.
preventDefault
();
currentScale
-=
0.1
;
renderPage
(
currentPage
);
}
...
...
WebGde/WebContent/src/sample_schema/formatted-json-acconting.json
0 → 100644
View file @
34fae9e8
{
"ACCOUNTS PAYABLE"
:{
"SECTION1"
:{
"Business Name"
:{
"fieldLabel"
:
"Business Name"
,
"aka"
:
"field110"
,
"validation"
:{
"fieldLength"
:
30
,
"collection"
:
"dropdown"
,
"options"
:
[
"Antel"
,
"BDO_CC"
,
"CIAC"
,
"Converge"
,
"Crayon_Software_Experts"
,
"Electric_Bill"
,
"F.A._Bautista_And_Partners"
,
"Globe"
,
"Gsantiago_Commercial_Building"
,
"HSBC"
,
"Payroll"
,
"PLDT"
,
"Sir_Patrick_Security_Services"
,
"Smart"
,
"Source_Telecomms"
,
"UPB_CC"
,
"UPB_Interest_On_Loan"
,
"Vengons_Bldg"
,
"Water_Bill"
],
"mandatory"
:
true
}
},
"Date"
:{
"fieldLabel"
:
"Date"
,
"aka"
:
"field120"
,
"validation"
:{
"fieldLength"
:
10
,
"collection"
:
"datepicker"
,
"mandatory"
:
true
}
},
"Project Classification"
:{
"fieldLabel"
:
"Project Classification"
,
"aka"
:
"field130"
,
"validation"
:{
"fieldLength"
:
0
,
"collection"
:
"alphanumeric"
,
"mandatory"
:
false
}
},
"Amount Due"
:{
"fieldLabel"
:
"Amt Due/Total Amt/Bal Due"
,
"aka"
:
"field140"
,
"validation"
:{
"fieldLength"
:
16
,
"collection"
:
"alphanumeric"
,
"invalidchar"
:
"abcdefghijklmnoprqstuvwxzyABCDEFGHIJKLMNOPQRSTUVWXYZ~!@$%^*_+={}[]:;
\"
|
\\
<>"
,
"mandatory"
:
true
}
},
"Due Date"
:{
"fieldLabel"
:
"Due Date"
,
"aka"
:
"field150"
,
"validation"
:{
"fieldLength"
:
10
,
"collection"
:
"datepicker"
,
"mandatory"
:
true
}
},
"Description"
:{
"fieldLabel"
:
"Description"
,
"aka"
:
"field160"
,
"validation"
:{
"fieldLength"
:
100
,
"collection"
:
"alphanumeric"
,
"mandatory"
:
true
}
},
"Vat Amount"
:{
"fieldLabel"
:
"VAT/Tax Amt"
,
"aka"
:
"field170"
,
"validation"
:{
"fieldLength"
:
16
,
"collection"
:
"alphanumeric"
,
"invalidchar"
:
"abcdefghijklmnoprqstuvwxzyABCDEFGHIJKLMNOPQRSTUVWXYZ~!@$%^*_+={}[]:;
\"
|
\\
<>"
,
"mandatory"
:
true
}
}
}
},
"ACCOUNTS RECEIVABLE"
:{
"SECTION2"
:{
"To"
:{
"fieldLabel"
:
"To"
,
"aka"
:
"field210"
,
"validation"
:{
"fieldLength"
:
50
,
"collection"
:
"alphanumeric"
,
"mandatory"
:
true
}
},
"Project Classification"
:{
"fieldLabel"
:
"Project Classification"
,
"aka"
:
"field220"
,
"validation"
:{
"fieldLength"
:
15
,
"collection"
:
"dropdown"
,
"options"
:
[
"BPI_KYC"
,
"BPI_CC"
,
"BPI_Banko_KYC"
,
"SEC_ODRS"
,
"SEC_Manual"
,
"PHC"
,
"Culion"
,
"CDC"
,
"Advantage"
,
"Prisma"
,
"NEA"
,
"PHIVOLCS"
],
"mandatory"
:
true
}
},
"Date"
:{
"fieldLabel"
:
"Date"
,
"aka"
:
"field230"
,
"validation"
:{
"fieldLength"
:
10
,
"collection"
:
"datepicker"
,
"mandatory"
:
true
}
},
"Address"
:{
"fieldLabel"
:
"Address"
,
"aka"
:
"field240"
,
"validation"
:{
"fieldLength"
:
100
,
"collection"
:
"alphanumeric"
,
"mandatory"
:
true
}
},
"Invoice number"
:{
"fieldLabel"
:
"Invoice Number"
,
"aka"
:
"field250"
,
"validation"
:{
"fieldLength"
:
10
,
"collection"
:
"numeric"
,
"invalidchar"
:
"abcdefghijklmnoprqstuvwxzyABCDEFGHIJKLMNOPQRSTUVWXYZ.,'~!@$%^*_+={}[]:;
\"
|
\\
<>"
,
"mandatory"
:
true
}
},
"P.O. Number"
:{
"fieldLabel"
:
"P.O. Number"
,
"aka"
:
"field260"
,
"validation"
:{
"fieldLength"
:
10
,
"collection"
:
"numeric"
,
"invalidchar"
:
"abcdefghijklmnoprqstuvwxzyABCDEFGHIJKLMNOPQRSTUVWXYZ.,'~!@$%^*_+={}[]:;
\"
|
\\
<>"
,
"mandatory"
:
false
}
},
"Description"
:{
"fieldLabel"
:
"Description"
,
"aka"
:
"field270"
,
"validation"
:{
"fieldLength"
:
100
,
"collection"
:
"alphanumeric"
,
"mandatory"
:
true
}
},
"Amount 1"
:{
"fieldLabel"
:
"Amount 1"
,
"aka"
:
"field280"
,
"validation"
:{
"fieldLength"
:
16
,
"collection"
:
"alphanumeric"
,
"invalidchar"
:
"abcdefghijklmnoprqstuvwxzyABCDEFGHIJKLMNOPQRSTUVWXYZ~!@$%^*_+={}[]:;
\"
|
\\
<>"
,
"mandatory"
:
true
}
},
"Amount 2"
:{
"fieldLabel"
:
"Amount 2"
,
"aka"
:
"field281"
,
"validation"
:{
"fieldLength"
:
16
,
"collection"
:
"alphanumeric"
,
"invalidchar"
:
"abcdefghijklmnoprqstuvwxzyABCDEFGHIJKLMNOPQRSTUVWXYZ~!@$%^*_+={}[]:;
\"
|
\\
<>"
,
"mandatory"
:
true
}
},
"Amount 3"
:{
"fieldLabel"
:
"Amount 3"
,
"aka"
:
"field282"
,
"validation"
:{
"fieldLength"
:
16
,
"collection"
:
"alphanumeric"
,
"invalidchar"
:
"abcdefghijklmnoprqstuvwxzyABCDEFGHIJKLMNOPQRSTUVWXYZ~!@$%^*_+={}[]:;
\"
|
\\
<>"
,
"mandatory"
:
true
}
},
"Amount 4"
:{
"fieldLabel"
:
"Amount 4"
,
"aka"
:
"field283"
,
"validation"
:{
"fieldLength"
:
16
,
"collection"
:
"alphanumeric"
,
"invalidchar"
:
"abcdefghijklmnoprqstuvwxzyABCDEFGHIJKLMNOPQRSTUVWXYZ~!@$%^*_+={}[]:;
\"
|
\\
<>"
,
"mandatory"
:
true
}
},
"Amount 5"
:{
"fieldLabel"
:
"Amount 5"
,
"aka"
:
"field284"
,
"validation"
:{
"fieldLength"
:
16
,
"collection"
:
"alphanumeric"
,
"invalidchar"
:
"abcdefghijklmnoprqstuvwxzyABCDEFGHIJKLMNOPQRSTUVWXYZ~!@$%^*_+={}[]:;
\"
|
\\
<>"
,
"mandatory"
:
true
}
}
}
}
}
\ No newline at end of file
WebGde/WebContent/style.css
View file @
34fae9e8
...
...
@@ -73,7 +73,7 @@ html {
*
{
-webkit-font-smoothing
:
auto
;
font-size
:
1
3
px
;
font-size
:
1
1
px
;
letter-spacing
:
0.1em
;
text-rendering
:
optimizeLegibility
;
font-weight
:
normal
;
...
...
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