mirror of
https://github.com/simple-login/app.git
synced 2024-11-16 08:58:30 +01:00
046748c443
* Update pre-commit * Upgrade djlint, remove flake8 and add pylint * Reformat with new djlint version * Run pre-commit on CI * Use only python3.10 on CI * Reformat files with pre-commit * Run pre-commit against all files * Reformat * Added global excludes * Added pre-commit to the contributing file * Set python 3.9 as default * Set language version to python3 Co-authored-by: Adrià Casajús <adria.casajus@proton.ch> Co-authored-by: Carlos Quintana <carlos.quintana@proton.ch>
29 lines
1 KiB
HTML
29 lines
1 KiB
HTML
{% extends "default.html" %}
|
|
|
|
{% set active_page = "dashboard" %}
|
|
{% block title %}Receive {{ alias.email }}{% endblock %}
|
|
{% block default_content %}
|
|
|
|
<div class="card">
|
|
<div class="card-body">
|
|
<h1 class="h3">Receive {{ alias.email }}</h1>
|
|
<p>
|
|
You are invited to become the owner of the alias <b>{{ alias.email }}</b>
|
|
</p>
|
|
<p>Please choose the mailbox(es) that owns this alias 👇</p>
|
|
<form method="post" class="mt-2">
|
|
<select data-width="100%" class="mailbox-select" multiple name="mailbox_ids">
|
|
{% for mailbox in mailboxes %}
|
|
|
|
<option value="{{ mailbox.id }}"
|
|
{% if mailbox.id == current_user.default_mailbox_id %} selected{% endif %}>
|
|
{{ mailbox.email }}
|
|
</option>
|
|
{% endfor %}
|
|
</select>
|
|
<button class="btn btn-success mt-2">Confirm</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|
|
{% block script %}<script>$('.mailbox-select').multipleSelect();</script>{% endblock %}
|