blob: 54c76863cff58d116994c4201db7ad77b05e11e2 [file] [log] [blame]
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +01001<div role="tabpanel" class="tab-pane fade" id="SpamAliases" role="tabpanel" aria-labelledby="SpamAliases">
2 <div class="card mb-4">
3 <div class="card-header d-flex fs-5">
4 <button class="btn d-md-none flex-grow-1 text-start" data-bs-target="#collapse-tab-SpamAliases" data-bs-toggle="collapse" aria-controls="collapse-tab-SpamAliases">
5 {{ lang.user.spam_aliases }}
6 </button>
7 <span class="d-none d-md-block">{{ lang.user.spam_aliases }}
Matthias Andreas Benkard12a57352021-12-28 18:02:04 +01008 </div>
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +01009 <div id="collapse-tab-SpamAliases" class="card-body collapse" data-bs-parent="#user-content">
10 <div class="row">
11 <div class="col-md-12 col-sm-12 col-12">
12 <table id="tla_table" class="table table-striped dt-responsive w-100"></table>
13 </div>
Matthias Andreas Benkard12a57352021-12-28 18:02:04 +010014 </div>
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +010015 <div class="mass-actions-user">
16 <div class="btn-group" data-acl="{{ acl.spam_alias }}">
17 <div class="btn-group">
18 <a class="btn btn-sm btn-xs-half d-block d-sm-inline btn-secondary" id="toggle_multi_select_all" data-id="tla" href="#"><i class="bi bi-check-all"></i> {{ lang.mailbox.toggle_all }}</a>
19 <a class="btn btn-sm btn-xs-half d-block d-sm-inline btn-secondary dropdown-toggle" data-bs-toggle="dropdown" href="#">{{ lang.mailbox.quick_actions }}</a>
20 <ul class="dropdown-menu">
21 <li><a class="dropdown-item" data-action="edit_selected" data-id="tla" data-api-url='edit/time_limited_alias' data-api-attr='{"validity":"1"}' href="#">{{ lang.user.expire_in }} 1 {{ lang.user.hour }}</a></li>
22 <li><a class="dropdown-item" data-action="edit_selected" data-id="tla" data-api-url='edit/time_limited_alias' data-api-attr='{"validity":"24"}' href="#">{{ lang.user.expire_in }} 1 {{ lang.user.day }}</a></li>
23 <li><a class="dropdown-item" data-action="edit_selected" data-id="tla" data-api-url='edit/time_limited_alias' data-api-attr='{"validity":"168"}' href="#">{{ lang.user.expire_in }} 1 {{ lang.user.week }}</a></li>
24 <li><a class="dropdown-item" data-action="edit_selected" data-id="tla" data-api-url='edit/time_limited_alias' data-api-attr='{"validity":"744"}' href="#">{{ lang.user.expire_in }} 1 {{ lang.user.month }}</a></li>
25 <li><a class="dropdown-item" data-action="edit_selected" data-id="tla" data-api-url='edit/time_limited_alias' data-api-attr='{"validity":"8760"}' href="#">{{ lang.user.expire_in }} 1 {{ lang.user.year }}</a></li>
26 <li><a class="dropdown-item" data-action="edit_selected" data-id="tla" data-api-url='edit/time_limited_alias' data-api-attr='{"validity":"87600"}' href="#">{{ lang.user.expire_in }} 10 {{ lang.user.years }}</a></li>
27 <li><hr class="dropdown-divider"></li>
28 <li><a class="dropdown-item" data-action="delete_selected" data-id="tla" data-api-url='delete/time_limited_alias' href="#">{{ lang.mailbox.remove }}</a></li>
29 </ul>
30 </div>
31 <div class="btn-group">
32 <a class="btn btn-sm d-block d-sm-inline btn-success dropdown-toggle" data-bs-toggle="dropdown" href="#"><i class="bi bi-plus-lg"></i> {{ lang.user.alias_create_random }}, 1 {{ lang.user.year }}</a>
33 <ul class="dropdown-menu">
34 {% for domain in user_domains %}
35 <li>
36 <a class="dropdown-item" data-action="add_item" data-api-url='add/time_limited_alias' data-api-attr='{"domain":"{{ domain }}"}' href="#">
37 @ {{ domain }}
38 </a>
39 </li>
40 {% endfor %}
41 </ul>
42 </div>
43 </div>
Matthias Andreas Benkard12a57352021-12-28 18:02:04 +010044 </div>
45 </div>
46 </div>
47</div>