mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-13 10:30:16 +00:00
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>
37 lines
706 B
HTML
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 %}
|