go-ssb-room/web/templates/invite/consumed.tmpl

35 lines
1.3 KiB
Cheetah

<!--
SPDX-FileCopyrightText: 2021 The NGI Pointer Secure-Scuttlebutt Team of 2020/2021
SPDX-License-Identifier: CC-BY-4.0
-->
{{ define "title" }}{{i18n "InviteConsumedTitle"}}{{ end }}
{{ define "content" }}
<div class="flex flex-col justify-center items-center self-center max-w-lg">
<svg class="mt-6 w-32 h-32 text-green-300" viewBox="0 0 24 24">
<path fill="currentColor" d="M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M12 20C7.59 20 4 16.41 4 12S7.59 4 12 4 20 7.59 20 12 16.41 20 12 20M16.59 7.58L10 14.17L7.41 11.59L6 13L10 17L18 9L16.59 7.58Z" />
</svg>
<span
id="welcome"
class="my-6 text-center"
>{{i18n "InviteConsumedTitle"}}<br />{{i18n "InviteConsumedWelcome"}}</span>
<span
class="bg-gray-200 py-1 px-2 mb-8 w-64 font-mono break-all"
>{{.MultiserverAddress}}</span>
<span
class="text-center"
>{{i18n "InviteConsumedSetPassword" }}<br /></span>
<span
class="w-64 my-6 text-center"
><a
class="self-start shadow rounded h-8 flex flex-row justify-center items-center text-gray-100 bg-pink-600 hover:bg-pink-700 focus:outline-none focus:ring-2 focus:ring-pink-600 focus:ring-opacity-50"
href="{{urlTo "members:change-password"}}"
>{{i18n "InviteConsumedSetPasswordButton" }}</a></span>
</div>
{{end}}