working on list creation
This commit is contained in:
69
static/templates/add_list.st
Normal file
69
static/templates/add_list.st
Normal file
@@ -0,0 +1,69 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<script src="jquery"></script>
|
||||
<script src="js"></script>
|
||||
<link rel="stylesheet" href="css" />
|
||||
</head>
|
||||
<body id="login">
|
||||
«userinfo()»
|
||||
<h1>Widerhall List Creation</h1>
|
||||
«messages()»
|
||||
<form method="POST" action="add_list">
|
||||
<fieldset>
|
||||
<legend>List configuration</legend>
|
||||
<fieldset>
|
||||
<legend>Basic data</legend>
|
||||
<label>
|
||||
<input type="text" name="name" value="«data.name»" id="name" />
|
||||
List name
|
||||
</label>
|
||||
<label>
|
||||
<input type="text" name="email" value="«data.email»" id="email" />
|
||||
List E-Mail Address
|
||||
</label>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend>IMAP protocol</legend>
|
||||
<label>
|
||||
<input type="text" name="imap_host" value="«data.imap.host»" id="imap_host" />
|
||||
Hostname
|
||||
</label>
|
||||
<label>
|
||||
<input type="number" name="imap_port" value="«data.imap.port»" id="imap_port" />
|
||||
Port
|
||||
</label>
|
||||
<label>
|
||||
<input type="text" name="imap_user" value="«data.imap.user»" id="imap_user" />
|
||||
Username
|
||||
</label>
|
||||
<label>
|
||||
<input type="password" name="imap_pass" value="«data.imap.pass»" id="imap_pass" />
|
||||
Password
|
||||
</label>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend>SMTP protocol</legend>
|
||||
<label>
|
||||
<input type="text" name="smtp_host" value="«data.smtp.host»" id="smtp_host" />
|
||||
Hostname
|
||||
</label>
|
||||
<label>
|
||||
<input type="number" name="smtp_port" value="«data.smtp.port»" id="smtp_port" />
|
||||
Port
|
||||
</label>
|
||||
<label>
|
||||
<input type="text" name="smtp_user" value="«data.smtp.user»" id="smtp_user" />
|
||||
Username
|
||||
</label>
|
||||
<label>
|
||||
<input type="password" name="smtp_pass" value="«data.smtp.pass»" id="smtp_pass" />
|
||||
Password
|
||||
</label>
|
||||
</fieldset>
|
||||
<button type="submit">Save new mailing list</button>
|
||||
</fieldset>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
@@ -7,4 +7,8 @@
|
||||
<th>Details</th>
|
||||
</tr>
|
||||
</table>
|
||||
<a href="add_list">Add new mailing list</a>
|
||||
<script type="text/javascript">
|
||||
loadListList();
|
||||
</script>
|
||||
</fieldset>
|
||||
Reference in New Issue
Block a user