Matthias Andreas Benkard | 12a5735 | 2021-12-28 18:02:04 +0100 | [diff] [blame] | 1 | <div role="tabpanel" class="tab-pane" id="SpamAliases"> |
| 2 | <div class="row"> |
| 3 | <div class="col-md-12 col-sm-12 col-xs-12"> |
| 4 | <div class="table-responsive"> |
| 5 | <table class="table table-striped" id="tla_table"></table> |
| 6 | </div> |
| 7 | </div> |
| 8 | </div> |
| 9 | <div class="mass-actions-user"> |
| 10 | <div class="btn-group" data-acl="{{ acl.spam_alias }}"> |
| 11 | <div class="btn-group"> |
| 12 | <a class="btn btn-sm btn-xs-half visible-xs-block visible-sm-inline visible-md-inline visible-lg-inline btn-default" id="toggle_multi_select_all" data-id="tla" href="#"><i class="bi bi-check-all"></i> {{ lang.mailbox.toggle_all }}</a> |
| 13 | <a class="btn btn-sm btn-xs-half visible-xs-block visible-sm-inline visible-md-inline visible-lg-inline btn-default dropdown-toggle" data-toggle="dropdown" href="#">{{ lang.mailbox.quick_actions }} <span class="caret"></span></a> |
| 14 | <ul class="dropdown-menu"> |
| 15 | <li><a 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> |
| 16 | <li><a 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> |
| 17 | <li><a 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> |
| 18 | <li><a 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> |
| 19 | <li><a 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> |
| 20 | <li><a 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> |
| 21 | <li role="separator" class="divider"></li> |
| 22 | <li><a data-action="delete_selected" data-id="tla" data-api-url='delete/time_limited_alias' href="#">{{ lang.mailbox.remove }}</a></li> |
| 23 | </ul> |
| 24 | <div class="clearfix visible-xs-block"></div> |
| 25 | </div> |
| 26 | <div class="btn-group"> |
| 27 | <a class="btn btn-sm visible-xs-block visible-sm-inline visible-md-inline visible-lg-inline btn-success dropdown-toggle" data-toggle="dropdown" href="#"><i class="bi bi-plus-lg"></i> {{ lang.user.alias_create_random }}, 1 {{ lang.user.year }} <span class="caret"></span></a> |
| 28 | <ul class="dropdown-menu"> |
| 29 | {% for domain in user_domains %} |
| 30 | <li> |
| 31 | <a data-action="add_item" data-api-url='add/time_limited_alias' data-api-attr='{"domain":"{{ domain }}"}' href="#"> |
| 32 | @ {{ domain }} |
| 33 | </a> |
| 34 | </li> |
| 35 | {% endfor %} |
| 36 | </ul> |
| 37 | </div> |
| 38 | </div> |
| 39 | </div> |
| 40 | </div> |