2022-03-30 12:54:38 +02:00
|
|
|
<div role="tabpanel" class="tab-pane fade" id="tab-config-fwdhosts" role="tabpanel" aria-labelledby="tab-config-fwdhosts">
|
2022-03-31 11:37:14 +02:00
|
|
|
<div class="card">
|
|
|
|
<div class="card-header">{{ lang.admin.forwarding_hosts }}</div>
|
|
|
|
<div class="card-body">
|
2021-09-22 20:47:10 +02:00
|
|
|
<p style="margin-bottom:40px">{{ lang.admin.forwarding_hosts_hint }}</p>
|
|
|
|
<div class="table-responsive">
|
|
|
|
<table class="table table-striped table-condensed" id="forwardinghoststable"></table>
|
|
|
|
</div>
|
|
|
|
<div class="mass-actions-admin">
|
|
|
|
<div class="btn-group btn-group-sm">
|
2022-03-31 15:24:10 +02:00
|
|
|
<button type="button" id="toggle_multi_select_all" data-id="fwdhosts" class="btn btn-sm btn-xs-half d-block d-sm-inline btn-secondary">{{ lang.mailbox.toggle_all }}</button>
|
|
|
|
<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>
|
2021-09-22 20:47:10 +02:00
|
|
|
<ul class="dropdown-menu top100">
|
2022-03-31 10:09:25 +02:00
|
|
|
<li><a class="dropdown-item" data-action="edit_selected" data-id="fwdhosts" data-api-url='edit/fwdhost' data-api-attr='{"keep_spam":"0"}' href="#">Enable spam filter</a></li>
|
|
|
|
<li><a class="dropdown-item" data-action="edit_selected" data-id="fwdhosts" data-api-url='edit/fwdhost' data-api-attr='{"keep_spam":"1"}' href="#">Disable spam filter</a></li>
|
|
|
|
<li><hr class="dropdown-divider"></li>
|
|
|
|
<li><a class="dropdown-item" data-action="delete_selected" data-id="fwdhosts" data-api-url='delete/fwdhost' href="#">{{ lang.admin.remove }}</a></li>
|
2021-09-22 20:47:10 +02:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-03-31 12:57:33 +02:00
|
|
|
<legend>{{ lang.admin.add_forwarding_host }}</legend><hr />
|
|
|
|
<p class="text-muted">{{ lang.admin.forwarding_hosts_add_hint }}</p>
|
2021-09-22 20:47:10 +02:00
|
|
|
<form class="form" data-id="fwdhost" role="form" method="post">
|
2022-04-13 14:07:07 +02:00
|
|
|
<div>
|
2021-09-22 20:47:10 +02:00
|
|
|
<label for="fwdhost_hostname">{{ lang.admin.host }}</label>
|
|
|
|
<input class="form-control" id="fwdhost_hostname" name="hostname" placeholder="example.org" required>
|
|
|
|
</div>
|
2022-04-13 14:07:07 +02:00
|
|
|
<div>
|
2021-09-22 20:47:10 +02:00
|
|
|
<select data-width="200px" class="form-control" id="filter_spam" name="filter_spam" title="{{ lang.user.spamfilter }}" required>
|
|
|
|
<option value="1">{{ lang.admin.active }}</option>
|
|
|
|
<option value="0">{{ lang.admin.inactive }}</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
2022-03-31 15:24:10 +02:00
|
|
|
<button class="btn btn-sm d-block d-sm-inline btn-success" data-action="add_item" data-id="fwdhost" data-api-url='add/fwdhost' data-api-attr='{}' href="#"><i class="bi bi-plus-lg"></i> {{ lang.admin.add }}</button>
|
2021-09-22 20:47:10 +02:00
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|