-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex_with_d3_crypto_chart.html
More file actions
196 lines (171 loc) · 6.03 KB
/
Copy pathindex_with_d3_crypto_chart.html
File metadata and controls
196 lines (171 loc) · 6.03 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>LTF New Tab</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@tabler/icons-webfont@latest/tabler-icons.min.css">
<link rel="stylesheet" href="CSS/style.css">
<link rel="stylesheet" href="CSS/weather.css">
<link rel="stylesheet" href="CSS/crypto.css">
<link rel="icon" type="image/svg+xml" href="Resources/Icons/Favicon.svg" sizes="any">
</head>
<body>
<!-- MENU BEGIN -->
<div class="menu dark">
<span><a href="#" style="text-shadow: -.25px -.25px 0 black, .25px .25px black;">NewTab</a></span>
<span><a href="https://latinof.github.io/LTFAppDown/">Apps</a></span>
<span><a href="#">Pirate</a></span>
</div>
<!-- Menu ENDS -->
<!-- Weather Widget BEGIN -->
<div class="weather-widget">
<img class="weather-icon" src="">
<span class="temperature dark"></span>
</div>
<div class="weather-info">
<ul>
<li>
<img src="Resources/Meteocons/Static/thermometer-celsius.svg">
<span class="feels-like"></span>
</li>
<li>
<img src="Resources/Meteocons/Static/uv-index.svg">
<span class="uv-index"></span>
</li>
<li>
<img src="Resources/Meteocons/Static/humidity.svg">
<span class="humidity"></span>
</li>
<li>
<img src="Resources/Meteocons/Static/wind.svg">
<span class="wind"></span>
</li>
<li>
<img src="Resources/Meteocons/Static/barometer.svg">
<span class="pressure"></span>
</li>
</ul>
</div>
<!-- Weather Widget ENDS -->
<!-- Dark Mode Toggle BEGIN -->
<div class="toggle-container">
<img src="Resources/Icons/Sun.svg" alt="Toggle Dark Mode" id="toggle">
</div>
<!-- Dark Mode Toggle ENDS -->
<div class="wrapper">
<!-- Custom Context Menu BEGIN -->
<div class="contextmenu" id="menu">
<ul class="contextmenu-list">
<li class="contextmenu-item">
<button class="contextmenu-button" onclick="swapGoogle()" id="aGoogle">
<img src="Resources/Icons/Google.svg" style="width:24px; margin-right:6px;">
<span>Google</span>
</button>
</li>
<li class="contextmenu-item">
<button class="contextmenu-button" onclick="swapTV()" id="aTV">
<img src="Resources/Icons/Fanart.png" style="width:24px; margin-right:6px;">
<span>Fanart</span>
</button>
</li>
</ul>
</div>
<!-- Custom Context Menu ENDS -->
<!-- Searchbar BEGIN -->
<div class="searchbar dark" id="EngineSwapper">
<form role="search" id="form">
<input type="search" id="query" name="Q" placeholder="Mah Davveroh?" autocomplete="off">
<input type="image" class="searchbutton" src="Resources/Icons/Search.svg" alt="submit">
</form>
</div>
<!-- Searchbar ENDS -->
<!-- Drawers BEGIN -->
<div class="drawercontainer" id="drawercontainer"></div>
<!-- Drawers END -->
<!-- Crypto Widget BEGIN -->
<div class="cryptoWidget dark">
<section class="widget">
<div class="widgetContainer">
<div class="widgetHeader">
<div>
<img src="Resources/Icons/Dogecoin.png">
<p style="margin-left: 10px;">Dogecoin</p>
</div>
<div>
<i id="dogecoinMarketIcon"></i>
<p id="dogecoinMarket"></p>
<p id="dogecoinCurrentPrice"></p>
</div>
</div>
<div class="chart" id="dogecoinChart"></div>
<div class="highLow" style="left: 15px;">
<i class="ti ti-arrow-big-down-filled"></i>
<p id="dogecoinMinPrice"></p>
</div>
<div class="highLow" style="right: 15px;">
<i class="ti ti-arrow-big-up-filled"></i>
<p id="dogecoinMaxPrice"></p>
</div>
</div>
</section>
<section class="widget">
<div class="widgetContainer">
<div class="widgetHeader">
<div>
<img src="Resources/Icons/Bitcoin.png">
<p style="margin-left: 10px;">Bitcoin</p>
</div>
<div>
<i id="bitcoinMarketIcon"></i>
<p id="bitcoinMarket"></p>
<p id="bitcoinCurrentPrice"></p>
</div>
</div>
<div class="chart" id="bitcoinChart"></div>
<div class="highLow" style="left: 15px;">
<i class="ti ti-arrow-big-down-filled"></i>
<p id="bitcoinMinPrice"></p>
</div>
<div class="highLow" style="right: 15px;">
<i class="ti ti-arrow-big-up-filled"></i>
<p id="bitcoinMaxPrice"></p>
</div>
</div>
</section>
<section class="widget">
<div class="widgetContainer">
<div class="widgetHeader">
<div>
<img src="Resources/Icons/Ethereum.png">
<p style="margin-left: 10px;">Ethereum</p>
</div>
<div>
<i id="ethereumMarketIcon"></i>
<p id="ethereumMarket"></p>
<p id="ethereumCurrentPrice"></p>
</div>
</div>
<div class="chart" id="ethereumChart"></div>
<div class="highLow" style="left: 15px;">
<i class="ti ti-arrow-big-down-filled"></i>
<p id="ethereumMinPrice"></p>
</div>
<div class="highLow" style="right: 15px;">
<i class="ti ti-arrow-big-up-filled"></i>
<p id="ethereumMaxPrice"></p>
</div>
</div>
</section>
</div>
<!-- Crypto Widget END -->
</div>
<script async src="https://d3js.org/d3.v7.min.js"></script>
<script async src="./Resources/placeholders.js"></script>
<script async src="./JS/script.js"></script>
<script async src="./JS/toggle.js"></script>
<script async src="./JS/weather.js"></script>
<script async src="./JS/crypto.js"></script>
<script defer src="./JS/drawer.js"></script>
<button id="editToggle">✎</button>
</body>
</html>