Implemented thymeleaf to new tempalte
This commit is contained in:
@@ -64,6 +64,11 @@ public class EventController {
|
||||
.build();
|
||||
}
|
||||
|
||||
@GetMapping("/new/mock")
|
||||
public String getNewMock(Model model){
|
||||
return "mock";
|
||||
}
|
||||
|
||||
@ModelAttribute("eventList")
|
||||
public List<Event> eventList() {
|
||||
return eventList;
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<html xmlns:th="http://thymeleaf.org">
|
||||
<head>
|
||||
<title>R11 MockedServices</title>
|
||||
<meta charset="utf-8">
|
||||
<link rel="stylesheet" href="../static/css/design.css" type="text/css">
|
||||
<link rel="stylesheet" href="../static/Dependency/fontello-plus/css/fontello.css" type="text/css"/>
|
||||
<link rel="stylesheet" th:href="@{/css/main.css}" type="text/css">
|
||||
<link rel="stylesheet" th:href="@{/Dependency/fontello-plus/css/fontello.css}" type="text/css"/>
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Acme&family=Josefin+Slab:wght@500&display=swap" rel="stylesheet">
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
|
||||
@@ -62,6 +62,6 @@
|
||||
|
||||
|
||||
</div>
|
||||
<script type="text/javascript" src="../static/js/design.js"></script>
|
||||
<script type="text/javascript" th:src="@{/js/uianimation.js}"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user