Added empty templates for gallery and upload

This commit is contained in:
neviyn 2021-04-29 22:00:12 +01:00
parent 39276d7f07
commit c2e06354c2
3 changed files with 20 additions and 1 deletions

View File

@ -23,7 +23,6 @@ class BaseController
@GetMapping("/")
fun landingPage(model: Model): String {
model.addAttribute("count", imageRepository.count())
println("COUNT:${imageRepository.count()}")
return "landing"
}

View File

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
<meta th:replace="fragments :: header"/>
<title>Gallery</title>
</head>
<body>
</body>
</html>

View File

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
<meta th:replace="fragments :: header"/>
<title>Upload</title>
</head>
<body>
</body>
</html>