FreedomBox/plinth/modules/first_boot/templates/firstboot_welcome.html
Sunil Mohan Adapa 2526c98de6
static: Use SVG logo during first wizard welcome step
- This removes the need to ship a 67K file and scales better.

- Rename the file to have lowercase chars only for consistency.

Tests performed:

- Goto home page, see the logo at the bottom properly displayed.

- Goto the first wizard welcome page, notice that the logo is displayed. Also
the dimensions of the image are same as without the change.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-04-24 16:09:51 -04:00

41 lines
836 B
HTML

{% extends "base_firstboot.html" %}
{% comment %}
# SPDX-License-Identifier: AGPL-3.0-or-later
{% endcomment %}
{% load bootstrap %}
{% load i18n %}
{% load static %}
{% block page_head %}
<style type="text/css">
.navbar-brand {
display: none;
}
img.firstboot {
display: block;
max-width: 100%;
}
</style>
{% endblock %}
{% block content %}
<div class="logo">
<img class="firstboot" src="{% static 'theme/img/freedombox-logo-standard.svg' %}"
alt="{{ box_name }}" />
</div>
<form class="form text-center" method="post">
{% csrf_token %}
{% if show_wizard_password_prompt %}
{{ form|bootstrap }}
{% endif %}
<p>
<input type="submit" class="btn btn-lg btn-primary"
value="{% trans "Start Setup" %}"/>
</p>
</form>
{% endblock %}