-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
170 lines (136 loc) · 3.36 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
<!DOCTYPE html>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<!-- Latest compiled and minified CSS -->
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<link rel="stylesheet" href="main.css">
</head>
<style>
#chart_container {
position: absolute;
left:500px;
top:180px;
/*background-color: rgba(255,255,255,.7);*/
/*padding-bottom: 100px;*/
}
#chart{
/*padding-bottom: 100px;*/
}
#distid {
padding-left:600px;
margin-bottom: -75px;
}
.btn {
border-radius: 0px !important;
transition: linear, ease-in 0.3s !important;
outline-color: blue;
}
.btn:focus {
/*color: white !important;*/
color: black !important;
}
.btn-default {
color: black !important;
/*background: transparent !important;*/
border: black 0px solid !important;
padding: 2% !important;
}
.btn-default:hover {
color: white !important;
background: black !important;
border-color: black !important;
}
.btn-default:focus {
outline: none !important;
text-decoration: none !important;
/*color: black !important;*/
/*color: white !important;*/
}
.btn-default:active {
background: orange !important;
}
.btn-default a {
color: black !important;
}
.btn-default a:focus {
color: red !important;
}
#FORECAST_TODAY, #FORECAST_TONIGHT, #FORECAST_TOMORROW {
pointer-events:none;
}
.controller-button{
padding: 10px;
margin: 10px;
}
.val{
font-size: 24px;
color: steelblue;
}
.line {
fill: none;
stroke: steelblue;
stroke-width: 1.5px;
}
.line1 {
fill: none;
stroke: steelblue;
/*stroke-width: 1.5px;*/
}
.line2 {
fill: none;
stroke: steelblue;
stroke-width: 1.5px;
}
.zoom {
cursor: move;
fill: none;
pointer-events: all;
}
#overlay {
fill: none;
pointer-events: all;
}
.focus1 circle {
fill: none;
stroke: steelblue;
}
.line1 {
fill: none;
stroke: #ddd;
stroke-width: 1.5px;
}
.selected-date{
float:right;
}
</style>
<body>
<div class="container-fluid info">
<div class = "date col-xs-8 col-md-10">
<h1 class = "current-cond"></h1>
<h3 class = "current-date"></h3>
<h1 class = "pollutant-name"></h1>
<div class = "container-fluid button"></div>
<div class = "legendSize"></div>
</div>
<div class = "weather col-xs-4 col-md-4">
<h4 class = "last-date"></h4>
</div>
</div>
<p class = "selected-date"></p>
<svg width="960" height="500"></svg>
<div id="chart_container">
<div id="chart"></div>
</div>
<script src="//d3js.org/d3.v4.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/topojson/1.6.19/topojson.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.3/underscore-min.js"></script>
<script src="http://d3js.org/queue.v1.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3-legend/2.24.0/d3-legend.min.js"></script>
<!-- Latest compiled and minified JavaScript -->
<script src="//code.jquery.com/jquery-1.11.3.min.js"></script>
<script src="//code.jquery.com/jquery-migrate-1.2.1.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<script src="js/graph.js"></script>
</body>
</html>