FreedomBox/plinth/modules/wireguard/templates/wireguard_delete_server.html
Sunil Mohan Adapa fef8da230f
ui: Adopt a consistent and new table style
Rows in bootstrap 4 tables are taller by default. This is better suited for
mobile layouts and look prettier on desktops too. Adopting this approach instead
of condensed tables eliminates the need for striping, bordering and narrower
tables.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-12-19 11:26:33 +02:00

37 lines
706 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>
<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>
<form class="form" method="post">
{% csrf_token %}
<input type="submit" class="btn btn-danger"
value="{% trans "Delete" %}"/>
</form>
{% endblock %}