oficina / home Public

Clone
git clone https://amadan.net/oficina/home

Plain git — no account needed to clone.

Download

Download this file

1{{define "title"}}Confirm a provisioning plan · Oficina{{end}}
2{{define "content"}}
3<h1>Confirm a provisioning plan</h1>
4{{if .Data.Error}}<p role="alert" rst-callout rst-tone="negative"><span rst-callout-body>{{.Data.Error}}</span></p>{{end}}
5{{if .Data.Opened}}
6<p rst-callout rst-tone="positive"><span rst-callout-body>Window open on oficina.works until {{.Data.Opened}}.</span></p>
7<p>Now confirm the same plan, <code>{{.Data.Prefix}}</code>, on id.oficina.works.</p>
8{{else if .Data.Plan}}{{with .Data.Plan}}
9<p>This is Home’s own copy of the plan the provisioner submitted. Check every line before you open the window.</p>
10<dl>
11 <dt>Plan</dt><dd><code>{{.Prefix}}</code></dd>
12 <dt>Kind</dt><dd>{{.Kind}}</dd>
13 {{if .ExistingTeam}}<dt>Team ID</dt><dd><code>{{.ExistingTeam}}</code></dd>{{end}}
14 {{if .Label}}<dt>Label</dt><dd><code>{{.Label}}</code></dd>{{end}}
15 {{if .Name}}<dt>Name</dt><dd>{{.Name}}</dd>{{end}}
16 {{if .Hosts}}<dt>Apps</dt><dd><ul>{{range .Hosts}}<li><code>{{.}}</code></li>{{end}}</ul></dd>{{end}}
17 <dt>Expires</dt><dd>{{.Expires}}</dd>
18</dl>
19{{if .ExistingTeam}}<p>Connect these existing apps while keeping their data, sign-in settings and content permissions. Team membership alone does not give access to existing content.</p>{{end}}
20<form method="post" action="/operator/confirm" rst-form>
21 <input type="hidden" name="plan" value="{{.ID}}">
22 <div rst-form-foot>
23 <button type="submit" rst-btn="primary">Open window</button>
24 </div>
25</form>
26{{end}}{{else}}
27<p>No plan is waiting for confirmation.</p>
28{{end}}
29{{end}}
30