diff options
Diffstat (limited to 'template/edit-domain.html')
-rw-r--r-- | template/edit-domain.html | 41 |
1 files changed, 25 insertions, 16 deletions
diff --git a/template/edit-domain.html b/template/edit-domain.html index 5be62dd..cac44be 100644 --- a/template/edit-domain.html +++ b/template/edit-domain.html @@ -2,7 +2,7 @@ <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> + <title>Edit domain <TMPL_VAR NAME=DOMAIN></title> <link href="/css/style.css" media="all" rel="stylesheet" type="text/css" /> </head> <body> @@ -22,20 +22,15 @@ <h1>Edit domain <tt><TMPL_VAR NAME=DOMAIN></tt></h1> - - <table width=90% align=center> - <tr> - <td width=30%> - Status: <b><TMPL_IF NAME=ISACTIVE><span class="active">Active</span><TMPL_ELSE><span class="inactive">Inactive</span></TMPL_IF></b> - (<a href="./?a=edit&active=<TMPL_IF NAME=ISACTIVE>FALSE<TMPL_ELSE>TRUE</TMPL_IF>">toggle</a>) - </td> - <td width=70% align=right> - <span class="ack"> - <TMPL_IF NAME=NEWCHANGES>Your changes have succesfully been submitted.</TMPL_IF> - </span> - </td> - </tr> - </table> + <TMPL_IF NAME=NEWCHANGES> + <TMPL_IF NAME=ERROR> + <div class="fail">Error: <TMPL_VAR NAME=ERROR></div> + <TMPL_ELSE> + <div class="success">Your changes have succesfully been submitted.</div> + </TMPL_IF> + <TMPL_ELSE> + </br> + </TMPL_IF> <br/> @@ -44,10 +39,24 @@ <input type="hidden" name="a" value="edit" /> <p> + <h4 class="label">Status</h4> + <select name="status"> + <option value="active" <TMPL_IF NAME=ISACTIVE>selected</TMPL_IF>>Active</option> + <option value="inactive" <TMPL_UNLESS NAME=ISACTIVE>selected</TMPL_UNLESS>>Inactive</option> + </select> + <div class="help"> + <b>Warning</b>: emails are <i>not</i> delivered to mailboxes, + aliases or lists of inactive domains. + </div> + </p> + + <hr/> + + <p> <h4 class="label">Description</h4> <textarea type="text" name="description" cols="50" rows="3" wrap="soft"><TMPL_VAR NAME=DESCRIPTION></textarea> <div class="help"> - An optional description of your domain. + An optional description. (HTML tags are allowed.) </div> </p> |