This commit is contained in:
Yann Esposito (Yogsototh) 2015-08-29 12:43:56 +02:00
parent 258d82025d
commit f81cfd763c
2 changed files with 3 additions and 2 deletions

View file

@ -149,6 +149,7 @@
"Message component"
(when message
[:div {:style {:height (str height "vh")
:line-height "1.6em"
:width "100%"
:background "rgba(255,255,255,0.8)"
:color "rgba(0,0,0,0.5)"

View file

@ -30,8 +30,8 @@
(smart-si
(fn []
(go (let [now (.getTime (new js/Date))
from (.toISOString (new js/Date (- now (+ (* 2 interval) (* 60 1000)))))
to (.toISOString (new js/Date (- now (* 60 1000))))
from (.toISOString (new js/Date (- now (+ (* 2 interval) (* 40 1000)))))
to (.toISOString (new js/Date (- now (* 40 1000))))
response (<! (http/get (str "http://dev.api.vigiglo.be/api" route)
{:query-params (into {:project_id (gets [prefix :project-id])
:timeFrom from