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:
commit
3c992aaa4a
@ -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";
|
|
||||||
}
|
|
||||||
}
|
|
@ -81,8 +81,7 @@ for (const downvoteButton of downvoteButtons) {
|
|||||||
|
|
||||||
// functions of the main page
|
// functions of the main page
|
||||||
function navigateToAdd() {
|
function navigateToAdd() {
|
||||||
//TODO: url to add page not yet implemented, add here
|
window.location.href = "/add.html";
|
||||||
window.location.href = "/add";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function filter(filterString) {
|
function filter(filterString) {
|
||||||
|
Loading…
Reference in New Issue
Block a user