forked from opentargets-archive/webapp
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
342 lines (254 loc) · 18.1 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
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
<!DOCTYPE html>
<html> <!-- ng-app="otApp"> -->
<head>
<title ng-bind-template="{{viewTitle ? viewTitle+' - ' : ''}}Open Targets Platform"></title>
<link rel="shortcut icon" href="imgs/favicons/OT_favicon.png" type="image/png" />
<meta http-equiv="content-type" content="text/html; charset=UTF8">
<meta name="google-site-verification" content="L6ztwjop7Soke4dHLg6YAEwUK6IrTKtQEp8cIUamlKg" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- IE9 -->
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<!--[if lte IE 9]>
<script src="node_modules/aight/aight.min.js"></script>
<![endif]-->
<base href="/">
<!--[if IE]>
<script type="text/javascript">
// Fix for IE ignoring relative base tags.
(function() {
var baseTag = document.getElementsByTagName('base')[0];
baseTag.href = baseTag.href;
})();
</script>
<![endif]-->
<!-- Loading Babel polyfill only for IE 11 -->
<!-- TODO: This loads the polyfill always even if the components that require it are not loaded ever. Can this be included as a conditional dependency in jspm/systemjs? -->
<script type="text/javascript">
if (/Trident.*rv:/.test(navigator.userAgent)) {
document.write('<script src="build/polyfill.min.js"><\/script>');
}
</script>
<!-- meta tag for google crawlers? -->
<meta content="The Open Targets Platform brings together information on the relationships between potential drug targets and diseases." name="description" />
<!-- info for social media sharing -->
<meta property="og:title" content="Open Targets Platform" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://www.targetvalidation.org/" />
<meta property="og:description" content="The Open Targets Platform brings together information on the relationships between potential drug targets and diseases." />
<meta property="og:image" content="https://www.targetvalidation.org/imgs/logo/ot_logo_splash.png" />
<link rel="stylesheet" href="build/OpenTargetsWebapp-3rdParty.css?v=14122017" />
<!-- Don't bundle font-awexome.min.css or the woff files would be broken -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<!-- <link href="build/fontawesome/css/font-awesome.min.css?v=16112015" rel="stylesheet" />
<link href="build/bootstrap/dist/css/bootstrap.min.css?v=08122015" rel="stylesheet" />-->
<link rel="stylesheet" href="build/OpenTargetsWebapp.min.css?v=14122017" />
<!-- Components -->
<link rel="stylesheet" href="build/components-OpenTargetsWebapp.min.css?v=14122017" />
<!-- IE(9) doesn't create console object if not in debug mode. This makes sure it doesn't throw an exception -->
<script type="text/javascript" src="src/js/ie_console_noop.js?v=14122017"></script>
<!-- NEW datatable -->
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/s/bs/jq-2.1.4,dt-1.10.10,b-1.1.0,b-flash-1.1.0,b-html5-1.1.0/datatables.min.css"/>
<!-- <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet"> -->
<!-- App CSS at the end, to override anything required
<link rel="stylesheet" href="build/OpenTargetsWebapp.min.css?v=08122015" />-->
<style>
@font-face {
font-family: 'Glyphicons Halflings';
src: url('../fonts/glyphicons-halflings-regular.eot');
src: url('build/bootstrap/fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'),
url('build/bootstrap/fonts/glyphicons-halflings-regular.woff2') format('woff2'),
url('build/bootstrap/fonts/glyphicons-halflings-regular.woff') format('woff'),
url('build/bootstrap/fonts/glyphicons-halflings-regular.ttf') format('truetype'),
url('build/bootstrap/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}
/*@font-face {*/
/*font-family: 'Glyphicons Halflings';*/
/*src: url(https://maxcdn.bootstrapcdn.com/bootstrap/latest/fonts/glyphicons-halflings-regular.eot);*/
/*src: url(https://maxcdn.bootstrapcdn.com/bootstrap/latest/fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),*/
/*url(https://maxcdn.bootstrapcdn.com/bootstrap/latest/fonts/glyphicons-halflings-regular.woff2) format('woff2'),*/
/*url(https://maxcdn.bootstrapcdn.com/bootstrap/latest/fonts/glyphicons-halflings-regular.woff) format('woff'),*/
/*url(https://maxcdn.bootstrapcdn.com/bootstrap/latest/fonts/glyphicons-halflings-regular.ttf) format('truetype'),*/
/*url(https://maxcdn.bootstrapcdn.com/bootstrap/latestfonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg')*/
/*}*/
</style>
</head>
<body id="ot-page-app">
<!-- piwik opt out -->
<!-- <iframe frameborder=no width=600px height=200px src=http://demo.piwik.org/index.php?module=CoreAdminHome&action=optOut&language=en></iframe> -->
<div class="ot-page-wrapper" ng-controller="PageController">
<!-- main page content -->
<div class="ot-main-container">
<!-- Masthead and navigation -->
<!-- HP only has notifications -->
<!-- other pages have full masthead -->
<div ng-controller="MastheadController">
<div class="masthead ng-cloak" ng-class="location.path()!=='/' ? 'masthead-border' : ''">
<div ng-show="opts.showResponsiveSearch" class="masthead-dimmer"></div>
<div class="container">
<div class="row" >
<!-- single col contains everything and content is floated -->
<div class="col-xs-12">
<!-- OT Platform logo -->
<div class="ot_logo pull-left" ng-if="location.path()!=='/'" ng-class="{'invisible':opts.showResponsiveSearch}">
<a href="/">
<img src="imgs/logo/otp-logo-w-b.svg" class="intro-logo-tvp" width="195px" alt="Open Targets logo"/>
</a>
</div>
<!-- 1: search (on other pages only) -->
<div ng-if="location.path()!=='/'" class="masthead-search-container pull-right" ng-class="{'invisible':opts.showResponsiveSearch}">
<!-- full search box: hide on small screens -->
<div ot-search-box class="hidden-xs hidden-sm masthead-search-menu"></div>
<!-- responsive search box-->
<div class="masthead-responsive-search hidden-md hidden-lg">
<span ng-click="opts.showResponsiveSearch=!opts.showResponsiveSearch" class="fa fa-lg masthead-responsive-search-icon fa-search"></span>
</div>
</div>
<div ng-show="opts.showResponsiveSearch" class="masthead-responsive-search-panel">
<div ng-click="opts.showResponsiveSearch=!opts.showResponsiveSearch" class="masthead-responsive-search pull-right">
<span class="fa fa-lg fa-times masthead-responsive-search-icon"></span>
</div>
<div ot-search-box></div>
</div>
<!-- 2: notifications (as required) -->
<div masthead-notifications-menu class="masthead-notifications-menu pull-right" ng-class="{'invisible':opts.showResponsiveSearch}"></div>
<!-- 3: menu (on other pages only) -->
<div class="pull-right" ng-class="{'invisible':opts.showResponsiveSearch}">
<!-- navigation menu : hide on small screen-->
<ot-masthead-navigation-menu class="hidden-xs hidden-sm"></ot-masthead-navigation-menu>
<!-- here should have hamburger -->
<ot-masthead-navigation-menu is-hamburger="true" class="hidden-md hidden-lg"></ot-masthead-navigation-menu>
</div>
<!-- 4: Batch search icon (on other pages only) -->
<div ng-if="location.path()!=='/'" class="pull-right hidden-xs hidden-sm masthead-batch-search-icon" ng-class="{'invisible':opts.showResponsiveSearch}">
<span uib-popover="Search for several targets" popover-animation="true" popover-class="batch-search-popover" popover-trigger="'mouseenter'" popover-placement="bottom-right" >
<a href="/batch-search">
<i class="fa fa-file-text-o fa-lg"></i>
</a>
</span>
</div>
</div>
</div>
</div>
</div><!-- end masthead -->
</div>
<!-- ERRORS -->
<div class="container main-alert-container">
<div class="row">
<div class="col-sm-12">
<div> </div>
<!-- Authentication error -->
<div uib-alert class="alert-danger" ng-show="showApiErrorMsg" ng-cloak close="showApiErrorMsg=false">
Your session has expired, reload the page to authenticate again <button class="btn btn-default btn-sm" ng-click="reloadPage()">Reload</button>
</div>
<!-- API ERROR 500 -->
<div uib-alert class="alert-danger" ng-show="showApiError500" close="showApiError500=false" ng-cloak>A problem retrieving data has occurred. Please try to reload the page. If the problem persists please contact our <a target=_blank href="mailto:support@targetvalidation.org?Subject=Target Validation Platform - help request">support team</a>
<button class="btn btn-default btn-sm" ng-click="reloadPage()">Reload</button>
</div>
</div>
</div>
</div>
<!-- FEEDBACK BUTTON -->
<!-- Plese re-enable when we want (after integration day?) -->
<div ng-cloak class="ot-feedback-button hidden-xs" ng-controller="FeedbackController" ng-class="{'ot-feedback-button-round': location.path()!='/' }">
<a target=_blank href="mailto:support@targetvalidation.org?Subject=Open Targets Platform - feedback&body=Page URL: {{location.absUrl()}}">
<div>Feedback</div></a>
</div>
<div ng-cloak class="ot-social-panel hidden-xs" ng-controller="FeedbackController" ng-show="location.path()=='/'" ng-click="showSocialMedia=!showSocialMedia">
<div ng-show="showSocialMedia">
<a target=_blank href="https://www.linkedin.com/company/centre-for-therapeutic-target-validation"><div class="ot-social-panel-item ot-social-panel-linkedin"></div></a>
<a target=_blank href="http://twitter.com/targetvalidate"><div class="ot-social-panel-item ot-social-panel-twitter"></div></a>
<a target=_blank href="https://www.facebook.com/OpenTargets/"><div class="ot-social-panel-item ot-social-panel-facebook"></div></a>
</div>
<div class="ot-social-panel-follow" ng-show="!showSocialMedia">Follow us</div>
</div>
<!--<div class="container">-->
<div>
<!-- beta ribbon if not in www -->
<ot-beta-ribbon></ot-beta-ribbon>
<!-- ie < 9? -->
<!--[if lt IE 9]>
<div class="alert alert-danger">
You are using an <strong>outdated browser</strong> and as a result this page is probably not displayed properly. Please <a href="http://whatbrowser.org/">upgrade your browser</a> in order to access our content properly</p>
</div>
<![endif]-->
<!-- javascript disabled ?-->
<noscript>
<div class="alert alert-danger">
Javascript is currently disabled or is not supported by this browser. This page relies on JavaScript to present the data in all its glory. Please enable JavaScript for full functionality.
</div>
</noscript>
<!-- Content -->
<div ng-view autoscroll="true"></div>
<!-- End Content -->
</div>
</div>
<!-- end main page content -->
<!-- Footer -->
<div ot-footer></div>
<!-- End Footer-->
<!-- require.js -->
<script src="jspm_packages/system.js"></script>
<!-- Angular && web app -->
<script src="build/OpenTargetsWebapp-3rdParty.js?v=14122017" type="text/javascript"></script>
<script src="build/OpenTargetsWebapp.min.js?v=14122017" type="text/javascript"></script>
<!-- Components -->
<script type="text/javascript" src="build/components-OpenTargetsWebapp.min.js?v=14122017"></script>
<!-- Blob.js (needed by FileSaver) -->
<script type="text/javascript" language="javascript" src="vendor/Blob.js"></script>
<!-- Pathway viewer -->
<script type="text/javascript" language="javascript" src="/proxy/www.reactome.org/DiagramJs/diagram/diagram.nocache.js?v=14122017"></script>
<!-- Protein viewer -->
<!--<script type="text/javascript" language="javascript" src="vendor/bio-pv.min.js"></script>-->
<!-- PDB viewers -->
<!-- <link rel="stylesheet" href="https://wwwdev.ebi.ac.uk/pdbe/widgets/pdb-component-library/css/pdb.component.library.beta-1.0.0.min.css" /> -->
<!-- <script src="//wwwdev.ebi.ac.uk/pdbe/widgets/pdb-component-library/libs/Three.js"></script>
<script src="//wwwdev.ebi.ac.uk/pdbe/widgets/pdb-component-library/js/pdb.component.library.min.2.0.js"></script> -->
<!-- <script src="/vendor/pdbWidgets/Three.js"></script>
<script src="/vendor/pdbWidgets/pdb.component.library.complete.js"></script> -->
<!-- ie9 cors support -->
<!--[if lte IE 9]>
<script language="JavaScript" type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery-ajaxtransport-xdomainrequest/1.0.3/jquery.xdomainrequest.min.js"></script>
<![endif]-->
<!-- NEW datatable -->
<script type="text/javascript" src="https://cdn.datatables.net/s/bs/jq-2.1.4,dt-1.10.10,b-1.1.0,b-flash-1.1.0,b-html5-1.1.0/datatables.min.js"></script>
<!-- Cookie notification-->
<script type="text/javascript" id="cookiebanner" src="./vendor/cookiebanner/cookiebanner.min.js"
data-height="50px"
data-link="#337ab7"
data-fontfamily="inherit"
data-close-text="<span class='btn btn-success btn-xs'><i class='fa fa-check-circle'></i> OK</span>"
data-moreinfo="http://ec.europa.eu/ipg/basics/legal/cookies/index_en.htm" >
</script>
<!-- Pdf viewer -->
<script src="./vendor/pdfobject.min.js"></script>
<!-- Piwik -->
<script type="text/javascript" src="./piwik.js"></script>
<noscript><p><img src="//opentargets.piwikpro.com/piwik.php?idsite=1" style="border:0;" alt="" /></p></noscript>
<!-- End Piwik Code -->
<!-- Log page app session -->
<!--<ot-log-session></ot-log-session>-->
</div>
<!-- Ghost blog stuff -->
<!-- <script type="text/javascript" src="/shared/ghost-url.min.js?v=0a3b27d889"></script> -->
<script type="text/javascript" src="https://blog.opentargets.org/shared/ghost-url.min.js?v=0a3b27d889"></script>
<script type="text/javascript">
ghost.init({
clientId: "ghost-frontend",
clientSecret: "a9fe83f50655"
});
// console.log("ghost:");
// console.log(ghost);
</script>
<!-- Facebook feeds scripts -->
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "https://connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v2.7";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<!-- Twitter feeds stuff -->
<script src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
</body>
</html>