aboutsummaryrefslogtreecommitdiffstats
path: root/template/domain-list.html
blob: fcc7b23eb759b7c3a6e57d72a6263d850aceddf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!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>
    <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>
      <tbody>
      <TMPL_LOOP NAME=DOMAINS>
        <TMPL_IF NAME=__even__><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">&#x2714;</span><TMPL_ELSE><span class="nonactive">&#x2718;</span></TMPL_IF></td>
        </tr>
      </TMPL_LOOP>
      </tbody>
    </table>
  </body>
</html>