Commit 73616fa9 by rndeguzman

reject functions

parent e3156051
......@@ -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";
......
......@@ -67,7 +67,7 @@ export class Highlight {
this.highlightCanvas.setAttribute("width", w);
this.highlightCanvas.setAttribute("height", h);
this.highlightCanvas.style.zIndex = "20";
this.highlightCanvas.style.zIndex = "10";
}
......
......@@ -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: 50%;
width: 50%;
height: 40%;
width: 40%;
margin: auto;
border: 0px !important;
display: flex;
......@@ -46,8 +46,8 @@ body {
}
.image.unsupported-file{
height: 60% !important;
width: 50% !important;
height: 50% !important;
width: 40% !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{
......
......@@ -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;
}
......
......@@ -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"
......
......@@ -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>
......
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