diff options
author | Guilhem Moulin <guilhem.moulin@fripost.org> | 2012-09-03 00:05:22 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem.moulin@fripost.org> | 2012-09-03 00:05:22 +0200 |
commit | 3c8b9dba04da6d66f7e592c3c1367a2367e1c5a5 (patch) | |
tree | 57739942759a34ba245f076c2bde0a596adf5e9c /template/list-domains.html | |
parent | 742c9938af740b9ba758f4b03909f30106b285a5 (diff) |
Domain edition.
Diffstat (limited to 'template/list-domains.html')
-rw-r--r-- | template/list-domains.html | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/template/list-domains.html b/template/list-domains.html new file mode 100644 index 0000000..9b8cf0e --- /dev/null +++ b/template/list-domains.html @@ -0,0 +1,47 @@ +<!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>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/> + </div> + <hr/> + + <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> + <th>Action</th> + </tr> + </thead> + <tbody> + <TMPL_LOOP NAME=DOMAINS> + <TMPL_IF NAME=__even__><tr class="odd"><TMPL_ELSE><tr></TMPL_IF> + <td><tt><a href="<TMPL_VAR NAME=URL>/<TMPL_VAR NAME=DOMAIN>/"><TMPL_VAR NAME=DOMAIN></a></tt></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="inactive">✘</span></TMPL_IF></td> + <td><a href="<TMPL_VAR NAME=URL>/<TMPL_VAR NAME=DOMAIN>/?a=edit">edit</a></td> + </tr> + </TMPL_LOOP> + </tbody> + </table> + </body> +</html> |