diff options
author | Guilhem Moulin <guilhem.moulin@fripost.org> | 2012-09-01 01:50:40 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem.moulin@fripost.org> | 2012-09-01 01:50:40 +0200 |
commit | cc2eac1dcd3991e036875931fb78c609ff9dbbea (patch) | |
tree | b9c95affc22263b96edeff8f9f8b7487c23cdf12 /template/domain-list.html |
First try.
Diffstat (limited to 'template/domain-list.html')
-rw-r--r-- | template/domain-list.html | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/template/domain-list.html b/template/domain-list.html new file mode 100644 index 0000000..771434d --- /dev/null +++ b/template/domain-list.html @@ -0,0 +1,38 @@ +<html> + <head> + <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> + <title>Domain names for <TMPL_VAR NAME=USER></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=URL>/<TMPL_VAR NAME=USER_DOMAINPART>/<TMPL_VAR NAME=USER_LOCALPART>/?a=edit" + ><TMPL_VAR NAME=USER_LOCALPART>@<TMPL_VAR NAME=USER_DOMAINPART></a> + | <a href="<TMPL_VAR NAME=URL>?a=logout">Log out</a> + </div> + <br> + <h1>Manage domains</h1> + <table class=list> + <thead> + <tr class="odd"> + <th>Domain (<a href=<TMPL_VAR NAME=URL>/?a=AddDomain>add</a>)</th> + <th>Permissions</th> + <th>Description</th> + <th>Active?</th> + </tr> + </thead> + <TMPL_LOOP NAME=DOMAIN> + <TMPL_IF NAME=ODD><tr class="odd"><TMPL_ELSE><tr></TMPL_IF> + <td><a href="<TMPL_VAR NAME=URL>/<TMPL_VAR NAME=DOMAIN>/"><TMPL_VAR NAME=DOMAIN></a></td> + <td><TMPL_IF NAME=PERMS><TMPL_VAR NAME=PERMS><TMPL_ELSE><span class=none>(none)</span></TMPL_IF></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=nonactive>✘</span></TMPL_IF></td> + </tr> + </TMPL_LOOP> + </table> + </body> +</html> |