working on list submission

This commit is contained in:
2022-04-16 12:29:49 +02:00
parent 7b41ece15e
commit 853926e0f7
4 changed files with 77 additions and 5 deletions

View File

@@ -125,7 +125,7 @@ function start(){
}
function subscribeTo(domain,prefix){
window.location.href='subscribe/'+prefix+'@'+domain;
window.location.href='subscribe?list='+prefix+'@'+domain;
}

View 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>