-
Notifications
You must be signed in to change notification settings - Fork 0
/
timeline.php
85 lines (67 loc) · 2.99 KB
/
timeline.php
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>DataMed | bioCADDIE DDI</title>
<meta name="description" content="">
<meta name="author" content="">
<!-- Styles -->
<link href="vendor/jquery/jquery-ui.css" rel="stylesheet"/>
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
<link href="vendor/bootstrap/css/bootstrap-theme.min.css" rel="stylesheet" />
<link href="./vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" />
<link href="./css/theme.css" rel="stylesheet">
<link href="./css/expand.css" rel="stylesheet">
<!-- Scripts -->
<script src="vendor/jquery/jquery-1.11.3.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.min.js"></script>
<script src="./vendor/d3/d3.v3.min.js"></script>
<!--[if lt IE 9]>
<script src="./js/ie8-responsive-file-warning.js"></script>
<![endif]-->
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="./js/html5shiv.min.js"></script>
<script src="./js/respond.min.js"></script>
<![endif]-->
<script type="text/javascript" src="./js/js.cookie.js"></script>
<!---For sign in using google account-->
<meta name="google-signin-scope" content="profile email">
<meta name="google-signin-client_id" content="XXXXXX.apps.googleusercontent.com">
<script src="./js/platform.js" async defer></script>
<script type="text/javascript" src="./js/loadingoverlay.min.js"></script>
<script type="text/javascript" src="./js/global.scripts.js"></script>
<script src="./vendor/d3/d3.layout.cloud.js"></script>
<script src="./vendor/d3/d3-tip.js"></script>
<!--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', 'XXXXXXX', 'auto');
ga('send', 'pageview');
</script>
</head>
<?php
require_once dirname(__FILE__) . '/config/config.php';
require_once dirname(__FILE__) . '/Model/SearchBuilder.php';
require_once dirname(__FILE__) . '/Model/ConstructSearchView.php';
require_once dirname(__FILE__) . '/views/search/timeline.php';
$searchBuilder = new SearchBuilder();
$searchBuilder->timelineFlag = true;
$searchBuilder->searchSelectedRepo();
$searchView = new ConstructSearchView($searchBuilder);
?>
<body>
<?php
if ($searchBuilder->getSearchType() == 'data') {
echo partialTimeLine($searchBuilder);
}
?>
<div id="repo-filter"></div>
</body>
</html>