-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added the add change and delete methods for the sample backend #498
- Loading branch information
Showing
4 changed files
with
68 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{% extends "generic_form.html" %} | ||
{% set page_title = _("MAC-Adresse ändern") %} | ||
|
||
{% block form_content %} | ||
<div class="{{ form_input_offset_class }} {{ form_input_width_class }} alert alert-info"> | ||
{{ _('Bitte gehe sicher, dass es sich um die Wi-Fi MAC-Adresse deines Gerätes handelt.') }} | ||
{{ _('Hinweis: Bei einer Änderung der MAC-Adresse wird automatisch eine Benachrichtigungsmail an uns gesandt.') }} | ||
</div> | ||
<div class="{{ form_input_offset_class }} {{ form_input_width_class }} alert alert-warning"> | ||
{{ _('Bitte beachtet, dass Nach-/Untermieter einen eigenen Account brauchen. Es ist nicht zulässig, den eigenen Account weiterzugeben.') }} | ||
{{ _('Solltet ihr euren Account mit anderen teilen (ihn weitergeben, fremde MAC-Adressen eintragen), haftet weiterhin ihr als der Accountinhaber für alle Aktivitäten des Accounts!') }} | ||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{% extends "base.html" %} | ||
|
||
{% import "macros/forms.html" as forms %} | ||
{% set page_title = _("MPSK Wi-Fi Geräte") %} | ||
{% block content %} | ||
{% include "heading.html" %} | ||
<table class="table table-striped"> | ||
<tr> | ||
<th>{{ _("Greät") }}</th> | ||
<th>{{ _("Wi-Fi MAC") }}</th> | ||
<th>{{ _("Aktion") }}</th> | ||
</tr> | ||
{% for client in clients %} | ||
<tr> | ||
|
||
<td>{{ client[0] }}</td> | ||
<td>{{ client[1] }}</td> | ||
<td> | ||
<a href="{{ url_for('usersuite.change_mpsks', name=client[0], mac=client[1]) }}"> | ||
<span class="bi-pencil-fill ms-auto"></span> | ||
</a> | ||
<a href="{{ url_for('usersuite.delete_mpsk', mac=client[1]) }}"> | ||
<span class="bi-trash-fill ms-auto"></span> | ||
</a> | ||
</td> | ||
</tr> | ||
{% endfor %} | ||
<tr> | ||
<td colspan="3" class="text-center"> | ||
<a href="{{ url_for('usersuite.add_mpsks') }}" class="align-items-center " > | ||
<span class="bi-plus-square-fill ms-auto"></span> | ||
</a> | ||
</td> | ||
</tr> | ||
</table> | ||
|
||
{% endblock %} | ||
|
This file was deleted.
Oops, something went wrong.