aboutsummaryrefslogtreecommitdiffstats
path: root/templates/list-locals.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/list-locals.html')
-rw-r--r--templates/list-locals.html147
1 files changed, 147 insertions, 0 deletions
diff --git a/templates/list-locals.html b/templates/list-locals.html
new file mode 100644
index 0000000..4f21ee8
--- /dev/null
+++ b/templates/list-locals.html
@@ -0,0 +1,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=domain></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=domain> /
+ </div>
+ <div class="right column">
+ Logged as <a href="<TMPL_VAR NAME=userURI>/?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=domain></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&amp;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=userURI>/"><TMPL_VAR NAME=user></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">&#x2714;</span><TMPL_ELSE><span class="inactive">&#x2718;</span></TMPL_IF></td>
+ <td><TMPL_UNLESS NAME=forwards><span class="none">(none)</span></TMPL_UNLESS>
+ <TMPL_LOOP NAME=forwards><span class="email"><TMPL_VAR NAME=forward></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&amp;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=user></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=aliasURI>/"><TMPL_VAR NAME=alias></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">&#x2714;</span><TMPL_ELSE><span class="inactive">&#x2718;</span></TMPL_IF></td>
+ <td><TMPL_UNLESS NAME=destinations><span class="none">(none)</span></TMPL_UNLESS>
+ <TMPL_LOOP NAME=destinations><span class="email"><TMPL_VAR NAME=destination></span><TMPL_UNLESS NAME=__last__>, </TMPL_UNLESS></TMPL_LOOP></td>
+ </tr>
+ </TMPL_LOOP>
+ <TMPL_IF NAME=catchalls>
+ <TMPL_IF NAME=CAodd><tr class="odd"><TMPL_ELSE><tr></TMPL_IF>
+ <td><a href="./?a=edit#catch-all">*</a></td>
+ <td>Catch-all alias(es) for domain <span class="domain"><TMPL_VAR NAME=domain></span>.</td>
+ <td><span class="dunno">&#x2014;</span></td>
+ <td><TMPL_LOOP NAME=catchalls><span class="email"><TMPL_VAR NAME=catchall></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&amp;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=user></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=listURI>/"></TMPL_UNLESS
+ ><TMPL_VAR NAME=list
+ ><TMPL_UNLESS NAME=ispending></a> <a class="external" target="_blank" href="<TMPL_VAR NAME=listURL>">&#x27A0;</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">&#x2691;</span>
+ <TMPL_ELSE><TMPL_IF NAME=isactive><span class="active">&#x2714;</span>
+ <TMPL_ELSE><span class="inactive">&#x2718;</span></TMPL_IF></TMPL_IF></td>
+ <td><TMPL_VAR NAME=transport></td>
+ </tr>
+ </TMPL_LOOP>
+ </tbody>
+ </table>
+ </TMPL_IF>
+ </div>
+
+ </body>
+</html>