diff --git a/plinth/modules/first_boot/templates/firstboot_navbar.html b/plinth/modules/first_boot/templates/firstboot_navbar.html new file mode 100644 index 000000000..dfb3f58ed --- /dev/null +++ b/plinth/modules/first_boot/templates/firstboot_navbar.html @@ -0,0 +1,26 @@ +{% comment %} +# +# This file is part of Plinth. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +{% endcomment %} + + diff --git a/plinth/modules/first_boot/templates/firstboot_state0.html b/plinth/modules/first_boot/templates/firstboot_state0.html index f011c5211..bccb14a4c 100644 --- a/plinth/modules/first_boot/templates/firstboot_state0.html +++ b/plinth/modules/first_boot/templates/firstboot_state0.html @@ -31,13 +31,7 @@ {% endblock %} {% block add_nav_and_login %} - + {% include "firstboot_navbar.html" %} {% endblock %} {% block content_row %} @@ -46,19 +40,15 @@ alt="FreedomBox" width="640"/>

-

- {% trans "Congratulations! Your FreedomBox is up and running!" %} -

- -

- {% blocktrans trimmed %} - Please provide the following basic information to complete the - setup process. - {% endblocktrans %} -

-

{% trans "Next" %} + class="btn btn-primary btn-lg">{% trans "Start Setup" %} +

+ +

+ {% blocktrans trimmed with box_name=cfg.box_name %} + To complete the setup of your {{ box_name }}, please provide + some basic information. + {% endblocktrans %}

{% endblock %} diff --git a/plinth/modules/first_boot/templates/firstboot_state1.html b/plinth/modules/first_boot/templates/firstboot_state1.html index 8fe94b965..1c2ecaebf 100644 --- a/plinth/modules/first_boot/templates/firstboot_state1.html +++ b/plinth/modules/first_boot/templates/firstboot_state1.html @@ -22,14 +22,16 @@ {% load i18n %} {% load static %} +{% block page_head %} + +{% endblock %} + {% block add_nav_and_login %} - + {% include "firstboot_navbar.html" %} {% endblock %} {% block content_row %} @@ -60,6 +62,6 @@ {% block page_js %} {% endblock %} diff --git a/plinth/modules/first_boot/templates/firstboot_state10.html b/plinth/modules/first_boot/templates/firstboot_state10.html index a1f7cb553..b03096d83 100644 --- a/plinth/modules/first_boot/templates/firstboot_state10.html +++ b/plinth/modules/first_boot/templates/firstboot_state10.html @@ -29,35 +29,32 @@

{% trans "Setup Complete!" %}

- {% blocktrans trimmed %} - FreedomBox setup is now complete. However, you should check - the network setup and modify it if necessary. Do not forget - to change the default Wi-Fi passwords. + {% blocktrans trimmed with box_name=cfg.box_name %} + {{ box_name }} setup is now complete. To make your FreedomBox + functional, you need some applications. Applications will be + installed the first time you access them. {% endblocktrans %}

+
+ + {% trans "Go to Apps" %} +
+ +

{% trans "Current Network Configuration" %}

+

{% blocktrans trimmed %} - To make your FreedomBox functional, you need some - applications. Applications will be installed the first time - you access them. + You should check the network setup and modify it if necessary. + Do not forget to change the default Wi-Fi passwords! {% endblocktrans %}

-

{% trans "Network Configuration" %}

- {% include "connections_diagram.html" %} -
- - - +