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
73616fa9
Commit
73616fa9
authored
Jun 27, 2023
by
rndeguzman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reject functions
parent
e3156051
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
74 additions
and
55 deletions
+74
-55
rejectElement.js
WebGde/WebContent/WebGde-Widgets/BPO/rejectElement.js
+1
-1
highlightClass.js
...ets/ImageViewerWidget/modules/highlight/highlightClass.js
+1
-1
imageViewer.css
...ets/ImageViewerWidget/modules/imageViewer/imageViewer.css
+10
-5
pdfDocument.js
...gets/ImageViewerWidget/modules/imageViewer/pdfDocument.js
+2
-2
config.js
WebGde/WebContent/WebGde-Widgets/config.js
+2
-2
index.html
WebGde/WebContent/index.html
+1
-0
script.js
WebGde/WebContent/script.js
+57
-44
No files found.
WebGde/WebContent/WebGde-Widgets/BPO/rejectElement.js
View file @
73616fa9
...
...
@@ -3,7 +3,7 @@ import { validateInput } from "../DataInputWidget/validateInput.js";
import
{
PROJECT_CODE
}
from
"../Submit/config.js"
;
import
{
ENCODING_PASS
,
REASON_LIST
,
SCHEMA_FILE
}
from
"../config.js"
;
import
{
createModal
}
from
"../genericPopup/genericPopup.js"
;
import
{
IMAGE_VIEWER_OBJECT
,
INDEXED_DB_STORAGE
}
from
"../globalVariable.js"
;
import
{
BPO_OBJECT
,
IMAGE_VIEWER_OBJECT
,
INDEXED_DB_STORAGE
}
from
"../globalVariable.js"
;
import
{
getRejectElement
}
from
"./bpoService.js"
;
import
{
urlUpdateException
}
from
"./gfsService.js"
;
...
...
WebGde/WebContent/WebGde-Widgets/ImageViewerWidget/modules/highlight/highlightClass.js
View file @
73616fa9
...
...
@@ -67,7 +67,7 @@ export class Highlight {
this
.
highlightCanvas
.
setAttribute
(
"width"
,
w
);
this
.
highlightCanvas
.
setAttribute
(
"height"
,
h
);
this
.
highlightCanvas
.
style
.
zIndex
=
"
2
0"
;
this
.
highlightCanvas
.
style
.
zIndex
=
"
1
0"
;
}
...
...
WebGde/WebContent/WebGde-Widgets/ImageViewerWidget/modules/imageViewer/imageViewer.css
View file @
73616fa9
...
...
@@ -25,7 +25,7 @@ body {
background-color
:
#BFBFBF
;
display
:
flex
;
flex-wrap
:
nowrap
;
align-items
:
center
;
align-items
:
flex-start
;
justify-content
:
center
;
}
...
...
@@ -36,8 +36,8 @@ body {
}
.unsupported-file
,
.error-image
{
height
:
5
0%
;
width
:
5
0%
;
height
:
4
0%
;
width
:
4
0%
;
margin
:
auto
;
border
:
0px
!important
;
display
:
flex
;
...
...
@@ -46,8 +46,8 @@ body {
}
.image.unsupported-file
{
height
:
6
0%
!important
;
width
:
5
0%
!important
;
height
:
5
0%
!important
;
width
:
4
0%
!important
;
border
:
0px
!important
;
margin
:
auto
;
}
...
...
@@ -58,6 +58,7 @@ body {
margin
:
auto
;
word-wrap
:
break-word
;
width
:
100%
;
text-align
:
center
;
}
.image.error-image
{
...
...
@@ -73,6 +74,7 @@ body {
margin
:
auto
;
word-wrap
:
break-word
;
width
:
100%
;
text-align
:
center
;
}
.image-controls
{
...
...
@@ -91,6 +93,8 @@ body {
display
:
flex
;
justify-content
:
center
;
flex-wrap
:
nowrap
;
position
:
sticky
;
z-index
:
15
;
}
.image-controls
.row
.button
{
...
...
@@ -185,6 +189,7 @@ body {
#imageViewerHeader
.row
{
display
:
flex
;
align-items
:
center
;
max-height
:
6vh
;
}
#imageViewerHeader
.row
.label
{
...
...
WebGde/WebContent/WebGde-Widgets/ImageViewerWidget/modules/imageViewer/pdfDocument.js
View file @
73616fa9
...
...
@@ -43,8 +43,8 @@ export class PDFDocument {
pdfCanvas
.
setAttribute
(
"num-of-pages"
,
_this
.
pdfDoc
.
numPages
);
pdfCanvas
.
setAttribute
(
"file-type"
,
"pdf"
);
_this
.
setPDFDoc
(
_this
.
pdfDoc
);
sessionStorage
.
setItem
(
"current_page"
,
1
);
sessionStorage
.
setItem
(
"total_pages"
,
_this
.
pdfDoc
.
numPages
);
//
sessionStorage.setItem("current_page", 1);
//
sessionStorage.setItem("total_pages", _this.pdfDoc.numPages);
});
return
pdfCanvas
;
}
...
...
WebGde/WebContent/WebGde-Widgets/config.js
View file @
73616fa9
...
...
@@ -40,7 +40,7 @@ export const ROOT_FOLDER = "/WebGde-Widgets";
//this determines if the images will be retrieved from the gfs
export
const
DOMAIN
=
"http://35.169.23.0:8080"
export
const
CONTEXTROOT
=
"gfs-explorer-ws"
export
const
GFS_URL
=
"http://
44.212.25.202
:8080"
+
"/WebGde/svc/gfs-rest"
export
const
GFS_URL
=
"http://
3.84.1.163
:8080"
+
"/WebGde/svc/gfs-rest"
export
const
FOLDER_URL
=
DOMAIN
+
"/"
+
CONTEXTROOT
+
"/svc/gfs-rest/get-folder?parentPath=/Users/"
export
const
DOWNLOAD_URL
=
DOMAIN
+
"/"
+
CONTEXTROOT
+
"/svc/gfs-rest/get-download-link"
export
const
IS_RETRIEVE_FROM_GFS
=
"N"
...
...
@@ -51,7 +51,7 @@ export const INVALID_KEYS = "F1,F2,F3,F4,F5,F6,F7,F8,F9,F10,F11,F12,PrintScreen
export
const
IS_RETRIEVE_FROM_BPO
=
"Y"
// export const BPO_URL = "http://35.171.20.94:8080/bpo-sqa/"
// export const CURRENT_NODE = "Web GDE"
export
const
BPO_URL
=
"http://
44.212.25.202
:8080/bpo/"
export
const
BPO_URL
=
"http://
3.84.1.163
:8080/bpo/"
export
const
CURRENT_NODE
=
"Web_GDE_DEV"
export
const
ENCODING_PASS
=
"PASS1"
export
const
NEXT_NODE
=
"Complete"
...
...
WebGde/WebContent/index.html
View file @
73616fa9
...
...
@@ -6,6 +6,7 @@
<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=
"./WebGde-Widgets/ImageViewerWidget/modules/imageViewer/imageViewer.css"
>
<script
type=
"module"
src=
"./script.js"
></script>
<script
src=
"https://code.jquery.com/jquery-3.6.0.min.js"
integrity=
"sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4="
crossorigin=
"anonymous"
></script>
...
...
WebGde/WebContent/script.js
View file @
73616fa9
This diff is collapsed.
Click to expand it.
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