-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbrisbane.html
More file actions
73 lines (61 loc) · 1.69 KB
/
Copy pathbrisbane.html
File metadata and controls
73 lines (61 loc) · 1.69 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
<html>
<head>
<meta charset="%UTF-8" />
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<title>Australian Weather</title>
</head>
<body>
<script type="module" src="./brisbane.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.4/Chart.js">
</script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Z973RHYC5W"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-Z973RHYC5W');
</script>
<link rel="stylesheet" href="style-access.css">
<div id="top-box">
<h1>Jeather 2</h1>
<nav class="city-nav">
<button class="city-btn" id="melb">Melbourne</button>
<button class="city-btn" id="adel">Adelaide</button>
<button class="city-btn" id="sydn">Sydney</button>
<button class="city-btn" id="bris">Brisbane</button>
<button class="city-btn" id="more">More</button>
</nav>
</div>
<hr>
<h1 id="placeholder2">Adelaide</h1>
<div id="content">
<div id="content2">
</div>
</div>
<script type="module">
import * as root from './pkg/hot_or_not_3.js'
// myChart.destroy();
window.callbacks = root;
window.mutate_chart_object = function (v) {
if (v.id == ("bar")) {
v.options.scales.y1.ticks = {
callback:
function (value, _index, _values) {
return '$' + value.toFixed(2);
}
};
}
//v.destroy();
return v
};
</script>
<div id="bottom">
<button id="social">
Chat
</button>
</div>
<div id="bot-box">
</div>
</body>
</html>