mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-02-18 08:33:41 +00:00
- Ensure that .sr-only is replaced with newer classes. - Ensure that icons are present for all alerts. - Use flex-box for display of icons on the left center of the alert. - .close has been renamed to .btn-close. - × is no longer required for close buttons. Tests: - Visually verify all the changes by triggering them with code changes. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Veiko Aasa <veiko17@disroot.org>
58 lines
1.6 KiB
HTML
58 lines
1.6 KiB
HTML
{% extends "app.html" %}
|
|
{% comment %}
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
{% endcomment %}
|
|
|
|
{% load bootstrap %}
|
|
{% load i18n %}
|
|
|
|
{% block pagetitle %}
|
|
<h2>{{ name }}</h2>
|
|
{% endblock %}
|
|
|
|
|
|
{% block configuration %}
|
|
<h3>{% trans "Configuration" %}</h3>
|
|
|
|
<p>
|
|
{% blocktrans trimmed %}
|
|
Matrix service needs to be configured for a domain. Users on other Matrix
|
|
servers will be able to reach users on this server using this domain name.
|
|
Matrix user IDs will look like <em>@username:domainname</em>.
|
|
{% endblocktrans %}
|
|
</p>
|
|
|
|
<div class="alert alert-warning d-flex align-items-center" role="alert">
|
|
<div class="me-2">
|
|
<span class="fa fa-exclamation-triangle" aria-hidden="true"></span>
|
|
<span class="visually-hidden">{% trans "Caution:" %}</span>
|
|
</div>
|
|
<div>
|
|
{% blocktrans trimmed %}
|
|
<strong>Warning!</strong> Changing the domain name after this step will
|
|
require uninstalling and reinstalling the app which will wipe app's
|
|
data.
|
|
{% endblocktrans %}
|
|
</div>
|
|
</div>
|
|
|
|
{% if not domain_names %}
|
|
{% url 'names:index' as config_url %}
|
|
<p>
|
|
{% blocktrans trimmed %}
|
|
No domain(s) are available. <a href="{{ config_url }}">Configure</a>
|
|
at least one domain to be able to use Matrix Synapse.
|
|
{% endblocktrans %}
|
|
</p>
|
|
{% else %}
|
|
<form class="form form-configuration" method="post">
|
|
{% csrf_token %}
|
|
|
|
{{ form|bootstrap }}
|
|
|
|
<input type="submit" class="btn btn-primary"
|
|
value="{% trans "Update setup" %}"/>
|
|
</form>
|
|
{% endif %}
|
|
{% endblock %}
|