mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-13 10:30:16 +00:00
- PEP8 fixes. - Don't need to disable .socket and .service. Disabling .service will take care of disabling both. - Update the introduction message. - Add prefix to form so that it can potentially be mixed with other forms.
55 lines
1.7 KiB
HTML
55 lines
1.7 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 content %}
|
|
|
|
<h2>Service Discovery</h2>
|
|
|
|
<p>Service discovery allows other machines on the network to discover
|
|
your FreedomBox and services running on it. It also allows
|
|
FreedomBox to discover other machines and services running on your
|
|
local network. Service discovery is not essential and works only on
|
|
internal networks. It may be disabled to improve security
|
|
especially when connecting to a hostile local network.</p>
|
|
|
|
<h3>Status</h3>
|
|
|
|
<p class="running-status-parent">
|
|
{% if status.is_running %}
|
|
<span class="running-status active"></span> Service discovery server is running
|
|
{% else %}
|
|
<span class="running-status inactive"></span> Service discovery server is not running
|
|
{% endif %}
|
|
</p>
|
|
|
|
<h3>Configuration</h3>
|
|
|
|
<form class="form" method="post">
|
|
{% csrf_token %}
|
|
|
|
{{ form|bootstrap }}
|
|
|
|
<input type="submit" class="btn btn-primary" value="Update setup"/>
|
|
</form>
|
|
|
|
{% endblock %}
|