Files
MeshTender/internal/core/templates/delete_repeater.html
T

51 lines
2.1 KiB
HTML

{{define "title"}}Delete {{.Repeater.Name}} · MeshTender{{end}}
{{define "header"}}
<div class="row g-2 align-items-center">
<div class="col"><h1 class="page-title fs-1">Delete “{{.Repeater.Name}}”?</h1></div>
</div>
{{end}}
{{define "content"}}
<div class="row justify-content-center">
<div class="col-12 col-lg-8">
<div class="card">
<div class="card-body">
<p class="text-secondary">
This removes the repeater from MeshTender — its shares, organization contributions, and command history here
all go away. This can't be undone.
</p>
{{/* Deleting is rarely what someone wants when a node stays on the air and
only its keeper is changing — offer the handover before the red button. */}}
<div class="alert alert-info" role="alert">
<div>
<h3 class="alert-title">Is this repeater staying on the air?</h3>
<div class="text-secondary">
If someone else is taking it over, <a href="/repeaters/{{.Repeater.PublicID}}/transfer">transfer
ownership to a steward</a> instead. Its documentation, maintenance history, and public page
address survive the handover; deleting throws all of that away.
</div>
</div>
</div>
<div class="alert alert-danger" role="alert">
<div>{{template "icon-alert" "alert-icon"}}</div>
<div>
<h3 class="alert-title">This does not revoke MeshTender's access</h3>
<div class="text-secondary">Your repeater still trusts MeshTender's identity at the firmware level. If you want MeshTender to truly lose access, revoke it on the device too — see below.</div>
</div>
</div>
{{template "revokedoc" .RevokeCommand}}
<form method="post" action="/repeaters/{{.Repeater.PublicID}}/delete" class="mt-3">
<div class="btn-list">
<button type="submit" class="btn btn-danger">{{template "icon-trash" "me-1"}}Delete repeater</button>
<a class="btn" href="/">Cancel</a>
</div>
</form>
</div>
</div>
</div>
</div>
{{end}}