{% extends "app.html" %} {% comment %} # # This file is part of FreedomBox. # # 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 . # {% endcomment %} {% load bootstrap %} {% load i18n %} {% block configuration %}

{% trans "Server" %}

{% trans "Peers allowed to connect to this server" %}

{% if server_peers %} {% for peer in server_peers %} {% endfor %} {% else %} {% endif %}
{% trans "Public Key" %} {% trans "Last Connected Time" %} {% trans "Delete" %}
{{ peer.public_key }} {{ peer.latest_handshake }}
{% blocktrans trimmed %} No peers configured to connect to this {{ box_name }} yet. {% endblocktrans %}
{% trans "Add Client" %}

{% trans "Client" %}

{% trans "Peer servers that FreedomBox will connect to" %}

{% if client_peers %} {% for peer in client_peers %} {% endfor %} {% else %} {% endif %}
{% trans "Endpoint" %} {% trans "Public Key" %} {% trans "Last Connected Time" %} {% trans "Edit" %}
{{ peer.endpoint }} {{ peer.public_key }} {{ peer.latest_handshake }} Edit
{% blocktrans trimmed %} No connections to remote servers are configured yet. {% endblocktrans %}
{% trans "Add Server" %} {{ block.super }} {% endblock %}