multiple fixes for charts

This commit is contained in:
2021-01-24 22:55:29 +01:00
parent 4ea2f80212
commit 72baf5fc24
3 changed files with 12 additions and 11 deletions
+4 -4
View File
@@ -49,7 +49,7 @@
<ul class="tab-nav">
<li>
<a class="button active" href="#h48{{ c.crypto }}">48 hours</a>
<a class="button" href="#h48{{ c.crypto }}">48 hours</a>
</li>
<li>
<a class="button" href="#d3{{ c.crypto }}">3 days</a>
@@ -68,17 +68,17 @@
</li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="h48{{ c.crypto }}">
<div class="tab-pane" id="h48{{ c.crypto }}">
48 hours
<img src="/graph?crypto={{ c.crypto }}&fiat=EUR&number_of_hours=48" loading="lazy">
</div>
<div class="tab-pane" id="d3{{ c.crypto }}">
3 days
<img src="/graph?crypto={{ c.crypto }}&fiat=EUR&number_of_days=3" loading="lazy">
<img src="/graph?crypto={{ c.crypto }}&fiat=EUR&number_of_hours=72" loading="lazy">
</div>
<div class="tab-pane" id="w1{{ c.crypto }}">
1 week
<img src="/graph?crypto={{ c.crypto }}&fiat=EUR&number_of_days=7" loading="lazy">
<img src="/graph?crypto={{ c.crypto }}&fiat=EUR&number_of_hours=168" loading="lazy">
</div>
<div class="tab-pane" id="m1{{ c.crypto }}">
1 month