Download this file
| 1 | {{/* present_pair — POST /p/{session}/pair: pairing a phone, from the |
| 2 | presenter window's ⋯ menu (spec §5.6, §6 "Who may drive"). |
| 3 | |
| 4 | The menu's form posts here into a window of its own |
| 5 | (target="slides-pair"), so the presenter window keeps its talk. |
| 6 | Each post makes a new remote token and retires the old one; this |
| 7 | page is the one time the new one is shown, since only a fingerprint |
| 8 | of it is stored, and the answer is never cached. */}} |
| 9 | {{define "page-head"}}<link rel="stylesheet" href="{{asset "static/slides.css"}}"> |
| 10 | {{template "present-pairing-style" .}}{{end}} |
| 11 | {{define "content"}}{{$L := localizer $}} |
| 12 | {{template "page-header" dict "L" $L "Title" .Title "Sub" .Body}} |
| 13 | <div rst-box> |
| 14 | {{template "present-pairing" (withL (.Pair) $L)}} |
| 15 | </div> |
| 16 | {{end}} |
| 17 | |