forked from serman/hotpotato
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·254 lines (205 loc) · 13.3 KB
/
Copy pathindex.html
File metadata and controls
executable file
·254 lines (205 loc) · 13.3 KB
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
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang=""> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang=""> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang=""> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang=""> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/css?family=Nunito+Sans:200,400" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Poppins" rel="stylesheet">
<link rel="stylesheet" href="https://maxcdn.icons8.com/fonts/line-awesome/1.1/css/line-awesome-font-awesome.min.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.10/css/all.css" integrity="sha384-+d0P83n9kaQMCwj8F4RJB66tzIwOKmrdb46+porD/OvrJ+37WqIM7UoBtwHO6Nlg" crossorigin="anonymous">
<link rel="apple-touch-icon" href="apple-touch-icon.png">
<link rel="stylesheet" href="css/bootstrap.min.css">
<style>
body {
padding-top: 50px;
padding-bottom: 20px;
}
</style>
<link rel="stylesheet" href="css/bootstrap-theme.min.css">
<link rel="stylesheet" href="css/main.css">
<script src="js/vendor/modernizr-2.8.3-respond-1.4.2.min.js"></script>
</head>
<body>
<!--[if lt IE 8]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand" href="#">Hot Potato Machine</a>
</div>
<ul class="nav navbar-nav">
<li> <a href="#"> Home </a></li>
<!--<li> <a href="#"> About </a></li>
<li> <a href="#"> What next </a></li>
<li> <a href="#"> Credits </a></li> -->
</ul>
<ul class="nav navbar-nav navbar-right">
<li> <a href="#" id="demo-btn"> Demo </a></li>
</ul>
</div>
</nav>
<div class="container-fluid">
<!-- Example row of columns -->
<div class="row">
<div class="col-md-9" id="elements">
<svg id="canvas">
<defs>
<filter id="sepiatone">
<feColorMatrix type="matrix" values=".343 .669 .119 0 0 .249 .626 .130 0 0 .172 .334 .111 0 0 .000 .000 .000 1 0"/>
</filter>
<filter id="blurFilter2" y="-10" height="40" x="-10" width="150">
<feOffset in="SourceAlpha" dx="3" dy="3" result="offset2" />
<feGaussianBlur in="offset2" stdDeviation="3" result="blur2"/>
<feMerge>
<feMergeNode in="blur2" />
<feMergeNode in="SourceGraphic" />
</feMerge>
</filter>
<!--<marker id="arrow" viewBox="0 -5 10 10" refX="5" refY="0" markerWidth="4" markerHeight="4" orient="auto">
<path d="M0,-5L10,0L0,5" class="arrowHead"></path>
</marker> -->
<marker id="arrow" markerWidth="10" markerHeight="10" refX="0" refY="3" orient="auto" markerUnits="strokeWidth">
<path d="M0,0 L0,6 L9,3 z" fill="#000" />
</marker>
</defs>
</svg>
</div>
<div class="col-md-3" id="description">
<div id="description-inner">
<div id="basetext" style="font-size:12px; margin-top:50px;" clas="row">
<h4>What should be done about air pollution and who should do it? </h4>
<p>Explore who is passing on the hot potato. Click over one of the actors to see who they are passing the hot potato on to. </p>
<p> On the right, a detail of the actions actors feel responsible for will appear.
Click a set of arrows to see the detail of the actions actors say others should take to address air pollution.
<p> <img style="float:left; margin-right:1em;" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGcSURBVGhD7di/K8RxHMfxrxQZCIOyUUrJZrCYLEbFZDUwKRuLlEGiGMw2DBhNJhYLk3+AsimS/AiF5+d73+/5+nof3+P9qfte72c9uvO5b1evrjtOYFmWZVnW99oxjgUsVaBFTKEHYrVwFz3jPSf20IpiNdiEdHGlO0MTwkYgXZQXqwg7gHRBXtyiDsFNdJBnvRAf0LKOPrhPmqfozIcBiA9omEOyIfga421IekScrzFehpQaEedjjPqQ30bEaY9RHZJ1RJzmGLUh0ojm6DauJbpNpjVGZcga0vVjq3C32AwmC3e/NArpecuhMqQbydwI99t2P/zps1m8QRpzBem5s1IZMoa4eIQ7l4a48/SYDrwi+ZzlUhlyjxW4P94eojOn1BDHjdnGPC6is/9Qe7NLfhqizYZkYUP+wIZkUTVDjpFsGdJ1GrwOecEgXF24hHSdhnDIY+LAhzvhTJv7Oh2cJA7yyL3yjQimo4O82kVYPfL6qlyjE8XacAjp4kp1jvC9kc79D3gYGzjCaQVyH+k7mEADLMuyLMuqwoLgAwRuMRWt+cO7AAAAAElFTkSuQmCC">
The user can hold down the <strong>shift key</strong> and click on another actor in order to see how each of these actors has apportioned responsibility and actions to other actors.
</p>
<p> <img style="float:left; margin-right:1em;" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIiSURBVGhD7dlPiE1hGMfxwyBlIbJDGc3ChliKkrKQjZRmaram0bCxEIvJRvJngyzIglKkWCnSzKSUYkpJU1bKjMxslIUGhfz5/m7nnR7HO3HPnJrnrfdXn8V5znNu95l7zsy87y1ycnLazkLsw228wzf8mmfTeImz2IB/ZjNeIPZiXnzHJSxFNHvwCbGLPXqG5fgjm/AZsQs8G0IHWlmA54g1pqAPrexFrCEVk9AvqOJGWUjZNhSvTSFVR1F8MYVUXUD0RGouI3oiNXkQb/Ig3jQ+yD3cwUdTC3pK1XoTGh3kFUKuonp+Yykca72zC29Mra5GBxnEEqzGjrJmVQc5A2UMtq+Oxgb5ifXQmuY49B/1BGyPHeQAVkJZg27Y3nY1NshTKNehJYGin7jtsYPcxW4oR3ATtrddjQ1yGIvxoTzuhL2NxA4i7m4tbU6swjroIZftUOybdD/IfcyWYwh97gfphR7ut6amnQ59Smvxo6xVBzkH5QFCra45D6Jdl2XYampBP5TH0HF1kEdQtK2zH6Fex5wHGYc2zcKbtfQHUueelMfXSrZH153GLVOro5Fby4M8iDd5EG/yIN60BnlvCqk6haR34oPWjvxJU0iRFnVanBVd8PA9YV0PMZOLiDV59xX6tm0m2jQYRazZs4P4KyswjNgF3uhRGMCsWYRDmELsBTwYwRb8VzTQTpzAFWj3cL5orXIe+gS0qZGTk9N2iuI3Q3h7LFPAFYQAAAAASUVORK5CYII=">
If the user wants to see just the links between two specific actors, they click on the first one, and then hold down <strong>ALT</strong> while they click on the second actor.
</p>
</div>
</div>
</div>
</div>
<div class="row" id="filters">
<a href="#" id="selectAll" class="btn"> SELECT ALL <i class="far fa-check-square"></i>
</a>
<a href="#" id="selectNone" class="btn"> SELECT NONE <i class="far fa-square"></i>
</a>
</div>
</div><!-- container -->
<hr>
<footer>
</footer>
<div id="demo-layer">
<div id="demo-inner">
<div class="demo-content" id="demo-content-1">
<p><strong> This is a demo which explains the Hot Potato Machine. </strong></p>
<p>
The Hot Potato Machine is an interactive digital device that pulls in previously analysed data about an issue. It offers an visual analysis showing different perspectives on who different actors think should take action to address an issue and what those actions are.
</p>
<p>This demo shows how a user might take a route through one aspect of the air pollution issue, focusing on diesel taxis, based on our data gathered relating to London Borough of Camden in January 2018.
<br/>
The underlying framework and method could be adapted applied to other locations, and other issues.
</p>
</div>
<div class="demo-content" id="demo-content-2">
The screen shows different actors who are involved in the issue of air pollution, according to our data.
<br/>
Let’s imagine a user who wants to explore the issue of taxis that use diesel.
</div>
<div class="demo-content" id="demo-content-3">
If the user’s <strong> mouse clicks </strong> over an actor, then on the tab they can see any actions this actor has apportioned to themselves.
<p>
<strong style="font-size:1.4em"> Here the user clicks over Central Government. </style> </strong>
</p>
<p>
The user can click on the <strong> link under the summary </strong> in the tab to go directly to the online document and find out more.
</p>
</div>
<div class="demo-content" id="demo-content-4">
<strong style="font-size:1.4em"> Here the user clicks on an actor labelled Devolved Government.</strong>
<p>Lines appear from this actor to other actors because our data shows that it apportions responsibility for taking action about diesel taxis to them.
</p>
</div>
<div class="demo-content" id="demo-content-5">
The user can <strong style="font-size:1.4em"> hold down the shift key and click on another actor</strong> in order to see how each of these actors has apportioned responsibility and actions to other actors.
</div>
<div class="demo-content" id="demo-content-6">
<p> If the user wants to see just the links between two specific actors, <strong style="font-size:1.4em"> they click on the first one, and then hold down ALT while they click on the second actor. </strong> </p>
<br/> Then they can see patterns in how responsibilities are being apportioned between these two actors.
</div>
<div class="demo-content" id="demo-content-7">
The user can click on as many actors as exist (with the shift key down), to see patterns in how responsibilities are being apportioned to other actors – or how the hot potato is being thrown around.
</div>
<div class="demo-content" id="demo-content-8">
The user can click on the arrows to see the actions that one actor has apportioned to the other actor.
<br/> <strong style="font-size:1.4em"> Here the user clicks on the arrows between "Central Government and Devolved Government"</strong>
</div>
<p id="demo-controls" >
<a href="#" id="stop"> <i class="fa fa-stop" ></i></a>
<a href="#" id="next"> <i class="fa fa-forward" ></i></a>
</p>
</div>
</div>
<script id="article-template" type="text/x-handlebars-template">
<div class="article {{extraclass}}">
<div class="row">
<div class="col-xs-10 col-xs-offset-1">
<h3 >
<img src="img/{{src_image}}" class="src-icon-image"/> {{src_title}}
</h3>
</div>
</div>
<div class="row">
<div class="col-xs-1 col-xs-offset-1">
<!--<div class="arrow" data-color="#990000"> </div>-->
<img src="img/line.png" class="image-line"/>
<!--<svg width="100%" height="100%" viewBox="0 0 9 144" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\
<title>Group</title>\
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\
<g id="Group">\
<path d="M4.5,0.5 L4.5,135.592561" id="Line" stroke="{{colorArrow}}" stroke-linecap="square"></path>\
<polygon id="Triangle" fill="{{colorArrow}}" transform="translate(4.500000, 137.500000) rotate(180.000000) translate(-4.500000, -137.500000) " points="4.5 131 9 144 0 144"></polygon>\
</g>\
</g>\
</svg> -->
</div>
<div class="col-xs-9 text-container" >
{{{body}}}
</div>
</div>
{{#if link}}
<div class="row">
<div class="col-xs-9 col-xs-offset-2 linkContainer">
• <a href="{{{link}}}" target="_blank"> {{{link}}}</a>
</div>
</div>
{{/if}}
<div class="row">
<div class="col-xs-10 col-xs-offset-1 " >
<h4>
<img src="img/{{dst_image}}" class="dst-icon-image"/> {{dst_title}}
</h4>
</div>
</div>
</div>
</div>
</script>
</div> <!-- /container --> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.11.2.min.js"><\/script>')</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.0.11/handlebars.js"></script>
<script src="js/vendor/bootstrap.min.js"></script>
<script src="https://d3js.org/d3-fetch.v1.min.js"></script>
<script src="https://d3js.org/d3.v4.min.js"></script>
<script src="js/main.js"></script>
<script src="js/demo.js"></script>
</body>
</html>