aboutsummaryrefslogtreecommitdiffstats
path: root/templates/add-domain-2.html
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem.moulin@fripost.org>2013-01-20 03:04:17 +0100
committerGuilhem Moulin <guilhem.moulin@fripost.org>2013-01-20 03:04:17 +0100
commit35c4ad13a52bdcaab251358e4b7df99dd852c76d (patch)
tree8fcafeae85ae97332a6a5e9d0ff2abcd178e537b /templates/add-domain-2.html
parentf7701a60f217ab154fe53a5d13bbd223f6182150 (diff)
New domains.
Diffstat (limited to 'templates/add-domain-2.html')
-rw-r--r--templates/add-domain-2.html63
1 files changed, 63 insertions, 0 deletions
diff --git a/templates/add-domain-2.html b/templates/add-domain-2.html
new file mode 100644
index 0000000..0e1b660
--- /dev/null
+++ b/templates/add-domain-2.html
@@ -0,0 +1,63 @@
+<!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=domain></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=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">
+ <form name="addform" method="post" action="?">
+ <input type="hidden" name="a" value="add" />
+ <input type="hidden" name="domain" value="<TMPL_VAR NAME=domain>" />
+ <input type="hidden" name="isactive" value="<TMPL_VAR NAME=isactive>" />
+ <input type="hidden" name="description" value="<TMPL_VAR NAME=description>" />
+ <input type="hidden" name="catchalls" value="<TMPL_VAR NAME=catchalls>" />
+
+ <TMPL_IF NAME=postmasters>
+ <div class="message">
+ You have asked to let us manage e-mail
+ <span class="email">@<TMPL_VAR NAME=domain></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=domain></span>.
+ </div>
+ <table class="align" id="postmasters">
+ <tbody>
+ <TMPL_LOOP NAME=postmasters>
+ <TMPL_IF NAME=__even__><tr class="odd"><TMPL_ELSE><tr></TMPL_IF>
+ <td><input type="radio" name="postmaster" value="<TMPL_VAR NAME=postmaster>"/></td>
+ <td><span class="email"><TMPL_VAR NAME=postmaster></td>
+ </tr>
+ </TMPL_LOOP>
+ </tbody>
+ </table>
+ <input type="submit" name="submit" value="1" class="hidden" />
+ <input type="submit" name="cancel" value="Cancel" />
+ <input type="submit" name="submit" value="Send" />
+ <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=domain></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>