mirror of
https://github.com/urbit/shrub.git
synced 2024-12-25 04:52:06 +03:00
39 lines
1.4 KiB
Plaintext
39 lines
1.4 KiB
Plaintext
/= gas /$ fuel:html
|
|
/= error /: /===/web/404 /!hymn/
|
|
:: only authenticated user should be allowed to see this
|
|
::
|
|
?. (~(has in (~(got by aut.ced.gas) %$)) (scot %p p.bem.gas))
|
|
error
|
|
=/ cod=tape
|
|
%+ slag 1
|
|
%+ scow %p
|
|
.^(@p %j /(scot %p p.bem.gas)/code/(scot r.bem.gas)/(scot %p p.bem.gas))
|
|
^- manx
|
|
;div
|
|
;input(type "hidden", name "urb-metadata", urb-structure-type "header-profile", urb-author "{(scow %p p.bem.gas)}");
|
|
;div.container(urb-devices "")
|
|
;div.row.mt-4
|
|
;div.flex-col-2;
|
|
;div.flex-col-x
|
|
;a.vanilla.btn.btn-primary(href (trip 'javascript:(function(){document.querySelectorAll("[urb-devices]")[0].classList.add("hide"); document.querySelectorAll("[urb-qr]")[0].classList.remove("hide");})()')): Connect device
|
|
;div.mt-6
|
|
;a.h3.vanilla.text-red(href "javascript:void(0)"): Log Out ↓
|
|
==
|
|
==
|
|
==
|
|
==
|
|
;div.container.hide(urb-qr "")
|
|
;div.row.mt-4
|
|
;div.flex-col-2;
|
|
;div.flex-col-x
|
|
;div
|
|
=urb-component "QRCodeComponent"
|
|
=urb-ship "{(scow %p p.bem.gas)}"
|
|
=urb-code "{cod}";
|
|
;h2.mt-8.mt-0.text-500.profile-qr-desc: Scan this code to connect your device
|
|
;a.mt-4.vanilla.btn.btn-primary(href (trip 'javascript:(function(){document.querySelectorAll("[urb-qr]")[0].classList.add("hide"); document.querySelectorAll("[urb-devices]")[0].classList.remove("hide");})()')): Done
|
|
==
|
|
==
|
|
==
|
|
==
|