blob: c691e27bcb708448b3ea97f904c5369f1c3e1711 [file] [log] [blame]
Matthias Andreas Benkard12a57352021-12-28 18:02:04 +01001<div role="tabpanel" class="tab-pane" id="tab-config-fwdhosts">
2 <div class="panel panel-default">
3 <div class="panel-heading">{{ lang.admin.forwarding_hosts }}</div>
4 <div class="panel-body">
5 <p style="margin-bottom:40px">{{ lang.admin.forwarding_hosts_hint }}</p>
6 <div class="table-responsive">
7 <table class="table table-striped table-condensed" id="forwardinghoststable"></table>
8 </div>
9 <div class="mass-actions-admin">
10 <div class="btn-group btn-group-sm">
11 <button type="button" id="toggle_multi_select_all" data-id="fwdhosts" class="btn btn-sm btn-xs-half visible-xs-block visible-sm-inline visible-md-inline visible-lg-inline btn-default">{{ lang.mailbox.toggle_all }}</button>
12 <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>
13 <ul class="dropdown-menu top100">
14 <li><a data-action="edit_selected" data-id="fwdhosts" data-api-url='edit/fwdhost' data-api-attr='{"keep_spam":"0"}' href="#">Enable spam filter</a></li>
15 <li><a data-action="edit_selected" data-id="fwdhosts" data-api-url='edit/fwdhost' data-api-attr='{"keep_spam":"1"}' href="#">Disable spam filter</a></li>
16 <li role="separator" class="divider"></li>
17 <li><a data-action="delete_selected" data-id="fwdhosts" data-api-url='delete/fwdhost' href="#">{{ lang.admin.remove }}</a></li>
18 </ul>
19 <div class="clearfix visible-xs"></div>
20 </div>
21 </div>
22 <legend>{{ lang.admin.add_forwarding_host }}</legend>
23 <p class="help-block">{{ lang.admin.forwarding_hosts_add_hint }}</p>
24 <form class="form" data-id="fwdhost" role="form" method="post">
25 <div class="form-group">
26 <label for="fwdhost_hostname">{{ lang.admin.host }}</label>
27 <input class="form-control" id="fwdhost_hostname" name="hostname" placeholder="example.org" required>
28 </div>
29 <div class="form-group">
30 <select data-width="200px" class="form-control" id="filter_spam" name="filter_spam" title="{{ lang.user.spamfilter }}" required>
31 <option value="1">{{ lang.admin.active }}</option>
32 <option value="0">{{ lang.admin.inactive }}</option>
33 </select>
34 </div>
35 <button class="btn btn-sm visible-xs-block visible-sm-inline visible-md-inline visible-lg-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>
36 </form>
37 </div>
38 </div>
39</div>