-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
244 lines (235 loc) · 15.7 KB
/
index.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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
<!DOCTYPE html>
<html lang="en">
<head>
<script>
const host = location.host;
let measurementID = '';
if(host === 'myconnect.cancer.gov') measurementID = 'G-3DN8NJWTFW'
else if(host === 'myconnect-stage.cancer.gov') measurementID = 'G-C2YTQG1N5W'
else measurementID = 'G-XCS5HGRS4L'
const gtagSrc = `https://www.googletagmanager.com/gtag/js?id=${measurementID}`
const gtagScript = document.createElement('script');
gtagScript.src = gtagSrc;
document.head.appendChild(gtagScript);
</script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', measurementID);
</script>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>My Connect - Home</title>
<link rel="stylesheet" href="./css/style.css">
<link rel="manifest" href="./manifest.json">
<meta name="theme-color" content="#2a72a5"/>
<link rel="shortcut icon" href="images/icons/Connect-Favicon-96x96.png" type="image/x-icon">
<link rel="apple-touch-icon" href="images/icons/Connect-Favicon-96x96.png">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.8.2/css/all.min.css">
<link rel="stylesheet" href="./lib/bootstrap.min.css">
<link type="text/css" rel="stylesheet" href="https://www.gstatic.com/firebasejs/ui/6.1.0/firebase-ui-auth.css" />
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Noto+Sans&display=swap" rel="stylesheet">
<script
src="https://www.datadoghq-browser-agent.com/datadog-rum-v4.js"
type="text/javascript">
</script>
<script>
const userAgent = navigator.userAgent;
let browserName;
if(userAgent.match(/chrome|chromium|crios/i)){
browserName = "chrome";
} else if (userAgent.match(/firefox/i)){
browserName = "firefox";
} else if(userAgent.match(/safari/i)){
browserName = "safari";
} else if(userAgent.match(/edg/i)){
browserName = "edge";
} else browserName = 'Not supported'
const isValidBrowser = /Chrome/i.test(browserName) || /Firefox/i.test(browserName) || /Safari/i.test(browserName) || /Edge/i.test(browserName);
if(!isValidBrowser){
alert('MyConnect is not supported on your browser. Please use Chrome, Edge, Safari or Firefox.');
}
</script>
</head>
<body>
<main>
<div class="connect-container">
<div class="nci-gov">
National Cancer Institute - Cancer.gov
</div>
<div class="row nci-logo-div d-none d-sm-flex">
<div class="col-lg-4 nci-connect-logo">
<a href="#">
<img src="./images/ConnectDCEGLogo.svg" class="nci-connect-logo-width" alt="" data-i18n="home.connectHeaderLogo">
</a>
</div>
</div>
<div class="row nci-logo-div d-sm-none">
<div class="col-lg-4 nci-connect-logo">
<a href="#">
<img src="./images/ConnectDCEGLogo.svg" class="nci-connect-logo-width-small" alt="" data-i18n="home.connectHeaderLogo">
</a>
</div>
</div>
<nav class="navbar navbar-dark navbar-expand-lg custom-menu-color fixed-top">
<div class="container-fluid">
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarContent"
aria-controls="navbarContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarContent">
<div id="userNavBarContainer" class="navbar-nav me-auto mb-2 mb-lg-0"></div>
<div class="d-flex align-items-center">
<div id="signOutContainer"></div>
</div>
</div>
<div id="languageSelectorContainer" class="ms-3 d-flex align-items-center"></div>
</div>
</nav>
<div style="position: relative;">
<div style="position: absolute; top: 0; right: -5rem; min-width: 300px;" id="showNotification"></div>
</div>
<div id="root"></div>
<div class="modal fade" id="connectMainModal" data-bs-keyboard="false" data-bs-backdrop="static" tabindex="-1" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered modal-lg">
<div class="modal-content sub-div-shadow">
<div class="modal-header allow-overflow" id="connectModalHeader"></div>
<div class="modal-body allow-overflow" id="connectModalBody"></div>
<div class="modal-footer" id="connectModalFooter">
<button type="button" title="Close" class="btn btn-dark" data-bs-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="connectWarningModal" data-bs-keyboard="false" data-bs-backdrop="static" tabindex="-1" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered modal-lg">
<div class="modal-content sub-div-shadow">
<div class="modal-header allow-overflow" id="connectWarningModalHeader"></div>
<div class="modal-body allow-overflow" id="connectWarningModalBody"></div>
<div class="modal-footer" id="connectWarningModalFooter">
<button type="button" id="warningCloseBtn" title="Close" class="btn btn-dark" data-bs-dismiss="modal" disabled>Close</button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="notificationsModal" data-bs-keyboard="false" data-bs-backdrop="static" tabindex="-1" aria-labelledby="notificationHeader" aria-hidden="true">
<div class="modal-dialog modal-dialog-slideout modal-sm notification-modal">
<div class="modal-content sub-div-shadow">
<div class="modal-header">
<h5 class="modal-title" id="notificationHeader">Notifications</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close">
</button>
</div>
<div class="modal-body notification-modal-body" id="notificationBody"></div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div class="modal" id="ssnSoftModal" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" data-i18n="ssn.responseRequested">Response Requested</h5>
</div>
<div id="ssnSoftModalBody" class="modal-body">
<p id="ssnSoftModalBodyText" data-i18n="ssn.ssnSoftModalBodyText">There is 1 unanswered question on this page. Would you like to continue?</p>
</div>
<div id="ssnSoftModalFooter" class="modal-footer">
<button type="button" id=ssnSoftModalContinueButton data-i18n="ssn.ssnSoftModalContinueButton" class="btn btn-light" data-bs-dismiss="modal">Continue Without Answering</button>
<button type="button" id=ssnSoftModalCloseButton data-i18n="ssn.ssnSoftModalCloseButton" class="btn btn-light" data-bs-dismiss="modal">Answer the Question</button>
</div>
</div>
</div>
</div>
<div id="loadingAnimation" role="status" style="display: none;"></div>
</div>
</main>
<footer role="contentinfo">
<div id="footer">
<div class="row footer-content" style="margin:0">
<div class="row w-100" style="margin:0">
<div class="col content-wrapper" data-i18n="footer.nci-dceg">
<div class="dceg-footer align-left text-center text-sm-center">Division of Cancer Epidemiology and Genetics
</div>
<div class="nci-dceg-footer align-left text-center text-sm-center">at the National Cancer Institute</div>
</div>
</div>
<div class="row w-100 pt-0 align-left" style="margin:0">
<div class="col-lg-4 pt-3 content-wrapper text-center text-sm-center">
<div class="footer-heading" data-i18n="footer.Questions">HAVE QUESTIONS?</div>
<div class="footer-sub-heading pt-3" data-i18n="footer.contactLink"><a class="footer-links" target="__blank"
href="https://norcfedramp.servicenowservices.com/recruit">Contact the Connect Support Center</a>
</div>
<div class="footer-sub-heading pt-3" data-i18n="footer.emailUs"><a class="footer-links"
href="mailto:[email protected]">Email Us</a></div>
</div>
<div class="col-lg-4 pt-3 content-wrapper text-center text-sm-center">
<div class="footer-heading" data-i18n="footer.policies">POLICIES</div>
<div class="footer-sub-heading pt-3" data-i18n="footer.accessibility"><a class="footer-links"
target="__blank" href="https://www.cancer.gov/global/web/policies/accessibility">Accessibility</a>
</div>
<div class="footer-sub-heading pt-3" data-i18n="footer.disclaimer"><a class="footer-links" target="__blank"
href="https://www.cancer.gov/policies/disclaimer">Disclaimer</a></div>
<div class="footer-sub-heading pt-3" data-i18n="footer.foia"><a class="footer-links" target="__blank"
href="https://www.cancer.gov/global/web/policies/foia">FOIA</a></div>
<div class="footer-sub-heading pt-3" data-i18n="footer.privacySecurity"><a class="footer-links"
target="__blank" href="https://www.cancer.gov/policies/privacy-security">Privacy & Security</a>
</div>
<div class="footer-sub-heading pt-3" data-i18n="footer.vulnerability"><a class="footer-links"
target="__blank" href="https://www.hhs.gov/vulnerability-disclosure-policy/index.html">HHS
Vulnerability Disclosure</a></div>
<div class="footer-sub-heading pt-3" data-i18n="footer.siteMap"><a class="footer-links" target="__blank"
href="https://dceg.cancer.gov/about/sitemap">Site Map</a></div>
</div>
</div>
<div class="row w-100 pt-5 align-center" style="margin:0">
<ul class="menu w-100" style="padding:0" data-i18n="footer.menuList">
<li class="menu-item p-0 footer-menu-item"><a target="__blank" class="footer-links gov-dept-links p-0"
href="http://www.hhs.gov/">U.S. Department of Health and Human Services</a></li>
<li class="menu-item p-0 footer-menu-item"><a target="__blank" class="footer-links gov-dept-links p-0"
href="http://www.nih.gov/">National Institutes of Health</a></li>
<li class="menu-item p-0 footer-menu-item"><a target="__blank" class="footer-links gov-dept-links p-0"
href="http://www.cancer.gov/">National Cancer Institute</a></li>
<li class="menu-item p-0"><a target="__blank" class="footer-links gov-dept-links p-0"
href="http://www.usa.gov/">USA.gov</a></li>
</ul>
</div>
<div class="row w-100">
<div class="col-md-2">
</div>
<div class="col-md-8">
<p class="gov-dept-links" data-i18n="footer.cancerPrevention">Connect for Cancer Prevention Study, the
Connect for Cancer Prevention Study logo, and “Connect today. Prevent cancer tomorrow.” are trademarks
of the U.S. Department of Health and Human Services (HHS).<sup>®</sup></p>
</div>
<div class="col-md-2">
</div>
</div>
<div class="row w-100" style="margin:0">
<div class="col">
<p class="nih-tagline" data-i18n="footer.nihHealth">NIH…Turning Discovery Into Health<sup>®</sup></p>
<p id="appVersion"></p>
</div>
</div>
</div>
</div>
</footer>
<script type="text/javascript" src="https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
<script type="module" src="./app.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/localforage/1.7.3/localforage.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://www.gstatic.com/firebasejs/9.22.1/firebase-app-compat.js"></script>
<script src="https://www.gstatic.com/firebasejs/9.22.1/firebase-auth-compat.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.0.943/pdf.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/pdf-lib/dist/pdf-lib.js"></script>
<script src="https://cdn.jsdelivr.net/npm/pdf-lib/dist/pdf-lib.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/downloadjs/1.4.8/download.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/downloadjs/1.4.8/download.js"></script>
<script src="./lib/bootstrap.min.js"></script>
</body>
</html>