diff options
Diffstat (limited to 'templates/edit-list.html')
-rw-r--r-- | templates/edit-list.html | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/templates/edit-list.html b/templates/edit-list.html new file mode 100644 index 0000000..6eeae7c --- /dev/null +++ b/templates/edit-list.html @@ -0,0 +1,71 @@ +<!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>Edit list <TMPL_VAR NAME=list>@<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> / + <a href="../"><TMPL_VAR NAME=domain></a> / + <TMPL_VAR NAME=list> / + </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"> + <h1>Edit list <a class="external" target="_blank" href="<TMPL_VAR NAME=listURL>" + ><span class="email"><TMPL_VAR NAME=list>@<TMPL_VAR NAME=domain></span + ></a></h1> + + <TMPL_IF NAME=newChanges> + <TMPL_IF NAME=error> + <div class="fail"><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/> + + <form class="editform" name="editform" method="post" action="?"> + <div class="editform"> + <input type="hidden" name="a" value="edit" /> + + <h4 class="label" id="status">Status</h4> + <select name="isactive"> + <option value="1" <TMPL_IF NAME=isactive>selected="selected"</TMPL_IF>>Active</option> + <option value="0" <TMPL_UNLESS NAME=isactive>selected="selected"</TMPL_UNLESS>>Inactive</option> + </select> + <div class="help"> + <b>Warning</b>: emails are <i>not</i> delivered to inactive entries. + </div> + + <hr/> + + <h4 class="label" id="description">Description</h4> + <textarea name="description" cols="50" rows="5" ><TMPL_VAR NAME=description></textarea> + <div class="help"> + An optional description. (HTML tags are allowed.) + </div> + + <hr/> + <br/> + + <input type="submit" name="cancel" value="Cancel" /> + <input type="submit" name="submit" value="Submit" /> + </div> + </form> + </div> + </body> +</html> |