summaryrefslogtreecommitdiffstats
path: root/modules-available/eventlog/templates/page-filters-mailconfigs.html
blob: 08901f8736d235d5c8793c44366ce4bf097d2508 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<form method="post" action="?do=eventlog&amp;show=mailconfigs">
  <input type="hidden" name="token" value="{{token}}">
  <input type="hidden" name="action" value="delete-mailconfig">
  <table class="table">
    <thead>
    <tr>
      <th class="slx-smallcol">{{lang_id}}</th>
      <th class="slx-smallcol">{{lang_host}}</th>
      <th class="slx-smallcol">{{lang_ssl}}</th>
      <th>{{lang_senderAddress}}</th>
      <th class="slx-smallcol">{{lang_edit}}</th>
    </tr>
    </thead>
    <tbody>
    {{#configs}}
    <tr>
      <td>{{configid}}</td>
      <td class="text-nowrap">{{host}}:{{port}}</td>
      <td class="text-nowrap">{{ssl}}</td>
      <td>{{senderaddress}}{{^senderaddress}}{{replyto}}{{/senderaddress}}</td>
      <td class="text-nowrap">
        <a class="btn btn-xs btn-default" href="?do=eventlog&amp;show=mailconfigs&amp;id={{configid}}">
          <span class="glyphicon glyphicon-edit" aria-label="{{lang_edit}}"></span>
        </a>
        <button class="btn btn-xs btn-danger" type="submit" name="id" value="{{configid}}"
                data-confirm="{{lang_reallyDelete}}">
          <span class="glyphicon glyphicon-trash"></span>
        </button>
      </td>
    </tr>
    {{/configs}}
    </tbody>
  </table>

</form>

<div class="buttonbar text-right">
  <a class="btn btn-success" href="?do=eventlog&amp;show=mailconfigs&amp;id=0">
    <span class="glyphicon glyphicon-plus"></span>
    {{lang_add}}
  </a>
</div>