You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-09-11 22:30:47 +03:00
46 lines
1.5 KiB
HTML
46 lines
1.5 KiB
HTML
{#
|
|
Copyright 2021 The Matrix.org Foundation C.I.C.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
#}
|
|
|
|
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
<main class="flex flex-col justify-center gap-6">
|
|
<header class="page-heading">
|
|
<div class="header">
|
|
<h1 class="title">{{ _("app.human_name") }}</h1>
|
|
<p class="text">
|
|
{{ _("app.technical_description", discovery_url=discovery_url) }}
|
|
</p>
|
|
</div>
|
|
</header>
|
|
|
|
{% if current_session %}
|
|
<p class="cpd-text-body-md-regular">
|
|
{{ _("mas.navbar.signed_in_as", username=current_session.user.username) }}
|
|
</p>
|
|
|
|
{{ button.link(text=_("mas.navbar.my_account"), href="/account/") }}
|
|
{{ logout.button(text=_("action.sign_out"), csrf_token=csrf_token) }}
|
|
{% else %}
|
|
{{ button.link(text=_("action.sign_in"), href="/login") }}
|
|
|
|
{% if features.password_registration %}
|
|
{{ button.link_outline(text=_("mas.navbar.register"), href="/register") }}
|
|
{% endif %}
|
|
{% endif %}
|
|
</main>
|
|
{% endblock content %}
|