Matthias Andreas Benkard | 12a5735 | 2021-12-28 18:02:04 +0100 | [diff] [blame] | 1 | <div role="tabpanel" class="tab-pane{% if mailcow_cc_role != 'admin' %} hidden{% endif %}" id="tab-tls-policy"> |
| 2 | <div class="panel panel-default"> |
| 3 | <div class="panel-heading"> |
| 4 | {{ lang.mailbox.tls_policy_maps_long }} <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="#addTLSPolicyMapAdmin"><i class="bi bi-plus-lg"></i> {{ lang.mailbox.add_tls_policy_map }}</button> |
| 7 | <button class="btn btn-xs btn-default refresh_table" data-draw="draw_tls_policy_table" data-table="tls_policy_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="tls_policy_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.tls_policy_maps_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="tls_policy_table"></table> |
| 20 | </div> |
| 21 | <div class="mass-actions-mailbox"> |
| 22 | <div class="btn-group"> |
| 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="tls-policy-map" 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="tls-policy-map" data-api-url='edit/tls-policy-map' data-api-attr='{"active":"1"}' href="#">{{ lang.mailbox.activate }}</a></li> |
| 27 | <li><a data-action="edit_selected" data-id="tls-policy-map" data-api-url='edit/tls-policy-map' data-api-attr='{"active":"0"}' href="#">{{ lang.mailbox.deactivate }}</a></li> |
| 28 | <li role="separator" class="divider"></li> |
| 29 | <li><a data-action="delete_selected" data-id="tls-policy-map" data-api-url='delete/tls-policy-map' href="#">{{ lang.mailbox.remove }}</a></li> |
| 30 | </ul> |
| 31 | <div class="clearfix visible-xs"></div> |
| 32 | <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="#addTLSPolicyMapAdmin"><i class="bi bi-plus-lg"></i> {{ lang.mailbox.add_tls_policy_map }}</a> |
| 33 | </div> |
| 34 | </div> |
| 35 | </div> |
| 36 | </div> |