Download this file
| 1 | {{/* deck_export — GET /d/{sqid}/export, the one screen that starts an |
| 2 | export. |
| 3 | |
| 4 | A page of its own rather than a button on the viewer, because |
| 5 | pressing it starts work and asks a question first: with the |
| 6 | speaker notes, or without. One job per screen (SKILL.md §7). |
| 7 | |
| 8 | The notice is where a refused start lands: a deck over the slide |
| 9 | cap, or a person who already has four exports running. Neither is |
| 10 | a fault, so neither is an error page. */}} |
| 11 | {{define "content"}} |
| 12 | {{template "back-nav" dict "Href" .BackHref "Label" .BackLabel}} |
| 13 | {{template "page-header" dict "Title" .Title}} |
| 14 | {{template "form-error" .Notice}} |
| 15 | <form method="post" action="{{.Action}}"> |
| 16 | <div rst-box> |
| 17 | <p>{{.Body}}</p> |
| 18 | {{template "field-check" dict "Name" "notes" "Label" .NotesLabel "Value" "1"}} |
| 19 | <p rst-text-muted>{{.Held}}</p> |
| 20 | </div> |
| 21 | {{template "form-foot" dict "Submit" .Submit "CancelHref" .BackHref "CancelLabel" .BackLabel}} |
| 22 | </form> |
| 23 | {{end}} |
| 24 | |