Merge branch '25-consider-moving-non-templated-html-into-static' into '11-add-api-for-getting-home-page-data'

Resolve "Consider moving non-templated HTML into `static/`"

See merge request padas/24ss-5430-web-and-data-eng/gruppe-3/datadash!36
This commit is contained in:
Erik Foris 2024-07-05 12:35:45 +02:00
commit 3c992aaa4a
4 changed files with 1 additions and 14 deletions

View File

@ -1,12 +0,0 @@
package de.uni_passau.fim.PADAS.group3.DataDash.controler;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
@Controller
public class PageController {
@GetMapping("/add")
public String getAddPage() {
return "add";
}
}

View File

@ -81,8 +81,7 @@ for (const downvoteButton of downvoteButtons) {
// functions of the main page
function navigateToAdd() {
//TODO: url to add page not yet implemented, add here
window.location.href = "/add";
window.location.href = "/add.html";
}
function filter(filterString) {