-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclaimrequest.html
131 lines (105 loc) · 5.51 KB
/
claimrequest.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<!DOCTYPE html>
<html lang="en">
<head>
<title>Veteran Affairs</title>
<meta charset="utf-8">
<meta name="google-site-verification" content="75xKoKD4Gf9wkW3CvqwPAlhNIHfDFxWqee6ZXWzMI_0" />
<link rel="icon" type="image/png" href="images/DMVA-Seal.png"/>
<link rel="stylesheet" href="css/reset.css" type="text/css" media="all">
<link rel="stylesheet" href="css/style.css" type="text/css" media="all">
<script type="text/javascript" src="js/jquery-1.4.2.js" ></script>
<script src="/js/clearSession.js"></script>
<!--[if lt IE 9]>
<script type="text/javascript" src="js/ie6_script_other.js"></script>
<script type="text/javascript" src="js/html5.js"></script>
<![endif]-->
</head>
<body id="page1">
<!-- START PAGE SOURCE -->
<div class="body2">
<div class="body7">
<div class="body3">
<div class="body4">
<div class="main">
<header id="menu">
<div style="background:url(../images/menu_line.jpg) right top no-repeat;">
<figure class="left marg_right1"><img src="images/DMVA-Seal.png" alt="" width="70px" height="70px" style="padding-top: 5px;"></figure>
<a href="home.html" style="width: auto;float:left;">DEPARTMENT OF MILITARY AND VETERAN AFFAIRS</a>
<p class="navlinks" onclick="clearSessionStorage()"><a href="index.html">Log Out</a></p>
<p class="navlinks"><a href="contacts.html">Contact us</a></p>
<p class="navlinks"><a href="pendingactions.html">Pending Actions</a></p>
<p id="menu_active" class="navlinks"><a href="claimrequest.html">Benefit Request</a></p>
<p class="navlinks"><a href="home.html">Home</a></p>
</div>
</header>
<div style="margin-left: 42px; margin-right: 42px;">
<section id="content">
<p class="headertext" id="va-header">Appointment of Veterans Service Organization as Claimant's Representative</p>
<div id="search-case"></div>
<script>
window.addEventListener("message", (event)=>{
// Normally you would check event.origin
// To verify the targetOrigin matches
// this window's domain
console.log(event.data);
if(event.data=="Remove Session Storage"){
sessionStorage.removeItem("caseid");
location.reload();
$("#va-header").hide();
}
});
function getQueryVariable(variable) {
var query = window.location.search.substring(1);
var vars = query.split("&");
for (var i = 0; i < vars.length; i++) {
var pair = vars[i].split("=");
if (pair[0] == variable) {
return pair[1];
}
}
console.log('Query Variable ' + variable + ' not found');
}
function loadMashup(casevalue) {
var assignmentKey = "ASSIGN-WORKLIST DMVA-NC-WORK " + casevalue + "!COLLECTGENERALINFORMATION";
console.log(assignmentKey);
var snippetDiv = document.createElement("div");
snippetDiv.setAttribute("id", "mashhed");
snippetDiv.setAttribute("style", "height:800px;");
snippetDiv.setAttribute("data-pega-gadgetname", "PegaGadgets");
snippetDiv.setAttribute("data-pega-action", "openAssignment");
snippetDiv.setAttribute("data-pega-action-param-key", assignmentKey);
snippetDiv.setAttribute("data-pega-isdeferloaded", "false");
snippetDiv.setAttribute("data-pega-threadname", "STANDARD");
snippetDiv.setAttribute("data-pega-applicationname", "NC");
snippetDiv.setAttribute("data-pega-resizetype", "fixed");
snippetDiv.setAttribute("data-pega-url", "https://ipdemo.sbyteapps.com:8443/prweb/app/NC_2037/");
snippetDiv.setAttribute("data-pega-action-param-parameters", '{\"UserIndentifier\": \"Stefan@DMVA\",\"Password\": \"cnVsZXM=\",\"pzSkinName\":\"ClaritySkin_PictonBlue\",\"pyMashupSkeletonName\":\"pyDefaultMashupSkeleton\"}');
snippetDiv.setAttribute("data-pega-redirectguests", "false");
document.getElementById("search-case").appendChild(snippetDiv);
//trigger mashup loading explicitly in asyn case
}
var workid=sessionStorage.getItem("caseid");
console.log(workid);
if(workid != null){
loadMashup(workid);
}
else{
window.location.href="https://sbyte-dmva.netlify.app/pendingactions.html"
}
</script>
</section>
<section id="content" id="msg">
<div style="margin-left: 14px; margin-right: 14px;">
<!-- ********************** Begin Pega content ********************** -->
<script src ='https://ipdemo.sbyteapps.com:8443/prweb/app/NC_2037/?pyActivity=pzIncludeMashupScripts'></script>
<div data-pega-action-param-parameters ='{"UserIdentifier":"Stefan@DMVA","Password":"cnVsZXM=","pzSkinName":"ClaritySkin_PictonBlue","pyMashupSkeletonName":"pyDefaultMashupSkeleton"}' ></div>
</section>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- END PAGE SOURCE -->
</body>
</html>