blob: 2d7e7fc33ddc130dff9caa5a74caa3cb8c736b9e [file] [log] [blame]
Matthias Andreas Benkard12a57352021-12-28 18:02:04 +01001<div role="tabpanel" class="tab-pane" id="tab-mbox-aliases">
2 <div class="panel panel-default">
3 <div class="panel-heading">
4 {{ lang.mailbox.aliases }} <span class="badge badge-info table-lines"></span>
5 <div class="btn-group pull-right hidden-xs">
6 <button class="btn btn-xs btn-success" href="#" data-toggle="modal" data-target="#addAliasModal"><i class="bi bi-plus-lg"></i> {{ lang.mailbox.add_alias }}</button>
7 <button class="btn btn-xs btn-default refresh_table" data-draw="draw_alias_table" data-table="alias_table">{{ lang.admin.refresh }}</button>
8 <button type="button" class="btn btn-xs btn-default dropdown-toggle" data-toggle="dropdown">{{ lang.mailbox.table_size }}
9 <span class="caret"></span>
10 </button>
11 <ul class="dropdown-menu" data-table-id="alias_table" role="menu">
12 {% include 'mailbox/page-size.twig' %}
13 </ul>
14 </div>
15 </div>
16 <div class="panel-body help-block">
17 {{ lang.mailbox.alias_domain_alias_hint|raw }}
18 </div>
19 <!-- <div class="mass-actions-mailbox" data-actions-header="true"></div> -->
20 <div class="table-responsive">
21 <table id="alias_table" class="table table-striped"></table>
22 </div>
23 <div class="mass-actions-mailbox">
24 <div class="btn-group">
25 <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="alias" href="#"><i class="bi bi-check-all"></i> {{ lang.mailbox.toggle_all }}</a>
26 <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>
27 <ul class="dropdown-menu top33">
28 <li><a data-action="edit_selected" data-id="alias" data-api-url='edit/alias' data-api-attr='{"active":"1"}' href="#">{{ lang.mailbox.activate }}</a></li>
29 <li><a data-action="edit_selected" data-id="alias" data-api-url='edit/alias' data-api-attr='{"active":"0"}' href="#">{{ lang.mailbox.deactivate }}</a></li>
30 <li role="separator" class="divider"></li>
31 <li><a data-action="delete_selected" data-id="alias" data-api-url='delete/alias' href="#">{{ lang.mailbox.remove }}</a></li>
32 {% if not skip_sogo %}
33 <li role="separator" class="divider"></li>
34 <li><a data-action="edit_selected" data-id="alias" data-api-url='edit/alias' data-api-attr='{"sogo_visible":"1"}' href="#">{{ lang.mailbox.sogo_visible_y }}</a></li>
35 <li><a data-action="edit_selected" data-id="alias" data-api-url='edit/alias' data-api-attr='{"sogo_visible":"0"}' href="#">{{ lang.mailbox.sogo_visible_n }}</a></li>
36 {% endif %}
37 </ul>
38 <div class="clearfix visible-xs"></div>
39 <a class="btn btn-sm visible-xs-block visible-sm-inline visible-md-inline visible-lg-inline btn-default" data-action="edit_selected" data-id="alias" data-api-url='edit/alias' data-api-attr='{"expand_alias":true}' ><i class="bi bi-arrows-angle-expand"></i> {{ lang.mailbox.add_alias_expand }}</a>
40 <a class="btn btn-sm visible-xs-block visible-sm-inline visible-md-inline visible-lg-inline btn-success" href="#" data-toggle="modal" data-target="#addAliasModal"><i class="bi bi-plus-lg"></i> {{ lang.mailbox.add_alias }}</a>
41 </div>
42 </div>
43 </div>
44</div>