first_setup: UX improvements for the first setup page

- Add the FreedomBox image which is shown in firstboot page to the first setup
  page as well.
- Login button is removed to avoid confusion.
- Remove the check for `setup_helper.current_operation` so that the first setup
  page seamlessly transitions into the firstboot page.

The user experience will as follows:
1. A user sees the first setup page with the warning message to wait till it is
done.
2. The page automatically refreshes and the user will notice that the warning
message is gone and will proceed to click the "Start Setup" button which just
appeared.

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Joseph Nuthalapati 2018-01-17 14:46:18 +05:30 committed by Sunil Mohan Adapa
parent db2b796165
commit ad7f63ebfa
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2

View File

@ -1,4 +1,4 @@
{% extends "base.html" %}
{% extends "base_firstboot.html" %}
{% comment %}
#
# This file is part of Plinth.
@ -20,13 +20,10 @@
{% load bootstrap %}
{% load i18n %}
{% load static %}
{% block page_head %}
{% if setup_helper.current_operation %}
<meta http-equiv="refresh" content="3" />
{% endif %}
<meta http-equiv="refresh" content="3" />
{% endblock %}
@ -41,4 +38,9 @@
</div>
{% endif %}
<p class="text-center">
<img src="{% static 'theme/img/FreedomBox-logo-standard.png' %}"
alt="{{ box_name }}" width="640"/>
</p>
{% endblock %}