mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-12-25 02:29:32 +02:00
45 lines
3.2 KiB
Twig
45 lines
3.2 KiB
Twig
<div role="tabpanel" class="tab-pane fade" id="tab-mailq" role="tabpanel" aria-labelledby="tab-mailq">
|
|
<div class="card mb-4">
|
|
<div class="card-header d-flex">
|
|
<button class="btn d-md-none flex-grow-1 text-start me-2" data-bs-target="#collapse-tab-mailq" data-bs-toggle="collapse" aria-controls="ollapse-tab-mailq">
|
|
{{ lang.admin.queue_manager }} <span class="badge bg-info table-lines"></span>
|
|
</button>
|
|
<span class="d-none d-md-block">{{ lang.admin.queue_manager }} <span class="badge bg-info table-lines"></span></span>
|
|
<div class="btn-group ms-auto">
|
|
<button class="btn btn-xs btn-secondary refresh_table" data-draw="draw_queue" data-table="queuetable">{{ lang.admin.refresh }}</button>
|
|
</div>
|
|
</div>
|
|
<div id="collapse-tab-mailq" class="card-body collapse" data-bs-parent="#admin-content">
|
|
<table id="queuetable" class="table table-striped dt-responsive w-100"></table>
|
|
<div class="mass-actions-admin">
|
|
<div class="btn-group">
|
|
<a class="btn btn-sm btn-xs-half d-block d-sm-inline btn-secondary" id="toggle_multi_select_all" data-id="mailqitems" href="#"><i class="bi bi-check-all"></i> {{ lang.mailbox.toggle_all }}</a>
|
|
<a class="btn btn-sm btn-xs-half d-block d-sm-inline btn-secondary dropdown-toggle" data-bs-toggle="dropdown" href="#">{{ lang.mailbox.quick_actions }}</a>
|
|
<ul class="dropdown-menu top33">
|
|
<li><a class="dropdown-item" data-bs-toggle="tooltip" title="postqueue -i" data-action="edit_selected" data-id="mailqitems" data-api-url='edit/mailq' data-api-attr='{"action":"deliver"}' href="#">{{ lang.admin.queue_deliver_mail }}</a></li>
|
|
<li><a class="dropdown-item" data-bs-toggle="tooltip" title="postsuper -H" data-action="edit_selected" data-id="mailqitems" data-api-url='edit/mailq' data-api-attr='{"action":"unhold"}' href="#">{{ lang.admin.queue_unhold_mail }}</a></li>
|
|
<li><a class="dropdown-item" data-bs-toggle="tooltip" title="postsuper -h" data-action="edit_selected" data-id="mailqitems" data-api-url='edit/mailq' data-api-attr='{"action":"hold"}' href="#">{{ lang.admin.queue_hold_mail }}</a></li>
|
|
<li><hr class="dropdown-divider"></li>
|
|
<li><a class="dropdown-item" data-bs-toggle="tooltip" title="postsuper -d" data-action="delete_selected" data-id="mailqitems" data-api-url='delete/mailq' href="#">{{ lang.mailbox.remove }}</a></li>
|
|
</ul>
|
|
<a class="btn btn-sm d-block d-sm-inline btn-primary"
|
|
data-action="edit_selected"
|
|
data-item="mailqitems-all"
|
|
data-api-url='edit/mailq'
|
|
data-api-attr='{"action":"flush"}'
|
|
data-bs-toggle="tooltip" title="postqueue -f"
|
|
href="#"><i class="bi bi-check-all"></i> {{ lang.admin.flush_queue }}</a>
|
|
<a class="btn btn-sm d-block d-sm-inline btn-danger"
|
|
id="super_delete"
|
|
data-action="edit_selected"
|
|
data-item="mailqitems-all"
|
|
data-api-url='edit/mailq'
|
|
data-api-attr='{"action":"super_delete"}'
|
|
data-bs-toggle="tooltip" title="postsuper -d ALL"
|
|
href="#"><i class="bi bi-trash"></i> {{ lang.admin.delete_queue }}</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|