Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tothemoon
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
13
Issues
13
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Taddeüs Kroes
tothemoon
Commits
0dfb5ff0
Commit
0dfb5ff0
authored
Jun 21, 2016
by
Taddeüs Kroes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable dashboard polling numbers
parent
7711df65
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
16 deletions
+12
-16
animate.coffee
animate.coffee
+5
-5
style.less
style.less
+5
-9
www/index.html
www/index.html
+2
-2
No files found.
animate.coffee
View file @
0dfb5ff0
...
...
@@ -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
style.less
View file @
0dfb5ff0
...
...
@@ -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;
}
...
...
www/index.html
View file @
0dfb5ff0
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment