-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
executable file
·275 lines (249 loc) · 12.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
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/c3/0.4.11/c3.min.css">
<script src="js/d3.v3.min.js" charset="utf-8"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/c3/0.4.11/c3.min.js"></script>
<!-- <script src="https://code.jquery.com/jquery-3.2.1.js"></script> -->
<script src="js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="js/dashboard.js" type="text/javascript"></script>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- Meta, title, CSS, favicons, etc. -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Mozilla Study Group Events</title>
<!-- Bootstrap -->
<link href="https://colorlib.com/polygon/vendors/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Font Awesome -->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<!-- NProgress -->
<link href="https://colorlib.com/polygon/vendors/nprogress/nprogress.css" rel="stylesheet">
<!-- bootstrap-progressbar -->
<link href="https://colorlib.com/polygon/vendors/bootstrap-progressbar/css/bootstrap-progressbar-3.3.4.min.css" rel="stylesheet">
<!-- bootstrap-daterangepicker -->
<link href="https://colorlib.com/polygon/vendors/bootstrap-daterangepicker/daterangepicker.css" rel="stylesheet">
<!-- Custom Theme Style -->
<link href="https://colorlib.com/polygon/build/css/custom.min.css" rel="stylesheet">
</head>
<body class="nav-md" onload="init_1()">
<div class="container body">
<div class="main_container">
<div class="col-md-3 left_col">
<div class="left_col scroll-view">
<div class="navbar nav_title" style="border: 0;">
<div class="site_title"><img src="resources/moz.png" style="width:38px;height:29px;"> <span>Mozilla SGStats</span></div>
</div>
<div class="clearfix"></div>
<!-- menu profile quick info -->
<!-- /menu profile quick info -->
<br />
<!-- sidebar menu -->
<div id="sidebar-menu" class="main_menu_side hidden-print main_menu">
<div class="menu_section">
<ul class="nav side-menu">
<li><a><i class="fa fa-home"></i> Home <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu">
<li><a href="index.html" target="_blank">Dashboard</a></li>
<li><a href="https://mozillascience.github.io/studyGroupEvents/" target="_blank">Study Group Events</a></li>
<li><a href="https://github.com/mozillascience/studyGroupStats/blob/master/README.md" target="_blank">Check out <i class="fa fa-github"></i></a></li>
<li><a href="https://docs.google.com/forms/d/1RjTk19ca851y9x4e2hUgPTRWOzEH5y6dffpMxuj9NrQ/edit" target="_blank">Feedback</a></li>
</ul>
</li>
</ul>
</div>
<div class="menu_section">
<ul class="nav side-menu">
</ul>
</div>
</div>
<!-- /sidebar menu -->
<!-- /menu footer buttons -->
<!-- /menu footer buttons -->
</div>
</div>
<!-- top navigation -->
<div class="top_nav">
<div class="nav_menu">
<nav>
<div class="nav toggle">
<a id="menu_toggle"><i class="fa fa-bars"></i></a>
</div>
</nav>
</div>
</div>
<!-- /top navigation -->
<!-- page content -->
<div class="right_col" role="main">
<div class="">
<div class="row top_tiles" style="margin: 10px 0;">
<div class="col-md-3 col-sm-3 col-xs-6 tile">
<h3>Total Study Groups: </h3>
<h3 id="fork_id" style="color: #26B99A;"></h3>
<span>The Mozilla Study <i class="fa fa-group"></i> program is a global community of peer-to-peer research groups and learning communities built on open source software and curriculum sharing.</span>
</div>
<div class="col-md-3 col-sm-3 col-xs-6 tile">
<h3>Total Forks: </h3>
<h3 style="color: #26B99A;">407</h3>
<span>Study Group Leads <i class="fa fa-code-fork"></i> the Study Group site on github and customize that template according to their own events, members, languages and color preferences.</span>
</div>
<div class="col-md-3 col-sm-3 col-xs-6 tile">
<h3>Total Events:</h3>
<h3 id="event_id" style="color: #26B99A;"></h3>
<span>Our Study Groups organize regular <i class="fa fa-calendar"></i> related to peer-learning across disciplinary boundaries, and contribute to our annual Mozilla Global Sprint.</span>
</div>
<div class="col-md-3 col-sm-3 col-xs-6 tile">
<h3>Total Countries:</h3>
<h3 id="country_id" style="color: #26B99A;"></h3>
<span>These data come from our Study Group Map <i class="fa fa-globe"></i>, and you can find that dataset <a href="https://github.com/mozillascience/studyGroupStats/blob/master/data/whereweare.geojson"><b><u><i>here</i></u></b></a> and the map <a href="https://science.mozilla.org/programs/studygroups"><b><u><i>here</i></u></b></a></span>
</div>
</div>
<br />
<div class="row">
<div class="col-md-12 col-sm-12 col-xs-12">
<div class="dashboard_graph x_panel">
<div class="row x_title">
<div class="col-md-6">
<h3>Study Group Activities <small>Number of Events</small></h3>
</div>
<div class="col-md-6">
<input type="text" name="fname" placeholder="Find Study Group">
<button onclick="show(document.querySelector('input').value)">Search</button>
<button onclick="init_1()">Reset</button>
<button onclick="export_csv_1()">Export CSV</button>
</div>
</div>
<div class="x_content">
<div class="demo-container" style="height:350px">
<div id="chart_1"></div>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12 col-sm-12 col-xs-12">
<div class="dashboard_graph x_panel">
<div class="row x_title">
<div class="col-md-6">
<h3>Study Group Activities <small>Types of Lessons</small></h3>
</div>
<div class="col-md-6">
<button onclick="init_2()">Reset</button>
</div>
</div>
<div class="x_content">
<div class="demo-container" style="height:350px">
<div id="chart_2"></div>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12 col-sm-12 col-xs-12">
<div class="dashboard_graph x_panel">
<div class="row x_title">
<div class="col-md-6">
<h3>Levels of Lessons</h3>
</div>
<div class="col-md-6">
</div>
</div>
<div class="x_content">
<div class="demo-container" style="height:350px">
<div id="chart_3"></div>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12 col-sm-12 col-xs-12">
<div class="dashboard_graph x_panel">
<div class="row x_title">
<div class="col-md-6">
<h3>Study Group Activities Around the World</h3>
</div>
<div class="col-md-6">
<button onclick="init_4()">Reset</button>
<button onclick="export_csv_2()">Export CSV</button>
</div>
</div>
<div class="x_content">
<div class="demo-container" style="height:350px">
<div id="chart_4"></div>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12 col-sm-12 col-xs-12">
<div class="dashboard_graph x_panel">
<div class="row x_title">
<div class="col-md-6">
<h3>Study Group Members</h3>
</div>
<div class="col-md-6">
<button onclick="init_5()">Reset</button>
</div>
</div>
<div class="x_content">
<div class="demo-container" style="height:350px">
<div id="chart_5"></div>
</div>
</div>
</div>
</div>
</div>
<!-- /page content -->
<!-- footer content -->
<footer>
<div class="pull-right">
</div>
<div class="clearfix"></div>
</footer>
<!-- /footer content -->
</div>
</div>
<!-- jQuery -->
<script src="https://colorlib.com/polygon/vendors/jquery/dist/jquery.min.js"></script>
<!-- Bootstrap -->
<script src="https://colorlib.com/polygon/vendors/bootstrap/dist/js/bootstrap.min.js"></script>
<!-- FastClick -->
<script src="https://colorlib.com/polygon/vendors/fastclick/lib/fastclick.js"></script>
<!-- NProgress -->
<script src="https://colorlib.com/polygon/vendors/nprogress/nprogress.js"></script>
<!-- Chart.js -->
<script src="https://colorlib.com/polygon/vendors/Chart.js/dist/Chart.min.js"></script>
<!-- jQuery Sparklines -->
<script src="https://colorlib.com/polygon/vendors/jquery-sparkline/dist/jquery.sparkline.min.js"></script>
<!-- morris.js -->
<script src="https://colorlib.com/polygon/vendors/raphael/raphael.min.js"></script>
<script src="https://colorlib.com/polygon/vendors/morris.js/morris.min.js"></script>
<!-- gauge.js -->
<script src="https://colorlib.com/polygon/vendors/gauge.js/dist/gauge.min.js"></script>
<!-- bootstrap-progressbar -->
<script src="https://colorlib.com/polygon/vendors/bootstrap-progressbar/bootstrap-progressbar.min.js"></script>
<!-- Skycons -->
<script src="https://colorlib.com/polygon/vendors/skycons/skycons.js"></script>
<!-- Flot -->
<script src="https://colorlib.com/polygon/vendors/Flot/jquery.flot.js"></script>
<script src="https://colorlib.com/polygon/vendors/Flot/jquery.flot.pie.js"></script>
<script src="https://colorlib.com/polygon/vendors/Flot/jquery.flot.time.js"></script>
<script src="https://colorlib.com/polygon/vendors/Flot/jquery.flot.stack.js"></script>
<script src="https://colorlib.com/polygon/vendors/Flot/jquery.flot.resize.js"></script>
<!-- Flot plugins -->
<script src="https://colorlib.com/polygon/vendors/flot.orderbars/js/jquery.flot.orderBars.js"></script>
<script src="https://colorlib.com/polygon/vendors/flot-spline/js/jquery.flot.spline.min.js"></script>
<script src="https://colorlib.com/polygon/vendors/flot.curvedlines/curvedLines.js"></script>
<!-- DateJS -->
<script src="https://colorlib.com/polygon/vendors/DateJS/build/date.js"></script>
<!-- bootstrap-daterangepicker -->
<script src="https://colorlib.com/polygon/vendors/moment/min/moment.min.js"></script>
<script src="https://colorlib.com/polygon/vendors/bootstrap-daterangepicker/daterangepicker.js"></script>
<!-- Custom Theme Scripts -->
<script src="https://colorlib.com/polygon/build/js/custom.min.js"></script>
</body>
</html>