go-ssb-room/web/templates/auth/withssb_server_start.tmpl

16 lines
594 B
Cheetah

{{ define "title" }}{{i18n "AuthWithSSBTitle"}}{{ end }}
{{ define "content" }}
<div id="page-header">
<h1 id="welcome" class="text-lg">{{i18n "AuthWithSSBWelcome"}}</h1>
</div>
<div>
<img src="{{.QRCodeURI}}" alt="QR-Code to pass the challenge to an App" />
<a href="{{.SSBURI}}">{{i18n "GenericOpenLink"}}</a>
<h3>Server events</h3>
<p id="ping"></p>
<p id="failed" class="text-red-500"></p>
</div>
<div id="challenge" ch="{{.ServerChallenge}}"></div>
<script src="/assets/login-events.js"></script>
{{end}}