-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
75 lines (67 loc) · 3.47 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
<html>
<head>
<title>BBC Parse Activity data</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/site.css"/>
<script src="js/jquery.js"></script>
<script src="js/d3.min.js"></script>
<script src="js/charts.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="https://unpkg.com/[email protected]/papaparse.min.js"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-46399763-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body>
<div id="filters" class="container">
</div>
<div id="content" class="container">
<div class="row">
<div class="col-md-12">
<p>To use this tool:</p>
<p>1) <a href="https://account.bbc.com/account/settings/privacy/yourdata">Request your BBC Data</a> (This can take up to 1 day to recieve)</p>
<p>2) Download the data file labelled <b>Activity from 23 February 2019</b> once ready (You should recieve an email notifying you when it ready or try the link above again)</p>
<p>3) Drag and drop file into the box below</p>
<p>4) Alternatively use Simon's data which you can download: <a href="data/Activity-from-23-February-2019.csv">Simon's data</a></p>
</div>
</div>
<div id="uploadpage">
<form id="upload" action="upload.php" method="POST" enctype="multipart/form-data">
<fieldset>
<input type="hidden" id="MAX_FILE_SIZE" name="MAX_FILE_SIZE" value="300000" />
<div>
<label for="fileselect"><p>Files to upload:</p></label>
<input type="file" id="fileselect" name="fileselect[]" multiple="multiple" />
<div id="filedrag"><p>or drop files here</p></div>
</div>
<div id="submitbutton">
<button type="submit"><p>Upload Files</p></button>
</div>
</fieldset>
</form>
</div>
<script src="js/site.js"></script>
</div>
<div class="modal fade" id="journeymodal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title" id="myModalLabel">Journey</h4>
</div>
<div id="journeycontent" class="modal-body">
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div>
</body>
</html>