-
Notifications
You must be signed in to change notification settings - Fork 0
/
detail.php
163 lines (138 loc) · 4.34 KB
/
detail.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
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
<?php include 'includes/head.html'; ?>
<body id="detail">
<?php include 'includes/header.html'; ?>
<!--DETAIL SPECIFIC CSS -->
<style>
.small{
width: 200px;
margin-right: 10px;
border-width: 2px;
float: left;
margin-top: 40px;
}
.large{
width: 960px;
margin-right: 10px;
border-width: 2px;
float: left;
margin-top: 30px;
margin-bottom: 20px;
}
#deeper_dialog {
overflow-y:auto;
overflow-x:auto;
}
#detail_header {
display: block;
margin-top: 200px;
margin-bottom: 10px;
}
/* Gradient color1 - color2 - color1 */
hr.style-one {
border: 0;
height: 1px;
background: #333;
background-image: -webkit-linear-gradient(left, #ccc, #333, #ccc);
background-image: -moz-linear-gradient(left, #ccc, #333, #ccc);
background-image: -ms-linear-gradient(left, #ccc, #333, #ccc);
background-image: -o-linear-gradient(left, #ccc, #333, #ccc);
}
.axis {
fill: #CCC;
}
#sub_charts{
display: block;
margin-top: 10px;
margin-bottom: 10px;
}
</style>
<div class="content">
<header id="detail_header" class="tab_header">
<hr class="style-one">
<div class="overview_title">Crisis Coverage Detail</div>
<div class="tip">An in-depth exploration for crisis over months of coverage. Click on a bar
for sample
monthly results.</div>
</header>
<div id = "stacked" class = 'large'></div>
<div id="deeper_dialog">
<div id="sub_charts">
<div id ="traditional" class="small"></div>
<div id ="blog" class="small"></div>
<div id ="independent" class="small"></div>
</div>
<div id ="source" class="large"></div>
</div>
</div>
<!-- footer -->
<?php include 'includes/footer.html'; ?>
<!-- Crossfilter Library -->
<script src="libs/crossfilter.v1.min.js"></script>
<!-- Modal Dialog for additional detail -->
<title>jQuery UI Dialog - Basic modal</title>
<link rel="stylesheet" href="css/jquery-ui/jquery.ui.all.css">
<script src="libs/jquery-ui/jquery.ui.core.js"></script>
<script src="libs/jquery-ui/jquery.ui.widget.js"></script>
<script src="libs/jquery-ui/jquery.ui.mouse.js"></script>
<script src="libs/jquery-ui/jquery.ui.draggable.js"></script>
<script src="libs/jquery-ui/jquery.ui.position.js"></script>
<script src="libs/jquery-ui/jquery.ui.resizable.js"></script>
<script src="libs/jquery-ui/jquery.ui.button.js"></script>
<script src="libs/jquery-ui/jquery.ui.dialog.js"></script>
<!--- Data tables -->
<script src="libs/jquery.dataTables.min.js"></script>
<link rel="stylesheet" href="css/jquery.dataTables.css">
<!-- OVERRIDE ANCHOR CSS AFTER JQUERY.DATATABLES MUCKS -->
<style>
.d3-tip {
margin-left: 12px;
line-height: 1;
font-weight: bold;
padding: 12px;
background: rgba(0, 0, 0, 0.8);
color: #fff;
border-radius: 2px;
pointer-events: none; }
.d3-tip:after {
box-sizing: border-box;
display: inline;
font-size: 10px;
width: 100%;
line-height: 1;
color: rgba(0, 0, 0, 0.8);
position: absolute;
pointer-events: none; }
.d3-tip.n:after {
content: "\25BC";
margin: -1px 0 0 0;
top: 100%;
left: 0;
text-align: center; }
.d3-tip.e:after {
content: "\25C0";
margin: -4px 0 0 0;
top: 50%;
left: -8px; }
.d3-tip.s:after {
content: "\25B2";
margin: 0 0 1px 0;
top: -8px;
left: 0;
text-align: center; }
.d3-tip.w:after {
content: "\25B6";
margin: -4px 0 0 -1px;
top: 50%;
left: 100%; }
.dataTable a:hover{
color: #af6e76;
}
.dataTable a{
text-decoration: underline;
color: #636363;
}
</style>
<!-- Details -->
<script src = 'detail.js'> </script>
</body>
</html>