FreedomBox/plinth/modules/first_boot/templates/firstboot_welcome.html
Sunil Mohan Adapa ae535268b2
ui: Use common styling to hide logo during firstboot
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-12-19 16:26:52 +02:00

42 lines
838 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 page_head %}
<style type="text/css">
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 %}