FreedomBox/plinth/modules/wireguard/templates/wireguard_delete_server.html
Sunil Mohan Adapa 09ba3892e8
wireguard: tests: Add functional tests
Add HTML classes to help with functional testing.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-01-30 17:27:38 -05:00

39 lines
791 B
HTML

{% extends "base.html" %}
{% comment %}
# SPDX-License-Identifier: AGPL-3.0-or-later
{% endcomment %}
{% load bootstrap %}
{% load i18n %}
{% block content %}
<h3>{{ title }}</h3>
<p>
{% trans "Are you sure that you want to delete this server?" %}
</p>
<div class="table-responsive">
<table class="table">
<tbody>
<tr>
<th>{% trans "Endpoint" %}</th>
<td>{{ peer_endpoint }}</td>
</tr>
<tr>
<th>{% trans "Public Key" %}</th>
<td>{{ peer_public_key }}</td>
</tr>
</tbody>
</table>
</div>
<form class="form form-delete-server" method="post">
{% csrf_token %}
<input type="submit" class="btn btn-danger"
value="{% trans "Delete" %}"/>
</form>
{% endblock %}