FreedomBox/plinth/templates/first_setup.html
Sunil Mohan Adapa 84ef5dd4fa
firstboot: Show spinner instead of message during first setup
Fixes #2456.

- Replace the first setup wait message with a spinner. This is sufficient to let
the user know that they have to wait.

- The message does not convey anything more.

Tests:

- Remove /var/lib/plinth/plinth.sqlite3 and start the service. After the service
starts listening visit the web interface and notice that the first setup screen
shows up. The size and position of the spinner are as expected.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2024-10-08 13:46:24 +03:00

28 lines
585 B
HTML

{% extends "base_firstboot.html" %}
{% comment %}
# SPDX-License-Identifier: AGPL-3.0-or-later
{% endcomment %}
{% load bootstrap %}
{% load i18n %}
{% load static %}
{% block body_class %}
no-brand
{% endblock %}
{% block content %}
<div class="logo">
<img class="firstboot img-fluid" alt="{{ box_name }}"
src="{% static 'theme/img/freedombox-logo-standard.svg' %}"/>
</div>
{% if is_first_setup_running %}
<p class="firstboot-spinner">
<span class="fa fa-refresh fa-spin fa-4x fa-pull-left processing"></span>
</p>
{% endif %}
{% endblock %}