forked from cmda-minor-web/web-app-from-scratch-2021
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
132 lines (122 loc) · 4.45 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>X- Value</title>
<link rel="stylesheet" href="./project/css/style.css" />
</head>
<body>
<main>
<header class="title">
<a href="#"><h1>X Value</h1></a>
</header>
<!-- Input section for searching Tickers and their data -->
<!-- <a href="#details/BTC">#details</a> -->
<!-- <a href="#adadadas">router wildcard test</a> -->
<!-- <button id="clearCache">Empty Cache</button> -->
<!-- <section>
<input
class="inputTicker"
name="inputTicker"
type="text"
aria-label="input crypto ticker"
placeholder="search ticker e.a. BTC / ADA / AGI"
/>
<label for="inputTicker"></label>
<button class="searchBtn" type="submit">Submit</button>
</section> -->
<!-- Add wallet as soon as localStorage is done -->
<section class="wallet"></section>
<section class="overview">
<div class="loader display-none"></div>
<table class="overviewTable">
<h3>A Crypto SPA</h3>
<p>The Market is: <span id="marketSentiment"></span></p>
<b>X-value = % of all %ΔPrice in EUR in the last 24H.</b>
<thead>
<tr>
<th>#</th>
<th></th>
<th class="hideOnMediumScreen"></th>
<th>Price</th>
<th class="hideOnSmallerScreen">Market Capitalization</th>
<th class="hideOnSmallScreen">Cirulating Supply</th>
<th class="hideOnMediumScreen">Max Supply</th>
<th class="">
X Value <br />
avg: <span id="headerX" class="percentageDeltaPrice"></span>
<form action="" id="calculatePositionForm">
<!-- <input type="text" placeholder="BTC" id="inputTicker" />
<input
id="investment"
type="number"
placeholder="# position"
/>
<button type="submit">Calculate</button> -->
</form>
</th>
</tr>
</thead>
<tbody>
<tr class="data display-none">
<td>{{ listNumber }}</td>
<td>
<a href="index.html#details/{{ Name }} "
><object data="{{ imageUrl }}" type="image/png"></object
></a>
<a href="index.html#details/{{ Name }}">{{ FullName }} </a>
<!-- <img
src="imageNotFound.png"
alt="Image not found"
onerror="this.onerror=null;this.src='{{ FullName }}';"
/> -->
</td>
<td class="hideOnMediumScreen"> {{ Name }}</td>
<td>
{{ Price }}
<span class="percentageDeltaPrice"
>{{ ChangePCT24Hrs }}<b>%</b></span
>
</td>
<td class="hideOnSmallerScreen MarketCap">
{{ MarketCap }}
</td>
<td class="hideOnSmallScreen"> {{ Supply }}</td>
<td class="hideOnMediumScreen"> {{ maxSupply }}</td>
<td class="coin{{ Name }} percentageDeltaPrice"> </td>
<td class="display-none MarketCapRAW">{{ MarketCapRAW }}</td>
</tr>
</tbody>
</table>
</section>
<section>
<ul class="extraInfoSection">
<ul id="extraInfo" class="display-none">
<img src="{{ imageUrl }}" />
<li><h1>{{ Name }}</h1></li>
<li>
<h3>Extra Information</h3>
Algorithm : {{ Algorithm }} <br />
ProofType: {{ ProofType }} <br />
Asset Launch Date: {{ AssetLaunchDate }} <br />
</li>
<li>
<h3>Change 24H</h3>
<p>{{ Change24Hrs }}</p>
<p>{{ ChangePCT24Hrs }}%</p>
</li>
<li>
<h3>Description</h3>
<p class="coinDiscription">{{ Description }}</p>
</li>
<li></li>
</ul>
</ul>
</section>
</main>
<script src="./vendor/scripts/routie.js"></script>
<script src="./scripts/app.js" type="module"></script>
</body>
</html>