FreedomBox/plinth/modules/pagekite/templates/pagekite_default_services.html
fonfon 1fc0064fd0 refactoring pagekite: configuration form works
splitting the services to a separate page is not yet finished
2015-05-03 09:44:46 +02:00

56 lines
1.5 KiB
HTML

{% extends "base.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 %}
{% block page_head %}
<style type="text/css">
div.checkbox .help-block {
display: inline-block;
margin: 0px 10px;
}
div.custom-services span.service {
display: inline-block;
padding-top: 6px;
}
input.btn {
margin: 10px 15px;
}
</style>
{% endblock %}
{% block content %}
<h3>Default Services</h3>
<p>Exposing services makes them accessible and attackable from the evil
internet. Be cautious!</p>
<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="Save settings"/>
</form>
{% endblock %}