-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
171 lines (170 loc) · 6.12 KB
/
index.html
File metadata and controls
171 lines (170 loc) · 6.12 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<link rel="preconnect" href="https://code.jquery.com" />
<link rel="preconnect" href="https://cdn.tailwindcss.com" />
<script src="https://code.jquery.com/jquery-4.0.0.min.js"></script>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body>
<noscript
>Please enable JavaScript for the full application experience.</noscript
>
<nav></nav>
<header class="text-center my-6">
<h1>Cryptocurrency Tracker</h1>
<!-- <h2>Navigate the Crypto Market with Confidence: Accurate Tracking Anywhere, Anytime</h2> -->
</header>
<main class="container" id="main">
<section class="controls" aria-labelledby="controls">
<h2 id="controls" class="hidden">Controls</h2>
<div>
<label id="language-label" for="language-select"></label>
<select id="language-select">
<option value="en">English</option>
<option value="es">Español</option>
<option value="fr">Français</option>
<option value="pt">Português</option>
<option value="rs">Srpski</option>
<option value="ae">عربي</option>
</select>
</div>
<div>
<label id="filter-label" for="filter-select"></label>
<select id="filter-select">
<option id="filter-select-all" value="all"></option>
<option id="filter-select-favorites" value="favorites"></option>
</select>
</div>
<div>
<label id="sort-label" for="sort-select"></label>
<select id="sort-select">
<option id="sort-select-market-cap" value="marketCap"></option>
<option id="sort-select-price" value="price">Price</option>
<option id="sort-select-price-change" value="priceChange"></option>
</select>
</div>
<div>
<label id="search-label" for="search"></label>
<input id="search" type="text" />
</div>
<div class="controls-buttons-container">
<div>
<label id="print-label" for="print-button"></label>
<button id="print-button" type="button"></button>
<!-- <div class="print-select-modal">
<input
type="checkbox"
id="print-data"
name="print-data"
value="Cryptocurrency Data"
/>
<label for="">Cryptocurrency Data</label><br />
<input
type="checkbox"
id="print-about"
name="print-about"
value="About"
/>
<label for="">About</label><br />
<input
type="checkbox"
id="print-news"
name="print-news"
value="Cryptocurrency News"
/>
<label for="">Cryptocurrency News</label><br /><br />
<input type="button" value="Print" />
</div> -->
</div>
<div>
<label id="theme-label" for="theme-button"></label>
<button id="theme-button" type="button"></button>
</div>
</div>
</section>
<section class="crypto-data" id="crypto-data" aria-live="polite">
<div class="loading-spinner" id="loading-spinner" role="status"></div>
<p id="no-data-message" class="hidden"></p>
</section>
<!-- <section id="historical-data" class="historical-data">
<h2>Historical Price Data</h2>
<div class="controls">
<input type="date" id="start-date" aria-label="Start date" />
<input type="date" id="end-date" aria-label="End date" />
<button id="fetch-data" aria-label="Fetch historical data">
Fetch Data
</button>
<select id="chart-type" aria-label="Select chart type">
<option value="line">Line Chart</option>
<option value="candlestick">Candlestick Chart</option>
</select>
</div>
<canvas id="price-chart" aria-label="Historical Price Chart"></canvas>
<div id="data-table">
<table aria-label="Historical Data Table">
<thead>
<tr>
<th>Date</th>
<th>Open</th>
<th>Close</th>
<th>High</th>
<th>Low</th>
<th>Volume</th>
</tr>
</thead>
<tbody id="historical-table-body"></tbody>
</table>
</div>
</section> -->
<section id="about" class="about-section">
<h2></h2>
<p></p>
<p></p>
<p></p>
<footer></footer>
</section>
</main>
<div
id="price-alert-modal"
class="modal"
role="dialog"
aria-labelledby="modal-title"
>
<div class="modal-content">
<span
class="modal-item close-button"
aria-label="Close the modal window"
>×</span
>
<h2 id="modal-title" class="modal-item"></h2>
<input
class="modal-item"
type="number"
id="alert-price"
placeholder="Enter an alert price..."
aria-required="true"
/>
<button
id="set-alert-button"
class="modal-item"
type="button"
aria-label="Set a Price Alert"
>
Set Alert
</button>
</div>
</div>
<script src="scripts/meta-tags-min.js"></script>
<script src="scripts/cryptoapp-min.js"></script>
<script src="scripts/components-min.js" defer></script>
<script src="scripts/translator-min.js" defer></script>
<script src="scripts/headings.js" defer></script>
<!-- <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script src="https://cdn.jsdelivr.net/npm/chartjs-adapter-moment@1.0.1/dist/chartjs-adapter-moment.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/chartjs-chart-financial"></script>
<script src="https://cdn.jsdelivr.net/npm/moment@2.29.4/moment.min.js"></script>
<script src="scripts/price-chart-min.js"></script> -->
</body>
</html>