working on list submission
This commit is contained in:
@@ -125,7 +125,7 @@ function start(){
|
||||
}
|
||||
|
||||
function subscribeTo(domain,prefix){
|
||||
window.location.href='subscribe/'+prefix+'@'+domain;
|
||||
window.location.href='subscribe?list='+prefix+'@'+domain;
|
||||
}
|
||||
|
||||
|
||||
|
||||
34
static/templates/subscribe.st
Normal file
34
static/templates/subscribe.st
Normal file
@@ -0,0 +1,34 @@
|
||||
<!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">
|
||||
«navigation()»
|
||||
«userinfo()»
|
||||
«messages()»
|
||||
<h1>Widerhall Subscription</h1>
|
||||
<form method="POST">
|
||||
<input type="hidden" name="list" value="«data.list»" />
|
||||
<fieldset>
|
||||
<legend>Suscribe to "«data.list»"</legend>
|
||||
<label>
|
||||
<input type="text" name="name" value="«data.name»">
|
||||
Name
|
||||
</label>
|
||||
<label>
|
||||
<input type="text" name="email" value="«data.email»">
|
||||
Email
|
||||
</label>
|
||||
<label>
|
||||
<input type="password" name="password">
|
||||
Password (optional)
|
||||
</label>
|
||||
<button type="submit">Subscribe</button>
|
||||
</fieldset>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user