forked from NCIP/gdc-docs
-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathbase.html
More file actions
210 lines (188 loc) · 11.4 KB
/
Copy pathbase.html
File metadata and controls
210 lines (188 loc) · 11.4 KB
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
<!DOCTYPE html>
<html lang="en">
{# Disable adding the / to all navs #}
{% set disableRootNavPrefixing = true %}
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
{% if page.title == config.extra.gdcmvs_viewer_page_id %}
<meta name="viewport" content="width=1024">
{% else %}
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{% endif %}
{% if page_description %}<meta name="description" content="{{ page_description }}">{% endif %}
{% if site_author %}<meta name="author" content="{{ site_author }}">{% endif %}
{% if page.canonical_url %}<link rel="canonical" href="{{ page.canonical_url }}">{% endif %}
{% if favicon %}<link rel="shortcut icon" href="{{ favicon }}">
{% else %}<link rel="shortcut icon" href="/img/favicon.ico">{% endif %}
<link rel="apple-touch-icon" href="/img/apple-touch-icon.png">
<title>{% if page.title %}{{ page.title }} - {% endif %}{{ site_name }}</title>
<script src="https://assets.adobedtm.com/6a4249cd0a2c/073fd0859f8f/launch-39d47c17b228.min.js"></script>
<link href="/css/bootstrap-custom.css" rel="stylesheet">
<link href="/css/font-awesome-4.5.css" rel="stylesheet">
<link rel="stylesheet" href="/css/highlight.css">
<link href="/css/base.css" rel="stylesheet">
<link href="/css/gdc-common.css" rel="stylesheet">
<link href="/css/gdc-fonts.css" rel="stylesheet">
<link href="/css/encyclopedia.css" rel="stylesheet">
{%- for path in extra_css %}
<link href="{{ path }}" rel="stylesheet">
{%- endfor %}
{% set encyclopedia_pages = [] %}
{% for page in config.pages %}
{% if config.extra.encyclopedia_entries_page_title in page %}
{% for page in page[config.extra.encyclopedia_entries_page_title] %}
{% if encyclopedia_pages.append(page) %}
{% endif %}
{% endfor %}
{% endif %}
{% endfor %}
{% if page.title == config.extra.gdcmvs_viewer_page_id %}
<!-- GDCMVS CSS-->
<link rel="stylesheet" type="text/css" href="{{ config.extra.gdcmvs_app_root }}/lib/css/jquery-ui.min.css" />
<link rel="stylesheet" type="text/css" href="{{ config.extra.gdcmvs_app_root }}/lib/css/pagination.min.css" />
<link rel="stylesheet" type="text/css" href="{{ config.extra.gdcmvs_app_root }}/dist/styles.css" />
{% endif %}
{% if page.title == "Home" %}
<link href="/css/homepage.css" rel="stylesheet">
{% endif %}
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->
{% if google_analytics %}
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', '{{ google_analytics[0] }}', '{{ google_analytics[1] }}');
ga('send', 'pageview');
</script>
{% endif %}
{% if page.title == config.extra.dictionary_viewer_page_id %}
{% include "apps/dictionary/html-shards/dictionary-deps.html" %}
<script src="/js/dictionary-init.js"></script>
{% endif %}
</head>
<body>
<a class="skip-main" href="#main">Skip to main content</a>
{% include "search.html" %}
<!-- div id="sliding-drawer-container" class="sliding-drawer-container">
</div -->
<div class="parent-container">
{% if page.title != config.extra.dictionary_viewer_page_id and page.title != config.extra.gdcmvs_viewer_page_id %}
<div class="spinParticle">
<div class="particle red"></div>
<div class="particle grey other-particle"></div>
<div class="particle blue other-other-particle"></div>
</div>
{% endif %}
{% include "nav.html" %}
<div id="docs-container" class="container">
<div data-current-page="{{page.title}}" id="body">
{% if page.title == "Home" %}
{% include "homepage.html" %}
{% else %}
<!-- {% if toc and ((toc | first) is defined) and current_page.title != config.extra.dictionary_viewer_page_id %}
<div class="col-md-3 toc-container" role="navigation" aria-label="In-Page Navigation">{% include "toc.html" %}</div>
{% endif %} -->
{% if "/Encyclopedia" in page.abs_url %}
{% include "encyclopedia/menu.html" %}
{% elif page.title != config.extra.dictionary_viewer_page_id and page.title != 'Home' and page.title != config.extra.gdcmvs_viewer_page_id %}
{% include "nav-section-map.html" %}
{% elif page.title == 'Home' %}
{% if page.toc and ((page.toc | first) is defined) %}
<div class="col-md-3 toc-container" role="navigation" aria-label="In-Page Navigation">{% include "toc.html" %}</div>
{% endif %}
{% endif %}
{% if page.title == config.extra.dictionary_viewer_page_id or page.title == config.extra.gdcmvs_viewer_page_id %}
<div class="col-md-12 main-container" role="main" id="main" tabindex="-1">
{% else %}
<div class="col-md-9 main-container fadeInBlurIntroOld loading-content-old" role="main" id="main" tabindex="-1">
{% endif %}
{% if page.title == config.extra.encyclopedia_page_title%}
{% include "encyclopedia/index.html" %}
{% else %}
{% include "content.html" %}
{% endif %}
</div>
{% if next_page or previous_page %}
<div class="history-nav-control-container clearfix" role="navigation" aria-label="footer navigation">
{% if next_page.ancestors and next_page.ancestors[0].active and page.title != config.extra.dictionary_viewer_page_id and page.title != config.extra.gdcmvs_viewer_page_id %}
<a href="{{ next_page.url }}" class="btn pull-right indicate-right" title="Click to go to the Next Page: {{ next_page.title }}">
<span class="btn-nav-text">Next:</span> {{next_page.title}} <span class="fa fa-chevron-right"></span>
</a>
{% endif %}
{% if previous_page.ancestors and previous_page.ancestors[0].active and page.title != config.extra.dictionary_viewer_page_id and page.title != config.extra.gdcmvs_viewer_page_id %}
<a href="{{ previous_page.url }}" class="btn pull-left indicate-left" title="Click to go to the Previous Page: {{ previous_page.title }}">
<span class="fa fa-chevron-left"></span> <span class="btn-nav-text">Previous:</span> {{previous_page.title}}</a>
{% endif %}
</div>
{% endif %}
</div>
{% endif %}
</div>
<footer id="docs-footer">
<div class="row">
<div class="col-md-12 footer-caption" role="contentinfo">
<div>
<a href="https://portal.gdc.cancer.gov" target="_blank">Site Home</a>
| <a href="http://www.cancer.gov/global/web/policies" target="_blank">Policies</a>
| <a href="http://www.cancer.gov/global/web/policies/accessibility" target="_blank">Accessibility</a>
| <a href="http://www.cancer.gov/global/web/policies/foia" target="_blank">FOIA</a>
| <a href="https://www.hhs.gov/vulnerability-disclosure-policy" target="_blank">HHS Vulnerability Disclosure</a>
</div>
<div>
<a href="http://www.hhs.gov" target="_blank">U.S. Department of Health and Human Services</a>
| <a href="http://www.nih.gov" target="_blank">National Institutes of Health</a>
| <a href="http://www.cancer.gov" target="_blank">National Cancer Institute</a>
| <a href="http://www.usa.gov" target="_blank">USA.gov</a>
</div>
<div>
NIH... Turning Discovery Into Health ®
</div>
{% if config.extra.version %}
<div class="version-caption">
{{ site_name }} Version {{ config.extra.version }}
</div>
{% endif %}
</div>
</div>
</footer>
<script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.21/lodash.js"></script>
<script src="/js/jquery-1.12.0.min.js"></script>
<script src="/js/jQuery-FontSpy.js"></script>
<script src="/js/bootstrap-3.3.6.min.js"></script>
<script src="/js/highlight.pack.js"></script>
<script src="/js/lunr-0.5.7.min.js"></script>
<script src="/js/jquery.highlight-4.closure.js"></script>
<script src="/js/jquery.bootstrap-autohidingnavbar.min.js"></script>
<script src="/js/jquery.scrollUp.min.js"></script>
<script src="{{ config.extra.dictionary_app_root }}/vendor-deps/d3/d3.min.js"></script>
<script src="{{ config.extra.dictionary_app_root }}/vendor-deps/fetch/fetch.min.js"></script>
<script src="/js/gdc-common.js"></script>
<script src="/js/remarkable-1.7.1.min.js"></script>
<script src="/js/gdc-notifications.js"></script>
<script>var base_url = '{{ base_url }}';</script>
{%- for path in extra_javascript %}
<script src="{{ path }}"></script>
{%- endfor %}
{% if page.title == config.extra.encyclopedia_page_title %}
<script src="/js/encyclopedia.js"></script>
{% endif %}
{% if page.title == config.extra.gdcmvs_viewer_page_id %}
<!-- GDCMVS JS-->
<script type="text/javascript" src="{{ config.extra.gdcmvs_app_root }}/lib/js/jquery-ui.min.js"></script>
<script type="text/javascript" src="{{ config.extra.gdcmvs_app_root }}/lib/js/pagination.min.js"></script>
<script type="text/javascript" src="{{ config.extra.gdcmvs_app_root }}/lib/js/jsrender.min.js"></script>
<script type="text/javascript" src="{{ config.extra.gdcmvs_app_root }}/dist/bundle.js"></script>
{% endif %}
{% if page.title == "Home" %}
<script src="/js/homepage.js"></script>
{% endif %}
</div>
<script type="text/javascript">_satellite.pageBottom();</script>
</body>
</html>