forked from episphere/dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
105 lines (103 loc) · 6.88 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
<!DOCTYPE html>
<html lang="en">
<head>
<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>Site Study Manager Dashboard</title>
<link rel="shortcut icon" href="assets/images/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="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/dashboard.css">
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/pikaday/css/pikaday.css">
<script
src="https://www.datadoghq-browser-agent.com/datadog-rum-v4.js"
type="text/javascript">
</script>
<script>
const host = location.host;
let measurementID = '';
if(host === 'dashboard-myconnect.cancer.gov') measurementID = 'G-YBD450K10S'
else if(host === 'dashboard-myconnect-stage.cancer.gov') measurementID = 'G-29BD50GYSD'
else measurementID = 'G-HPFBFBVJYS'
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>
<script>
document.addEventListener("DOMContentLoaded", function () {
document.addEventListener("click", function (event) {
// Check if the navbar and the menu button exist
const navbar = document.getElementById("navbar_id");
const menuButton = document.getElementById("hamburger_menu_button");
const menuContent = document.getElementById("navbarNavAltMarkup");
if (navbar && menuButton && menuContent) {
// if the clicked element isn't a child of the navbar and the menu is open, close it
if (!event.target.closest("#navbar_id") && menuContent.classList.contains("show")) {
menuButton.click();
}
}
});
});
</script>
</head>
<body>
<nav class="navbar navbar-light bg-light fixed-top" id="navbar_id">
<a class="navbar-brand" href="#"><img height="50px" width="140px" src="assets/images/connect.png" alt="Connect blue logo"></a>
<button class="navbar-toggler" type="button" id="hamburger_menu_button" data-toggle="collapse" data-target="#navbarNavAltMarkup" aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavAltMarkup">
<div class="navbar-nav" id="navBarLinks"></div>
</div>
</nav>
<div>
<div id="mainContent"></div>
<div id="loadingAnimation" role="status" style="display: none;"></div>
<div style="position: relative;">
<div style="position: absolute; top: 0; right: -5rem; min-width: 300px;" id="showNotification">
</div>
</div>
</div>
<div class="row footer-content">
<div class="col content-wrapper">
<ul class="menu">
<li class="menu-item links-border-right"><a class="footer-links" href="https://dceg.cancer.gov/research/who-we-study/cohorts/connect">DCEG Connect</a></li>
<li class="menu-item links-border-right"><a class="footer-links" href="https://dceg.cancer.gov/">DCEG Home</a></li>
<li class="menu-item links-border-right"><a class="footer-links" href="https://dceg.cancer.gov/about/contact-dceg">Contact DCEG</a></li>
<li class="menu-item links-border-right"><a class="footer-links" href="https://www.cancer.gov/global/web/policies">Policies</a></li>
<li class="menu-item links-border-right"><a class="footer-links" href="https://www.cancer.gov/global/web/policies/accessibility">Accessibility</a></li>
<li class="menu-item links-border-right"><a class="footer-links" href="https://www.cancer.gov/global/viewing-files">Viewing files</a></li>
<li class="menu-item links-border-right"><a class="footer-links" href="https://www.cancer.gov/global/web/policies/foia">FOIA</a></li>
<li class="menu-item"><a class="footer-links" href="https://dceg.cancer.gov/about/sitemap">DCEG Sitemap</a></li>
</ul>
<ul class="menu">
<li class="menu-item links-border-right"><a class="footer-links" href="http://www.hhs.gov/">U.S. Department of Health and Human Services</a></li>
<li class="menu-item links-border-right"><a class="footer-links" href="http://www.nih.gov/">National Institutes of Health</a></li>
<li class="menu-item links-border-right"><a class="footer-links" href="http://www.cancer.gov/">National Cancer Institute</a></li>
<li class="menu-item"><a class="footer-links" href="http://www.usa.gov/">USA.gov</a></li>
</ul>
<p class="menu footer-tagline">NIH…Turning Discovery Into Health<sup>®</sup></p>
<p id="appVersion"></p>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.3/jquery.min.js" defer></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js" defer></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" defer></script>
<script src="https://cdn.plot.ly/plotly-latest.min.js" defer></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://www.gstatic.com/firebasejs/7.14.2/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.14.2/firebase-auth.js"></script>
<script src="https://cdn.jsdelivr.net/npm/pikaday/pikaday.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/showdown/1.9.1/showdown.min.js" integrity="sha512-L03kznCrNOfVxOUovR6ESfCz9Gfny7gihUX/huVbQB9zjODtYpxaVtIaAkpetoiyV2eqWbvxMH9fiSv5enX7bw==" crossorigin="anonymous"></script>
<script type="module" src="index.js"></script>
</body>
</html>