* first version of dect registration and phonebook functionality, missing export functionality for dect phone system, the rest should more or less work * add a missing button and message * fix typo * add django-oauth-toolkit to implement oauth2 auth for the DECT csv export * remove unused HMAC code * add logger * only show buttons when user is logged in * remove unneeded enctype
27 lines
971 B
HTML
27 lines
971 B
HTML
{% extends 'base.html' %}
|
|
{% load bootstrap3 %}
|
|
|
|
{% block title %}
|
|
Delete DECT Registration | {{ block.super }}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">
|
|
<span class="h3">Really delete DECT registration {{ dectregistration.number }}?</span>
|
|
</div>
|
|
<div class="panel-body">
|
|
<p class="lead">Are you sure you want to delete the registration of DECT number {{ dectregistration.number }}?
|
|
<ul>
|
|
<li>Letters: {{ dectregistration.letters|default:"N/A" }}</li>
|
|
<li>Description: {{ dectregistration.description|default:"N/A" }}</li>
|
|
</ul>
|
|
<form method="post">
|
|
{% csrf_token %}
|
|
<button class="btn btn-danger" type="submit"><i class="fas fa-times"></i> Delete DECT Registration</button>
|
|
<a href="{% url 'phonebook:dectregistration_list' camp_slug=camp.slug %}" class="btn btn-primary"><i class="fas fa-undo"></i> Cancel</a>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|