mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
ui: Use Bootstrap 5 styling for all alerts
- 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>
This commit is contained in:
1 parent
ac6cca95e3
commit
62dad9336b
26 files changed
+390
-193
No files matched your search
@@ -22,11 +22,18 @@
|
||||
{% endblocktrans %}
|
||||
</p>
|
||||
|
||||
<div class="alert alert-warning" role="alert">
|
||||
{% 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 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 %}
|
||||
|
||||
@@ -70,14 +70,20 @@
|
||||
{% endif %}
|
||||
|
||||
{% if certificate_status != "valid" %}
|
||||
<div class="alert alert-warning" role="alert">
|
||||
{% url 'letsencrypt:index' as letsencrypt_url %}
|
||||
{% blocktrans trimmed %}
|
||||
The configured domain name is using a self-signed certificate.
|
||||
Federation with other Matrix Synapse instances requires a valid TLS
|
||||
certificate. Please go to <a href="{{ letsencrypt_url }}">Let's
|
||||
Encrypt</a> to obtain one.
|
||||
{% endblocktrans %}
|
||||
<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>
|
||||
{% url 'letsencrypt:index' as letsencrypt_url %}
|
||||
{% blocktrans trimmed %}
|
||||
The configured domain name is using a self-signed certificate.
|
||||
Federation with other Matrix Synapse instances requires a valid TLS
|
||||
certificate. Please go to <a href="{{ letsencrypt_url }}">Let's
|
||||
Encrypt</a> to obtain one.
|
||||
{% endblocktrans %}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
Reference in new issue
Block a user