content_mailcnf_userlist.html
3.39 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<table class="table table-hover" >
<thead>
<tr>
<th>#</th>
<th>ID</th>
<th>Domain_id</th>
<th>Group_id</th>
<th>Email</th>
<th>Sent_Mail</th>
<th>Quota</th>
<th>Active</th>
<th>Deleted</th>
<th>ACTIONS</th>
</tr>
</thead>
<tbody>
{% for list in lists %}
<tr>
</tr>
<tr>
<td>{{ list[11] }} </td>
<td>{{ list[0] }} </td>
<td>{{ list[1] }} </td>
<td>{{ list[2] }} </td>
<td >{{ list[5] }}</td>
<td>{{ list[6] }}</td>
<td>{{ list[7] }}</td>
<td>{{ list[9] }}</td>
<td>{{ list[10] }}</td>
<td>
<form action="/mailcnf/user" method="POST"><input type="hidden" size="70" name="table" value="virtual_users">
<input type="hidden" value="userlist" size="70" name="mainfnc" id="" class="'">
<input type="hidden" value="mailcnf" size="70" name="module" id="" class="'">
<input type="hidden" size="70" name="fnc" value="edit">
<input type="hidden" size="70" name="tableid" value={{ list[0] }} ">
<input type="hidden" size="70" name="id" value="{{ list[0] }}">
<button type="submit" class="btn btn-primary btn-block btn-xs">Edit </button>
</form>
<form action="/mailcnf/user" method="POST">
<input type="hidden" size="70" name="table" value="virtual_users">
<input type="hidden" value="userlist" size="70" name="mainfnc" id="" class="'">
<input type="hidden" value="mailcnf" size="70" name="module" id="" class="'">
<input type="hidden" size="70" name="tableid" value="{{ list[0] }} ">
<input type="hidden" size="70" name="id" value="{{ list[0] }}">
{% if list[10] == 0 %}
<input type="hidden" size="70" name="fnc" value="delete">
<button type="submit" class="btn btn-danger btn-block btn-xs">Delete </button>
{% else %}
<input type="hidden" size="70" name="fnc" value="undelete">
<button type="submit" class="btn btn-danger btn-block btn-xs">UnDelete </button>
{% end %}
</form>
<form action="/mailcnf/user" method="POST">
<input type="hidden" size="70" name="table" value="virtual_users">
<input type="hidden" value="userlist" size="70" name="mainfnc" id="" class="'">
<input type="hidden" value="mailcnf" size="70" name="module" id="" class="'">
<input type="hidden" size="70" name="fnc" value="changepw">
<input type="hidden" size="70" name="tableid" value="{{ list[0] }}">
<input type="hidden" size="70" name="id" value="{{ list[0] }}">
<button type="submit" class="btn btn-warning passwd btn-block btn-xs">Ändere Passwort </button>
</form>
</td>
</tr>
{% end %}
</tbody>
</table>