diff options
author | Guilhem Moulin <guilhem.moulin@fripost.org> | 2013-01-18 21:05:05 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem.moulin@fripost.org> | 2013-01-18 21:07:07 +0100 |
commit | bbf7a4b561414d43bedde682c9f7b041c6de88ad (patch) | |
tree | 6cf07611b0cfeca6c2297792347b916a6c0ff5ef /templates/list-domains.html | |
parent | 58bf9c43bf20c060a9e0623cb9f032b63889b384 (diff) |
Amavis attributes and templates.
Diffstat (limited to 'templates/list-domains.html')
-rw-r--r-- | templates/list-domains.html | 45 |
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">✔</span><TMPL_ELSE><span class="inactive">✘</span></TMPL_IF></td> + </tr> + </TMPL_LOOP> + </tbody> + </table> + </div> + </body> +</html> |