mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-12-14 10:52:49 +02:00
45 lines
3.4 KiB
Twig
45 lines
3.4 KiB
Twig
<div role="tabpanel" class="tab-pane fade" id="tab-mbox-aliases" role="tabpanel" aria-labelledby="tab-mbox-aliases">
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">
|
|
{{ lang.mailbox.aliases }} <span class="badge badge-info table-lines"></span>
|
|
<div class="btn-group pull-right hidden-xs">
|
|
<button class="btn btn-xs btn-success" href="#" data-bs-toggle="modal" data-bs-target="#addAliasModal"><i class="bi bi-plus-lg"></i> {{ lang.mailbox.add_alias }}</button>
|
|
<button class="btn btn-xs btn-default refresh_table" data-draw="draw_alias_table" data-table="alias_table">{{ lang.admin.refresh }}</button>
|
|
<button type="button" class="btn btn-xs btn-default dropdown-toggle" data-bs-toggle="dropdown">{{ lang.mailbox.table_size }}
|
|
<span class="caret"></span>
|
|
</button>
|
|
<ul class="dropdown-menu" data-table-id="alias_table" role="menu">
|
|
{% include 'mailbox/page-size.twig' %}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="panel-body help-block">
|
|
{{ lang.mailbox.alias_domain_alias_hint|raw }}
|
|
</div>
|
|
<!-- <div class="mass-actions-mailbox" data-actions-header="true"></div> -->
|
|
<div class="table-responsive">
|
|
<table id="alias_table" class="table table-striped"></table>
|
|
</div>
|
|
<div class="mass-actions-mailbox">
|
|
<div class="btn-group">
|
|
<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>
|
|
<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-bs-toggle="dropdown" href="#">{{ lang.mailbox.quick_actions }} <span class="caret"></span></a>
|
|
<ul class="dropdown-menu top33">
|
|
<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>
|
|
<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>
|
|
<li role="separator" class="divider"></li>
|
|
<li><a data-action="delete_selected" data-id="alias" data-api-url='delete/alias' href="#">{{ lang.mailbox.remove }}</a></li>
|
|
{% if not skip_sogo %}
|
|
<li role="separator" class="divider"></li>
|
|
<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>
|
|
<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>
|
|
{% endif %}
|
|
</ul>
|
|
<div class="clearfix visible-xs"></div>
|
|
<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>
|
|
<a class="btn btn-sm visible-xs-block visible-sm-inline visible-md-inline visible-lg-inline btn-success" href="#" data-bs-toggle="modal" data-bs-target="#addAliasModal"><i class="bi bi-plus-lg"></i> {{ lang.mailbox.add_alias }}</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|