Commit 0dfb5ff0 authored by Taddeüs Kroes's avatar Taddeüs Kroes

Enable dashboard polling numbers

parent 7711df65
...@@ -6,7 +6,7 @@ debug = true ...@@ -6,7 +6,7 @@ debug = true
numstars = if ismobile then 10 else 60 numstars = if ismobile then 10 else 60
min_star_size = 4 min_star_size = 4
max_star_size = 12 max_star_size = 12
poll_exchange_interval = 2 poll_exchange_interval = 3
poll_marketcap_interval = 60 poll_marketcap_interval = 60
# -- utility -- # -- utility --
...@@ -124,8 +124,8 @@ do -> ...@@ -124,8 +124,8 @@ do ->
# TODO: maybe some animation if it changes? # TODO: maybe some animation if it changes?
# XXX: disabled polling for debugging # XXX: disabled polling for debugging
#poll_exchange() poll_exchange()
#poll_marketcap() poll_marketcap()
#setInterval poll_exchange, poll_exchange_interval * 1000 setInterval poll_exchange, poll_exchange_interval * 1000
#setInterval poll_marketcap, poll_marketcap_interval * 1000 setInterval poll_marketcap, poll_marketcap_interval * 1000
...@@ -81,25 +81,20 @@ img, div { ...@@ -81,25 +81,20 @@ img, div {
top: 0; top: 0;
width: 100%; width: 100%;
height: 100%; height: 100%;
& > div {
div {
right: 0;
background-color: white;
width: 100%;
height: 100%;
}
}
} }
.moon { .moon {
width: 100px;
right: 50px; right: 50px;
top: 50px; top: 50px;
} }
.dashboard { .dashboard {
width: 500px;
right: 0; right: 0;
bottom: 0; bottom: 0;
} }
.price, .cap { .price, .cap {
font: normal 14px courier new; font: normal 14px courier new;
right: 15px; right: 15px;
...@@ -107,6 +102,7 @@ img, div { ...@@ -107,6 +102,7 @@ img, div {
width: 109px; width: 109px;
height: 20px; height: 20px;
} }
.cap { .cap {
bottom: 50px; bottom: 50px;
} }
......
...@@ -14,8 +14,8 @@ ...@@ -14,8 +14,8 @@
</div> </div>
</div> </div>
</div> </div>
<img class="moon" src="moooon.png" width="100"> <img class="moon" src="moooon.png">
<img class="dashboard" src="dashboard.png "width="300"> <img class="dashboard" src="dashboard.png">
<div id="price" class="price"></div> <div id="price" class="price"></div>
<div id="cap" class="cap"></div> <div id="cap" class="cap"></div>
<script src="velocity.min.js"></script> <script src="velocity.min.js"></script>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment