-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
83 lines (79 loc) · 3.33 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>monzo map | a community api project</title>
<link rel="icon" type="image/png" href="/assets/map_logo.png" />
<link rel="stylesheet" type="text/css" href="css/styles.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.12/p5.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.12/addons/p5.dom.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.12/addons/p5.sound.min.js"></script>
<script src="js/currency/currency-map.js" type="text/javascript"></script>
<script src="js/source/app.js" type="text/javascript"></script>
<script src="js/source/monzo-map.js" type="text/javascript"></script>
<script src="js/graph/render.js" type="text/javascript"></script>
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.39.1/mapbox-gl.js'></script>
<link href='https://fonts.googleapis.com/css?family=Open Sans' rel='stylesheet'>
<link href="https://fonts.googleapis.com/css?family=Saira" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Mada" rel="stylesheet">
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.39.1/mapbox-gl.css' rel='stylesheet' />
</head>
<header>
<div id ="logos"><a href='https://github.com/philaturner/monzo-map' target ="_blank"><img id ="gitlogo" src = "assets/logos/github-logo.png"/></a></div>
<div id ="title">
<div id='monzo'><img id='monzologo' src='assets/logos/map_logo.png' height=80px/></div>
<div id='title-text'>
<h1>monzo map</h1>
<h2>a community api project</h2>
</div>
</div>
<div id='graph-container'></div>
</header>
<body>
<div id="daily-spend">
<div id='spend-content'><p id='title'>Daily Spend</p>
<div id='spend-date'><p>Tue, 13th August 2017</p></div></div><div id='spendamount'>£13</div></p>
</div>
<div id="login-form">
<div id="login-error">
<span>Something went wrong - check your details and try again</span>
</div>
<h2>Load your data</h2>
<p>You'll need to generate an access token from <a href="https://developers.monzo.com" target ="_blank">Monzo Developers</a> to view your data.</p>
<p>Account ID<br>
<input type="text" name="uacc" id="uacc" value="">
<br>Access Token<br>
<input type="password" name="atoken" id="atoken" value="">
</p>
<p><button class="button" id="btnsubmit">Map Spend</button></p>
<p><button class="button-sample" id="samplesubmit">Preview Sample Data</button></p>
</div>
<div class="map">
<div id="map">
<nav id="menu"></nav>
<nav id="feed"></nav>
<div id="tooltip">
<div id='logo'>
<img src='assets/icons/eating_out.png' width=50/>
</div>
<div id='content'>
<p class='title'>Eating Out</p>
<p>13 Transactions</p>
</div>
<div id='spend'>
£97
</div>
</div>
<button id='fly'>Find Top Merchant</button>
<div class="stats" id="stat-text">
<p>
Total spend: £<span id="value"></span><br>
Transactions: <span id="trans"></span><br>
Top: <span id="merchant"></span><br>
</p>
</div>
</div>
</div>
</body>
</html>