cleaner
This commit is contained in:
parent
258d82025d
commit
f81cfd763c
2 changed files with 3 additions and 2 deletions
|
@ -149,6 +149,7 @@
|
||||||
"Message component"
|
"Message component"
|
||||||
(when message
|
(when message
|
||||||
[:div {:style {:height (str height "vh")
|
[:div {:style {:height (str height "vh")
|
||||||
|
:line-height "1.6em"
|
||||||
:width "100%"
|
:width "100%"
|
||||||
:background "rgba(255,255,255,0.8)"
|
:background "rgba(255,255,255,0.8)"
|
||||||
:color "rgba(0,0,0,0.5)"
|
:color "rgba(0,0,0,0.5)"
|
||||||
|
|
|
@ -30,8 +30,8 @@
|
||||||
(smart-si
|
(smart-si
|
||||||
(fn []
|
(fn []
|
||||||
(go (let [now (.getTime (new js/Date))
|
(go (let [now (.getTime (new js/Date))
|
||||||
from (.toISOString (new js/Date (- now (+ (* 2 interval) (* 60 1000)))))
|
from (.toISOString (new js/Date (- now (+ (* 2 interval) (* 40 1000)))))
|
||||||
to (.toISOString (new js/Date (- now (* 60 1000))))
|
to (.toISOString (new js/Date (- now (* 40 1000))))
|
||||||
response (<! (http/get (str "http://dev.api.vigiglo.be/api" route)
|
response (<! (http/get (str "http://dev.api.vigiglo.be/api" route)
|
||||||
{:query-params (into {:project_id (gets [prefix :project-id])
|
{:query-params (into {:project_id (gets [prefix :project-id])
|
||||||
:timeFrom from
|
:timeFrom from
|
||||||
|
|
Loading…
Reference in a new issue