-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
164 lines (153 loc) · 8.3 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link type="text/css" rel="stylesheet" href="bower_components/bootswatch/darkly/bootstrap.min.css" media="all">
<link type="text/css" rel="stylesheet" href="css/normalize.css">
<link type="text/css" rel="stylesheet" href="css/style.css">
<title>MozFest Network Mapping</title>
</head>
<body>
<nav class="navbar navbar-default navbar-fixed-top navbar-transparent">
<div class="container">
<!-- star un-collapsed navbar-->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html" onclick="ga('send', 'event', 'view', 'nav', 'index');">MozFest Network Mapping</a>
</div>
<!-- star un-collapsed navbar-->
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false" onclick="ga('send', 'event', 'view', 'visualisation', 'menu');">Visualisation <span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li id="concentric"><a href="#" onclick="ga('send', 'event', 'view', 'visualisation', 'concentric');">Concentric</a></li>
<li id="cose-bilkent"><a href="#" onclick="ga('send', 'event', 'view', 'visualisation', 'cose-bilkent');">CoSE-Bilkent</a></li>
<li id="circle"><a href="#" onclick="ga('send', 'event', 'view', 'visualisation', 'circle');">Circle</a></li>
<li id="grid"><a href="#" onclick="ga('send', 'event', 'view', 'visualisation', 'grid');">Grid</a></li>
</ul>
</li>
<li><a href="#people" onclick="ga('send', 'event', 'view', 'connecting-people', 'card-group');">Connecting People</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="#about" data-toggle="modal" data-target="#about" onclick="ga('send', 'event', 'view', 'nav', 'about');">About</a></li>
</ul>
<form class="navbar-form navbar-right" role="search">
<div class="form-group">
<div class="input-group">
<span class="input-group-addon">@</span>
<input type="text" class="form-control" id="query" data-provide="typeahead" placeholder="Search @people">
<span class="input-group-btn">
<button type="button" class="btn btn-default" id="submit" onclick="ga('send', 'event', 'view', 'nav', 'search-handle');">Search</button>
</span>
</div>
</div>
</form>
</div>
</div>
</nav>
<div class="container-fluid">
<div id="vis"></div>
</div>
<div id="people" class="container">
</div>
<!-- about section as modal -->
<div id="about" class="modal fade" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h3 class="modal-title">Welcome to MozFest Network Mapping!</h3>
</div>
<div class="modal-body">
<h4 class="breadcrumb">Visualisation: Explore the MozFest network in real time</h4>
<p>Four types of visualisations guide you to explore how the network looks like.</p>
<ul>
<li>Concentric: Places people with more connections in levels toward the centre</li>
<li>CoSE-Bilkent: Displays the network in a classic way a.k.a. force layout</li>
<li>Circle: Randomly distributes people on a globe</li>
<li>Grid: Places people with more connections toward upper rows in a grid</li>
</ul>
<p>Navigate and interact with the network.</p>
<ul>
<li>Search people with Twitter handles (e.g. mozillafestival).</li>
<li>Hover over, click, or double-click nodes.</li>
</ul>
<hr>
<h4 class="breadcrumb">Connecting People: Meet with other participants</h4>
<p>Take a look at participant cards to find whom you should connect with.</p>
<ul>
<li>Chance Encounter: Randomly displays registered participants</li>
<li>Recent Registration: Displays recently registered participants</li>
<li>Community Bridge: Leaders bridging unconnected people (betweenness)</li>
</ul>
<hr>
<h4 class="breadcrumb">Want to join? Register your Twitter handle!</h4>
<p>Submit your Twitter handle via <a href="register.html" target="_blank" onclick="ga('send', 'event', 'link', 'about', 'register');">here</a> or the form below:</p>
<form class="navbar-form" role="search">
<div class="form-group">
<div class="input-group">
<span class="input-group-addon">@</span>
<input type="text" class="form-control" id="handle" placeholder="Your Twitter handle">
<span class="input-group-btn">
<button type="button" class="btn btn-default" id="register" onclick="ga('send', 'event', 'view', 'about', 'submit-handle');">Submit</button>
</span>
</div>
</div>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal" onclick="ga('send', 'event', 'view', 'about', 'close');">Close</button>
</div>
</div>
</div>
</div>
<div class="container">
<footer>
<div class="row">
<div class="col-md-12 col-xs-12">
<ul class="list-unstyled">
<li class="pull-right"><a href="#top" onclick="ga('send', 'event', 'view', 'footer', 'back-to-top');">Back to top</a></li>
<li><a href="https://www.facebook.com/meenchul.kim" target="_blank" class="icon fa-facebook" onclick="ga('send', 'event', 'link', 'facebook', 'developer');">Facebook</a></li>
<li><a href="https://twitter.com/timerides" target="_blank" onclick="ga('send', 'event', 'link', 'twitter', 'developer');">Twitter</a></li>
<li><a href="https://github.com/liberaliscomputing/network-mapping" target="_blank" onclick="ga('send', 'event', 'link', 'github', 'project-source');">GitHub</a></li>
<li><a href="#about" data-toggle="modal" data-target="#about" onclick="ga('send', 'event', 'view', 'footer', 'about');">About</a></li>
</ul>
<p>Developed by <a href="http://www.meenchulkim.info" target="_blank" onclick="ga('send', 'event', 'link', 'developer', 'website');">Meen Chul Kim</a>.</p>
<p>Code released under the <a href="https://github.com/liberaliscomputing/network-mapping-js/blob/master/LICENSE" target="_blank" onclick="ga('send', 'event', 'link', 'github', 'licence');">MPL 2.0</a>.</p>
<p>Based on <a href="https://bootswatch.com" target="_blank" onclick="ga('send', 'event', 'link', 'library', 'bootswatch');">Bootwatch</a>. Visualisations and network metrics from <a href="http://js.cytoscape.org" target="_blank" onclick="ga('send', 'event', 'link', 'library', 'cytoscape.js');">Cytoscape.js</a>.</p>
</div>
</div>
</footer>
</div>
<script src="bower_components/jquery/jquery.min.js"></script>
<script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="bower_components/matchHeight/jquery.matchHeight-min.js"></script>
<script src="bower_components/cytoscape/dist/cytoscape.min.js"></script>
<script src="bower_components/cytoscape-cose-bilkent/cytoscape-cose-bilkent.js"></script>
<script src="bower_components/mustache.js/mustache.min.js"></script>
<script src="js/typeahead.min.js"></script>
<script src="js/network-data.js"></script>
<script src="js/network-mapping.js"></script>
<script src="js/connecting-people.js"></script>
<script src="js/register-alert.js"></script>
<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','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-49796218-52', 'auto');
ga('send', 'pageview');
</script>
<!--
<script src="js/DNT_Check.js"></script>
-->
</body>
</html>