blob: e677dd83b7acf4a9f8d1a8e7385bdca8a3f096d4 (
plain)
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
|
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Manage domain <TMPL_VAR NAME=name></title>
<link href="/css/style.css" media="all" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="header">
<div class="left column">
<a href="../">Root</a> / <TMPL_VAR NAME=name> /
</div>
<div class="right column">
Logged as <a href="<TMPL_VAR NAME=user_URL>/?a=edit"
><TMPL_VAR NAME=user_localpart>@<TMPL_VAR NAME=user_domainpart></a>
| <a href="../?a=logout">Log out</a>
</div>
<br/>
</div>
<hr/>
<div id="content">
<h1>Manage domain <span class="domain"><TMPL_VAR NAME=name></span
><TMPL_IF NAME=canEditDomain><span class="action">[<a href="./?a=edit">edit domain</a>]</span></TMPL_IF></h1>
<TMPL_IF NAME=description><p class="description"><TMPL_VAR NAME=description></p></TMPL_IF>
<p id="domainstatus">Domain status:
<b>
<TMPL_IF NAME=isActive><span class="active">Active</span>
<TMPL_ELSE><span class="inactive">Inactive</span>
</TMPL_IF>
</b>
</p>
<TMPL_IF NAME=listUsers>
<h3>Users<TMPL_IF NAME=canAddUser
><span class="action">[<a href="./?a=add&t=user">add</a>]</span
></TMPL_IF></h3>
<table class="list" id="users">
<thead>
<tr class="odd">
<th>Account</th>
<th>Description</th>
<th>Active</th>
<th>Forwards</th>
<th>Quota</th>
</tr>
</thead>
<tbody>
<TMPL_LOOP NAME=users>
<TMPL_IF NAME=__even__><tr class="odd"><TMPL_ELSE><tr></TMPL_IF>
<td><span class="user"><a href="<TMPL_VAR NAME=URL>/"><TMPL_VAR NAME=name></a></span></td>
<td><TMPL_IF NAME=description><TMPL_VAR NAME=description><TMPL_ELSE><span class="none">(none)</span></TMPL_IF></td>
<td><TMPL_IF NAME=isActive><span class="active">✔</span><TMPL_ELSE><span class="inactive">✘</span></TMPL_IF></td>
<td><TMPL_UNLESS NAME=forward><span class="none">(none)</span></TMPL_UNLESS>
<TMPL_LOOP NAME=forward><span class="email"><TMPL_VAR NAME=item></span><TMPL_UNLESS NAME=__last__>, </TMPL_UNLESS></TMPL_LOOP></td>
<td><TMPL_IF NAME=quota><TMPL_VAR NAME=quota><TMPL_ELSE><span class="none">(none)</span></TMPL_IF></td>
</tr>
</TMPL_LOOP>
</tbody>
</table>
<br/>
</TMPL_IF>
<TMPL_IF NAME=listAliases>
<h3>Alias<TMPL_IF NAME=canAddAlias
><span class="action">[<a href="./?a=add&t=alias">add</a>]</span
></TMPL_IF><TMPL_IF NAME=listCanAddAlias><span class="permlist"
>They can also create new aliases:
<TMPL_LOOP NAME=listCanAddAlias><span class="email"><TMPL_VAR NAME=item></span><TMPL_UNLESS NAME=__last__>, </TMPL_UNLESS></TMPL_LOOP
>.</span></TMPL_IF></h3>
<table class="list" id="aliases">
<thead>
<tr class="odd">
<th>Alias</th>
<th>Description</th>
<th>Active</th>
<th>Destination(s)</th>
</tr>
</thead>
<tbody>
<TMPL_LOOP NAME=aliases>
<TMPL_IF NAME=__even__><tr class="odd"><TMPL_ELSE><tr></TMPL_IF>
<td><span class="alias"><a href="<TMPL_VAR NAME=URL>/"><TMPL_VAR NAME=name></a></span></td>
<td><TMPL_IF NAME=description><TMPL_VAR NAME=description><TMPL_ELSE><span class="none">(none)</span></TMPL_IF></td>
<td><TMPL_IF NAME=isActive><span class="active">✔</span><TMPL_ELSE><span class="inactive">✘</span></TMPL_IF></td>
<td><TMPL_UNLESS NAME=destination><span class="none">(none)</span></TMPL_UNLESS>
<TMPL_LOOP NAME=destination><span class="email"><TMPL_VAR NAME=item></span><TMPL_UNLESS NAME=__last__>, </TMPL_UNLESS></TMPL_LOOP></td>
</tr>
</TMPL_LOOP>
<TMPL_IF NAME=catchAll>
<TMPL_IF NAME=CAodd><tr class="odd"><TMPL_ELSE><tr></TMPL_IF>
<td><a class="dunno" href="./?a=edit#catch-all">—</a></td>
<td>Catch-all alias(es) for domain <span class="domain"><TMPL_VAR NAME=name></span>.</td>
<td><span class="dunno">—</span></td>
<td><TMPL_LOOP NAME=catchAll><span class="email"><TMPL_VAR NAME=item></span><TMPL_UNLESS NAME=__last__>, </TMPL_UNLESS></TMPL_LOOP></td>
</tr>
</TMPL_IF>
</tbody>
</table>
<br/>
</TMPL_IF>
<TMPL_IF NAME=listLists>
<h3>Lists<TMPL_IF NAME=canAddList
><span class="action">[<a href="./?a=add&t=list">add</a>]</span
></TMPL_IF><TMPL_IF NAME=listCanAddList><span class="permlist"
>They can also create new lists:
<TMPL_LOOP NAME=listCanAddList><span class="email"><TMPL_VAR NAME=item></span><TMPL_UNLESS NAME=__last__>, </TMPL_UNLESS></TMPL_LOOP
>.</span></TMPL_IF></h3>
<table class="list" id="lists">
<thead>
<tr class="odd">
<th>List</th>
<th>Description</th>
<th>Active</th>
<th>Tranport</th>
</tr>
</thead>
<tbody>
<TMPL_LOOP NAME=lists>
<TMPL_IF NAME=__even__><tr class="odd"><TMPL_ELSE><tr></TMPL_IF>
<td><span class="list"><TMPL_UNLESS NAME=isPending><a href="<TMPL_VAR NAME=URL>/"></TMPL_UNLESS
><TMPL_VAR NAME=name
><TMPL_UNLESS NAME=isPending></a> <a class="external" target="_blank" href="<TMPL_VAR NAME=list_URL>">➠</a></TMPL_UNLESS></span></td>
<td><TMPL_IF NAME=description><TMPL_VAR NAME=description><TMPL_ELSE><span class="none">(none)</span></TMPL_IF></td>
<td><TMPL_IF NAME=isPending><span class="pending">⚑</span>
<TMPL_ELSE><TMPL_IF NAME=isActive><span class="active">✔</span>
<TMPL_ELSE><span class="inactive">✘</span></TMPL_IF></TMPL_IF></td>
<td><TMPL_VAR NAME=transport></td>
</tr>
</TMPL_LOOP>
</tbody>
</table>
</TMPL_IF>
</div>
</body>
</html>
|