aboutsummaryrefslogtreecommitdiffstats
path: root/templates/list-domains.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/list-domains.html')
-rw-r--r--templates/list-domains.html45
1 files changed, 45 insertions, 0 deletions
diff --git a/templates/list-domains.html b/templates/list-domains.html
new file mode 100644
index 0000000..5ebdd05
--- /dev/null
+++ b/templates/list-domains.html
@@ -0,0 +1,45 @@
+<!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 domains</title>
+ <link href="/css/style.css" media="all" rel="stylesheet" type="text/css" />
+ </head>
+ <body>
+ <div id="header">
+ <div class="left column">
+ Root /
+ </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 domains<span class="action">[<a href="./?a=add">add</a>]</span></h1>
+
+ <table class="list" id="domains">
+ <thead>
+ <tr class="odd">
+ <th>Domain</th>
+ <th>Description</th>
+ <th>Active</th>
+ </tr>
+ </thead>
+ <tbody>
+ <TMPL_LOOP NAME=domains>
+ <TMPL_IF NAME=__even__><tr class="odd"><TMPL_ELSE><tr></TMPL_IF>
+ <td><span class="domain"><a href="<TMPL_VAR NAME=domainURI>/"><TMPL_VAR NAME=domain></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>
+ </tr>
+ </TMPL_LOOP>
+ </tbody>
+ </table>
+ </div>
+ </body>
+</html>