Added empty templates for gallery and upload
This commit is contained in:
parent
39276d7f07
commit
c2e06354c2
@ -23,7 +23,6 @@ class BaseController
|
|||||||
@GetMapping("/")
|
@GetMapping("/")
|
||||||
fun landingPage(model: Model): String {
|
fun landingPage(model: Model): String {
|
||||||
model.addAttribute("count", imageRepository.count())
|
model.addAttribute("count", imageRepository.count())
|
||||||
println("COUNT:${imageRepository.count()}")
|
|
||||||
return "landing"
|
return "landing"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
10
src/main/resources/templates/gallery.html
Normal file
10
src/main/resources/templates/gallery.html
Normal 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>
|
10
src/main/resources/templates/upload.html
Normal file
10
src/main/resources/templates/upload.html
Normal 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>
|
Loading…
Reference in New Issue
Block a user