{{define "head"}}{{if .Waiting}} {{end}}{{end}} {{define "content"}} {{template "page-header" dict "Title" .Title}}
{{if .Done}}

Return to the Calls app to join your meeting. You can close this tab.

{{else if .Expired}}

Go back to the meeting and choose Join in the app again.

Meetings

{{else if .Waiting}} {{/* The web's Join in the app (appOffer): this page waits for the app to ask, then becomes the confirmation for it, here, where you are signed in. app-offer.js opens the app once and asks every couple of seconds; with no script the page refreshes itself every three. */}}

Open the Calls app to join this meeting there as you. When the app shows a code, this page will ask you to check it.

Open the Calls app

Waiting for the app…

Back to the meeting

{{else}}

Check that this code matches the one in your Calls app: {{.Code}}

{{if .Guest}}

Continue only if you just opened the Calls app on your own device. This lets the app join this meeting as your guest identity.

{{template "confirm-form" dict "Action" .Action "Label" "Continue as guest" "CancelHref" .CancelHref "CancelLabel" "Cancel"}} {{else}}

Continue only if you just started signing in from the Calls app on your own device. This gives that app access to Calls as the account shown above.

{{template "confirm-form" dict "Action" .Action "Label" "Sign in to Calls app" "CancelHref" "/" "CancelLabel" "Cancel"}} {{end}} {{end}}
{{end}}