FreedomBox/plinth/modules/first_boot/templates/firstboot_state5.html
fonfon 435f980c6f
firstboot: freedombox.me pagekite vouchers
- Show PageKite voucher only if cfg.danube_edition is enabled
2016-03-13 23:32:20 +05:30

71 lines
2.0 KiB
HTML

{% extends "base_firstboot.html" %}
{% 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 <http://www.gnu.org/licenses/>.
#
{% endcomment %}
{% load bootstrap %}
{% load i18n %}
{% load static %}
{% block content %}
<h3>{% trans "Set up a freedombox.me subdomain with your voucher" %}</h3>
<p>
{% url 'first_boot:state10' as finish_firstboot_url %}
{% blocktrans trimmed %}
<a href="{{ finish_firstboot_url }}">Skip the setup</a> if you do not have a
voucher or want to configure pagekite without using a freedombox.me subdomain.
{% endblocktrans %}
</p>
<p>
{% blocktrans trimmed %}
You can use a redeemed voucher but it will only work with the initially
registered subdomain.
{% endblocktrans %}
</p>
<div class="row">
<div class="col-md-8">
<form class='firstboot form-horizontal' role="form" action="" method="post">
{% csrf_token %}
{{ form|bootstrap_horizontal:'col-lg-3' }}
<div class="form-group">
<div class="col-sm-offset-3 col-sm-9">
<button type="submit" class="btn btn-primary">
{% trans "Register" %}
</button>
<a href="{% url 'first_boot:state10' %}" class="btn btn-primary"
role="button">
{% trans "Skip Registration" %}
</a>
</div>
</div>
</form>
</div>
</div>
{% endblock %}
{% block page_js %}
<script>
$('#id_code').focus();
</script>
{% endblock %}