aboutsummaryrefslogtreecommitdiffstats
path: root/templates/add-domain-2.html
blob: 756bc2ae9f2641e4cbdbdb0808aab21f1c89cda7 (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<!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>Add domain <TMPL_VAR NAME=name></title>
    <link href="/css/style.css" media="all" rel="stylesheet" type="text/css" />
  </head>
  <body>
    <div id="header">
      <div class="left column">
        <a href="./">Root</a> /
      </div>
      <div class="right column">
        Logged as <a href="<TMPL_VAR NAME=user_URL>/?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">
    <form name="addform" method="post" action="?">
      <input type="hidden" name="a" value="add" />
      <input type="hidden" name="name" value="<TMPL_VAR NAME=name>" />
      <input type="hidden" name="isActive" value="<TMPL_VAR NAME=isActive>" />
      <input type="hidden" name="description" value="<TMPL_VAR NAME=description>" />
      <input type="hidden" name="catchAll" value="<TMPL_VAR NAME=catchAll>" />

      <TMPL_IF NAME=owners>
        <div class="message">
          You have asked to let us manage e-mail
          <span class="email">@<TMPL_VAR NAME=name></span>.
          Please select an address below where to send a confirmation
          token, proving that you indeed own the domain
          <span class="domain"><TMPL_VAR NAME=name></span>.
        </div>
        <table class="align" id="owners">
        <tbody>
          <TMPL_LOOP NAME=owners>
            <TMPL_IF NAME=__even__><tr class="odd"><TMPL_ELSE><tr></TMPL_IF>
                <td><input type="radio" name="owner" value="<TMPL_VAR NAME=owner>"/></td>
                <td><span class="email"><TMPL_VAR NAME=owner></td>
            </tr>
          </TMPL_LOOP>
        </tbody>
        </table>
        <input type="submit" name="submit" value="Send" />
        <input type="submit" name="cancel" value="Cancel" />
      <TMPL_ELSE>
        <div class="error">
          I couldn't find a valid e-mail in your domain's WHOIS,
          and no valid postmaster address has been found (either because
          <span class="domain"><TMPL_VAR NAME=name></span> has no configured MX,
          or because it already uses ours).
        </div>
        <input type="submit" name="cancel" value="Cancel" />
      </TMPL_IF>
    </form>
    </div>
  </body>
</html>