urbit/base/pub/do/fab/hymn.hook
2015-05-20 13:49:19 -07:00

32 lines
703 B
Plaintext

::
::::
:::
/? 310
/= gas /$ fuel
::
::::
::
!:
^- manx
=+ do=(~(get by qix.gas) %'code')
=+ g=(~(get by qix.gas) %'access_token')
;html
;head
;script@"/~/at/home/lib/urb.js";
;script: urb.appl = 'do'
;script@"https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.js";
;script@"https://cdnjs.cloudflare.com/ajax/libs/react/0.12.2/react.js";
::;link/"/main/pub/do/src/main.css"(rel "stylesheet");
;title: DO Instance Tracker
==
;body
;* =+ d=?~(do ~ (trip u.do))
=+ g=?~(g ~ (trip u.g))
:_ ~
;script: authcode='{?~(d g d)}'; console.log(authcode)
;div#container;
;script@"/home/pub/do/src/main.js";
==
==