This commit is contained in:
2022-04-22 16:22:46 +02:00
parent 86a9dd271f
commit f234cded1b
4 changed files with 7 additions and 4 deletions

View File

@@ -6,7 +6,7 @@
<groupId>org.example</groupId>
<artifactId>Widerhall</artifactId>
<version>0.2.20</version>
<version>0.2.21</version>
<build>
<plugins>
<plugin>

View File

@@ -197,8 +197,6 @@ public class Web extends TemplateServlet {
loadTemplates();
data.put(NOTES,t("Templates have been reloaded"));
path = INDEX;
case UNSUBSCRIBE:
data.put(LIST,list.email());
case CSS:
case INDEX:
return loadTemplate(path,data,resp);
@@ -224,6 +222,10 @@ public class Web extends TemplateServlet {
case "jquery":
resp.setContentType("text/javascript");
return loadFile("jquery-3.6.0.min.js",resp);
case UNSUBSCRIBE:
data.put(LIST,list.email());
return loadTemplate(path,data,resp);
}
if (user != null){

View File

@@ -6,7 +6,7 @@
<script src="js"></script>
<link rel="stylesheet" href="css" />
</head>
<body>
<body id="add_list">
«navigation()»
«userinfo()»
<h1>Widerhall List Creation</h1>

View File

@@ -3,6 +3,7 @@ label {
margin: 5px 0;
}
#add_list form,
#login form,
#register form,
#subscribe form{