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

Enable dashboard polling numbers

parent 7711df65
......@@ -6,7 +6,7 @@ debug = true
numstars = if ismobile then 10 else 60
min_star_size = 4
max_star_size = 12
poll_exchange_interval = 2
poll_exchange_interval = 3
poll_marketcap_interval = 60
# -- utility --
......@@ -124,8 +124,8 @@ do ->
# TODO: maybe some animation if it changes?
# XXX: disabled polling for debugging
#poll_exchange()
#poll_marketcap()
poll_exchange()
poll_marketcap()
#setInterval poll_exchange, poll_exchange_interval * 1000
#setInterval poll_marketcap, poll_marketcap_interval * 1000
setInterval poll_exchange, poll_exchange_interval * 1000
setInterval poll_marketcap, poll_marketcap_interval * 1000
......@@ -81,25 +81,20 @@ img, div {
top: 0;
width: 100%;
height: 100%;
& > div {
div {
right: 0;
background-color: white;
width: 100%;
height: 100%;
}
}
}
.moon {
width: 100px;
right: 50px;
top: 50px;
}
.dashboard {
width: 500px;
right: 0;
bottom: 0;
}
.price, .cap {
font: normal 14px courier new;
right: 15px;
......@@ -107,6 +102,7 @@ img, div {
width: 109px;
height: 20px;
}
.cap {
bottom: 50px;
}
......
......@@ -14,8 +14,8 @@
</div>
</div>
</div>
<img class="moon" src="moooon.png" width="100">
<img class="dashboard" src="dashboard.png "width="300">
<img class="moon" src="moooon.png">
<img class="dashboard" src="dashboard.png">
<div id="price" class="price"></div>
<div id="cap" class="cap"></div>
<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