mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-26 12:46:08 +00:00
pagekite: Remove unused templates
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
parent
4156afa7cf
commit
736e814477
@ -1,46 +0,0 @@
|
|||||||
{% extends "base_firstboot.html" %}
|
|
||||||
{% comment %}
|
|
||||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
||||||
{% endcomment %}
|
|
||||||
|
|
||||||
{% load bootstrap %}
|
|
||||||
{% load i18n %}
|
|
||||||
{% load static %}
|
|
||||||
|
|
||||||
{% block content %}
|
|
||||||
<h2>{% trans "Setup a freedombox.me subdomain with your voucher" %}</h2>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
{% url 'pagekite:firstboot-skip' as finish_firstboot_url %}
|
|
||||||
{% blocktrans trimmed %}
|
|
||||||
<a href="{{ finish_firstboot_url }}">Skip this step</a> if you
|
|
||||||
do not have a voucher or want to configure PageKite later with a
|
|
||||||
different domain or credentials.
|
|
||||||
{% endblocktrans %}
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
{% blocktrans trimmed %}
|
|
||||||
You can use an already redeemed voucher but it will only work
|
|
||||||
with the initially registered subdomain.
|
|
||||||
{% endblocktrans %}
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<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 'pagekite:firstboot-skip' %}" class="btn btn-default"
|
|
||||||
role="button">
|
|
||||||
{% trans "Skip Registration" %}
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
{% endblock %}
|
|
||||||
@ -1,47 +0,0 @@
|
|||||||
{% extends "pagekite_base.html" %}
|
|
||||||
{% comment %}
|
|
||||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
||||||
{% endcomment %}
|
|
||||||
|
|
||||||
{% load bootstrap %}
|
|
||||||
{% load i18n %}
|
|
||||||
|
|
||||||
{% block page_head %}
|
|
||||||
<style type="text/css">
|
|
||||||
div.checkbox .help-block {
|
|
||||||
display: inline-block;
|
|
||||||
margin: 0px 10px;
|
|
||||||
}
|
|
||||||
input.btn {
|
|
||||||
margin: 10px 15px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block configuration %}
|
|
||||||
|
|
||||||
<div class="alert alert-warning" role="alert">
|
|
||||||
|
|
||||||
{% trans "<b>Warning:</b><br/>" %}
|
|
||||||
|
|
||||||
<p>
|
|
||||||
{% blocktrans trimmed %}
|
|
||||||
Published services are accessible and attackable from the evil
|
|
||||||
Internet.
|
|
||||||
{% endblocktrans %}
|
|
||||||
</p>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<form class="form predefined" method="post">
|
|
||||||
{{ form.http|bootstrap_horizontal:'col-lg-0' }}
|
|
||||||
{{ form.https|bootstrap_horizontal:'col-lg-0' }}
|
|
||||||
{{ form.ssh|bootstrap_horizontal:'col-lg-0' }}
|
|
||||||
{% csrf_token %}
|
|
||||||
|
|
||||||
<input type="submit" class="btn btn-primary"
|
|
||||||
value="{% trans "Save Services" %}"/>
|
|
||||||
</form>
|
|
||||||
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user