-
Notifications
You must be signed in to change notification settings - Fork 37
/
index.html
executable file
·186 lines (161 loc) · 9.41 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
<!doctype html>
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]-->
<!-- Consider adding an manifest.appcache: h5bp.com/d/Offline -->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<!-- Use the .htaccess and remove these lines to avoid edge case issues.
More info: h5bp.com/b/378 -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Quality of Life Dashboard</title>
<meta name="description" content="Quality of Life Dashboard">
<meta name="author" content="Tobin Bradley">
<!-- Mobile viewport optimized: j.mp/bplateviewport -->
<meta name="viewport" content="width=device-width,initial-scale=1">
<!-- jQuery UI CSS -->
<link type="text/css" media="all" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/themes/black-tie/jquery-ui.css" rel="stylesheet" />
<!-- CSS: implied media=all -->
<link href='http://fonts.googleapis.com/css?family=Corben:700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/style.css">
<!-- end CSS-->
<!-- More ideas for your <head> here: h5bp.com/d/head-Tips -->
<!-- All JavaScript at the bottom, except for Modernizr / Respond.
Modernizr enables HTML5 elements & feature detects; Respond is a polyfill for min/max-width CSS3 Media Queries
For optimal performance, use a custom Modernizr build: www.modernizr.com/download/ -->
<script src="js/libs/modernizr-2.0.6.min.js"></script>
</head>
<body>
<header>
<div id="title">
<h3>Quality of Life</h3>
<h1>Dashboard</h1>
</div>
<div style="background: rgb(45,45,45);" >
<nav>
<ul>
<li><a href="javascript:void(0)" id="selectNone">Welcome</a></li>
<li><a href="javascript:void(0)" id="report">Print Report</a></li>
<li><a href="http://www.google.com/fusiontables/DataSource?snapid=S289817c03d" target="_blank">Access Data</a></li>
<li><a href="javascript:void(0)" id="translate">Translate</a></li>
<li><a href="javascript:void(0)" id="tutorial">Video Tutorial</a></li>
</ul>
</nav>
</div>
</header>
<div id="container">
<div id="main" role="main" class="clearfix">
<div id="google_translate_element" class="hidden"></div>
<div id="search">
<input id="searchbox" class="transition" type="textbox" placeholder="Enter Address" />
</div>
<div id="map">
<select id="mapIndicie" class="transition"></select>
<div id="map-canvas"></div>
</div>
<aside>
<div id="welcome">
<h3 style="color: red; margin-top: 0; ">Warning! This system is alpha quality and is under development. Don't believe anything you see here.</h3>
<h3>Welcome the the Quality of Life Dashboard</h3>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a lorem id ipsum sagittis faucibus sit amet vel nisl. Cras vel eros felis, a volutpat lacus. Suspendisse potenti. Praesent a sem felis, et luctus justo. Nulla quis felis eu nisi vestibulum rhoncus at at orci. Mauris tempus, lorem et faucibus tincidunt, arcu nisl adipiscing velit, non placerat nulla nibh vitae neque. Pellentesque facilisis, enim nec pharetra eleifend, tortor arcu molestie diam, eu viverra ligula est eget magna. Curabitur id imperdiet metus. Sed nec ipsum adipiscing purus lobortis rutrum. Etiam luctus euismod nunc vitae molestie. Morbi vel diam erat.
</p>
<p>
In vel auctor ante. Suspendisse rhoncus commodo ipsum, eget consectetur urna aliquet ac. Donec a hendrerit magna. Aliquam erat volutpat. Integer lacinia justo et quam adipiscing pharetra.
</p>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a lorem id ipsum sagittis faucibus sit amet vel nisl. Cras vel eros felis, a volutpat lacus. Suspendisse potenti. Praesent a sem felis, et luctus justo. Nulla quis felis eu nisi vestibulum rhoncus at at orci. Mauris tempus, lorem et faucibus tincidunt, arcu nisl adipiscing velit, non placerat nulla nibh vitae neque.
</p>
</div>
<div id="selected-summary" class="hidden">
<div class="measureDetails">
<h3>Metric 1 <a href="#" class="transition">Blue</a></h3>
<h4 id="selectedNeighborhood">Neighborhood</h4>
<div id='details_chart' class="chart"><img src="http://chart.apis.google.com/chart?chf=bg,s,00000000&chxr=0,0,100&chxl=1:|2010&chxt=x&chbh=a,4,9&chs=350x75&cht=bhg&chco=4D89F9,C6D9FD&chds=0,100,0,100&chd=t:81|49&chdl=Neightborhood|County+Average&chdlp=t&chg=-1,0" /></div>
<h4>What is this Indicator?</h4>
<div id="indicator_description">
In vel auctor ante. Suspendisse rhoncus commodo ipsum, eget consectetur urna aliquet ac. Donec a hendrerit magna. Aliquam erat volutpat. Integer lacinia justo et quam adipiscing pharetra.
</div>
<h4>Why is this Important?</h4>
<div id="indicator_why">
In vel auctor ante. Suspendisse rhoncus commodo ipsum, eget consectetur urna aliquet ac. Donec a hendrerit magna. Aliquam erat volutpat. Integer lacinia justo et quam adipiscing pharetra.
</div>
<h4>Technical Notes</h4>
<div id="indicator_technical">
In vel auctor ante. Suspendisse rhoncus commodo ipsum, eget consectetur urna aliquet ac. Donec a hendrerit magna. Aliquam erat volutpat. Integer lacinia justo et quam adipiscing pharetra.
</div>
<h4>Data Source</h4>
<div id="indicator_source">
In vel auctor ante. Suspendisse rhoncus commodo ipsum, eget consectetur urna aliquet ac. Donec a hendrerit magna. Aliquam erat volutpat. Integer lacinia justo et quam adipiscing pharetra.
</div>
<h4>Additional Resources</h4>
<div id="indicator_resources">
<a href="javascript:void(0)">Link 1</a>, <a href="javascript:void(0)">Link 2</a>, <a href="javascript:void(0)">Link 3</a>
</div>
<h4>Permalink</h4>
<div>
<span id="permalink"><a href=""></a></span>
</div>
</div>
</div>
</aside>
</div>
<footer>
<p id="social_media" class="screen-only">
<a target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fmaps.co.mecklenburg.ns.us%2Fqoldashboard%2F"><img src="img/social/facebook.png" height="32" width="32" title="Share on Facebook" /></a>
<a target="_blank" href="http://twitter.com/home?status=http%3A%2F%2Fmaps.co.mecklenburg.ns.us%2Fqoldashboard%2F"><img src="img/social/twitter.png" height="32" width="32" title="Share on Twitter" /></a>
<a target="_blank" href="https://m.google.com/app/plus/x/?v=compose&content=http%3A%2F%2Fmaps.co.mecklenburg.ns.us%2Fqoldashboard%2F"><img src="img/social/googleplus.png" height="32" width="32" title="Share on Google+" /></a>
</p>
<p>
<a href="http://charmeck.org/city/charlotte/Pages/default.aspx">City of Charlotte</a>
·
<a href="http://charmeck.org/mecklenburg/county/Pages/Default.aspx">Mecklenburg County</a>
·
<a href="http://www.uncc.edu/">UNC Charlotte</a>
</p>
</footer>
</div> <!--! end of #container -->
<div> </div> <!-- TODO: figure out why I can't get some bottom margin without something here. -->
<!-- jQuery UI Dialogs - Not visible at runtime -->
<!-- Create report dialog -->
<div id="report-dialog" title="Create PDF Report" class="hidden">
<form action="php/report.php" method="get" target="_blank">
<input type="hidden" name="m" id="report_measures" value="">
<h4>Neighborhood</h4>
<p>
<select id="report_neighborhood" name="n"></select>
</p>
<h4>Metrics</h4>
<p id="report-metrics"></p>
<input type="submit" id="submitPDFReport" name="mysubmit" value="Go!" />
<a href="php/report.php" target="_blank" class="hidden">Try Work in Progress</a>
</form>
</div>
<!-- Tutorial dialog -->
<div id="tutorial-dialog" title="Tutorial Video" class="hidden">
<iframe width="480" height="360" src="http://www.youtube.com/embed/dQw4w9WgXcQ" frameborder="0" allowfullscreen></iframe>
</div>
<!-- JavaScript at the bottom for fast page loading -->
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=true"></script>
<!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if offline -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"></script>
<!-- scripts concatenated and minified via ant build script-->
<script defer src="js/plugins.js"></script>
<script defer src="js/map.js"></script>
<script defer src="js/script.js"></script>
<!-- end scripts-->
<!-- Google Translate -->
<script>
function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'en',
layout: google.translate.TranslateElement.InlineLayout.HORIZONTAL
}, 'google_translate_element');
}
</script>
<script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
</body>
</html>