blob: 2cb199d22f5cf615fbee0b17c7affc0c7bf1c73f [file] [log] [blame]
Matthias Andreas Benkard12a57352021-12-28 18:02:04 +01001<div role="tabpanel" class="tab-pane" id="tab-bcc">
2 <div class="panel panel-default">
3 <div class="panel-heading">
4 {{ lang.mailbox.bcc_maps }} <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-acl="{{ acl.bcc_maps }}" data-toggle="modal" data-target="#addBCCModalAdmin"><i class="bi bi-plus-lg"></i> {{ lang.mailbox.add_bcc_entry }}</button>
7 <button class="btn btn-xs btn-default refresh_table" data-draw="draw_bcc_table" data-table="bcc_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="bcc_table" role="menu">
12 {% include 'mailbox/page-size.twig' %}
13 </ul>
14 </div>
15 </div>
16 <p style="margin:10px" class="help-block">{{ lang.mailbox.bcc_info|raw }}</p>
17{# <div class="mass-actions-mailbox" data-actions-header="true"></div>#}
18 <div class="table-responsive">
19 <table class="table table-striped" id="bcc_table"></table>
20 </div>
21 <div class="mass-actions-mailbox">
22 <div class="btn-group" data-acl="{{ acl.bcc_maps }}">
23 <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="bcc" href="#"><i class="bi bi-check-all"></i> {{ lang.mailbox.toggle_all }}</a>
24 <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>
25 <ul class="dropdown-menu">
26 <li><a data-action="edit_selected" data-id="bcc" data-api-url='edit/bcc' data-api-attr='{"active":"1"}' href="#">{{ lang.mailbox.activate }}</a></li>
27 <li><a data-action="edit_selected" data-id="bcc" data-api-url='edit/bcc' data-api-attr='{"active":"0"}' href="#">{{ lang.mailbox.deactivate }}</a></li>
28 <li role="separator" class="divider"></li>
29 <li><a data-action="edit_selected" data-id="bcc" data-api-url='edit/bcc' data-api-attr='{"type":"sender"}' href="#">{{ lang.mailbox.bcc_to_sender }}</a></li>
30 <li><a data-action="edit_selected" data-id="bcc" data-api-url='edit/bcc' data-api-attr='{"type":"rcpt"}' href="#">{{ lang.mailbox.bcc_to_rcpt }}</a></li>
31 <li role="separator" class="divider"></li>
32 <li><a data-action="delete_selected" data-id="bcc" data-api-url='delete/bcc' href="#">{{ lang.mailbox.remove }}</a></li>
33 </ul>
34 <div class="clearfix visible-xs"></div>
35 <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="#addBCCModalAdmin"><i class="bi bi-plus-lg"></i> {{ lang.mailbox.add_bcc_entry }}</a>
36 </div>
37 </div>
38 </div>
39 <div class="panel panel-default{% if mailcow_cc_role != 'admin' %} hidden{% endif %}">
40 <div class="panel-heading">
41 {{ lang.mailbox.recipient_maps }} <span class="badge badge-info table-lines"></span>
42 <div class="btn-group pull-right hidden-xs">
43 <button class="btn btn-xs btn-success" href="#" data-toggle="modal" data-target="#addRecipientMapModalAdmin"><i class="bi bi-plus-lg"></i> {{ lang.mailbox.add_recipient_map_entry }}</button>
44 <button class="btn btn-xs btn-default refresh_table" data-draw="draw_recipient_map_table" data-table="recipient_map_table">{{ lang.admin.refresh }}</button>
45 <button type="button" class="btn btn-xs btn-default dropdown-toggle" data-toggle="dropdown">{{ lang.mailbox.table_size }}
46 <span class="caret"></span>
47 </button>
48 <ul class="dropdown-menu" data-table-id="recipient_map_table" role="menu">
49 {% include 'mailbox/page-size.twig' %}
50 </ul>
51 </div>
52 </div>
53 <p style="margin:10px" class="help-block">{{ lang.mailbox.recipient_map_info }}</p>
54 {# <div class="mass-actions-mailbox" data-actions-header="true"></div>#}
55 <div class="table-responsive">
56 <table class="table table-striped" id="recipient_map_table"></table>
57 </div>
58 <div class="mass-actions-mailbox">
59 <div class="btn-group">
60 <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="recipient_map" href="#"><i class="bi bi-check-all"></i> {{ lang.mailbox.toggle_all }}</a>
61 <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>
62 <ul class="dropdown-menu">
63 <li><a data-action="edit_selected" data-id="recipient_map" data-api-url='edit/recipient_map' data-api-attr='{"active":"1"}' href="#">{{ lang.mailbox.activate }}</a></li>
64 <li><a data-action="edit_selected" data-id="recipient_map" data-api-url='edit/recipient_map' data-api-attr='{"active":"0"}' href="#">{{ lang.mailbox.deactivate }}</a></li>
65 <li role="separator" class="divider"></li>
66 <li><a data-action="delete_selected" data-id="recipient_map" data-api-url='delete/recipient_map' href="#">{{ lang.mailbox.remove }}</a></li>
67 </ul>
68 <div class="clearfix visible-xs"></div>
69 <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="#addRecipientMapModalAdmin"><i class="bi bi-plus-lg"></i> {{ lang.mailbox.add_recipient_map_entry }}</a>
70 </div>
71 </div>
72 </div>
73</div>