mirror of
https://github.com/aljazceru/satshkd-vercel.git
synced 2025-12-16 20:54:23 +01:00
european date format, sats explanation
This commit is contained in:
@@ -46,7 +46,8 @@
|
||||
<div class="container" style="margin-top: 20px;">
|
||||
<div class="row">
|
||||
<center>
|
||||
<h3> {{ Title }} <span id="current"></span> sats <small>(There are 100 million satoshis in one bitcoin, so one satoshi is 0.00000001 BTC)</small></h3>
|
||||
<h3> {{ Title }} <span id="current"></span> sats<a href="#satoshi-explanation"><small>*</small></a></h3>
|
||||
|
||||
</center>
|
||||
<script>
|
||||
var currentPrice = 0;
|
||||
@@ -105,6 +106,7 @@
|
||||
document.querySelector('#current').textContent = currentPrice.toLocaleString();
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
<div id='historical'>
|
||||
<canvas id="chart"></canvas>
|
||||
@@ -197,6 +199,7 @@
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<center> <small id="satoshi-explanation"><b>*There are 100 million satoshis in one bitcoin, so one satoshi is 0.00000001 BTC</b></small> </center>
|
||||
<script>
|
||||
// Load data and initialize chart
|
||||
fetch('/{{ data_file }}')
|
||||
|
||||
Reference in New Issue
Block a user