oficina / meet Public

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

Plain git — no account needed to clone.

Download

Download this file

1{{define "content"}}
2{{template "page-header" dict "Title" "Settings"}}
3<section>
4<h2>Meeting defaults</h2>
5<p>Applies to new meetings created by anyone on this team. Existing meetings keep their own settings.</p>
6{{if .Saved}}{{template "callout" dict "Body" "Meeting defaults saved." "Tone" "positive"}}{{end}}
7<form rst-form method="post" action="/settings/defaults">
8{{template "meeting-options" .Defaults}}
9<div rst-form-actions><button type="submit" rst-btn="primary lg">Save defaults</button></div>
10</form>
11</section>
12<section>
13<h2>Agents</h2>
14{{if .Agents}}
15<div rst-list class="calls-agents">
16{{range .Agents}}
17<div rst-row>
18 <span rst-row-main><span class="calls-row-title">{{.Name}}</span><small rst-row-sub>{{if not .Revoked}}{{.Principal}} · {{end}}Created {{.Created}}</small></span>
19 {{if .Revoked}}{{template "status-pill" dict "Label" "Revoked"}}{{else}}<a rst-row-action href="/settings/agents/{{.ID}}/revoke" aria-label="Revoke {{.Name}}">Revoke</a>{{end}}
20</div>
21{{end}}
22</div>
23{{else}}
24{{template "empty-state" dict "Body" "No agents yet. An agent is a token a program uses to make and end meetings for you."}}
25{{end}}
26</section>
27<section>
28<h2>Create an agent</h2>
29<form rst-form method="post" action="/settings/agents">
30 {{template "field" dict "ID" "name" "Name" "name" "Label" "Name" "Required" true "Maxlength" "64" "Error" .NameError "Value" .Name}}
31 <div rst-form-actions><button type="submit" rst-btn="primary lg">Create an agent</button></div>
32</form>
33</section>
34{{end}}
35