From 89b3f1164af4d157a1419e203575fe9a56f25794 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magdalena=20Grodzi=C5=84ska?= Date: Tue, 19 Nov 2019 19:22:13 +0100 Subject: Add working home page front-end --- src/main/resources/application.properties | 6 +++ .../mimuw/cloudatlas/client/templates/error.html | 10 +++++ .../client/templates/fragments/navbar.html | 46 ++++++++++++++++++++++ .../mimuw/cloudatlas/client/templates/home.html | 24 +++++++++++ 4 files changed, 86 insertions(+) create mode 100644 src/main/resources/application.properties create mode 100644 src/main/resources/pl/edu/mimuw/cloudatlas/client/templates/error.html create mode 100644 src/main/resources/pl/edu/mimuw/cloudatlas/client/templates/fragments/navbar.html create mode 100644 src/main/resources/pl/edu/mimuw/cloudatlas/client/templates/home.html (limited to 'src/main/resources') diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties new file mode 100644 index 0000000..cf15d4a --- /dev/null +++ b/src/main/resources/application.properties @@ -0,0 +1,6 @@ +spring.application.name=CloudAtlas Client + +spring.thymeleaf.cache=false +spring.thymeleaf.enabled=true +spring.thymeleaf.prefix=classpath:/pl/edu/mimuw/cloudatlas/client/templates/ +spring.thymeleaf.suffix=.html \ No newline at end of file diff --git a/src/main/resources/pl/edu/mimuw/cloudatlas/client/templates/error.html b/src/main/resources/pl/edu/mimuw/cloudatlas/client/templates/error.html new file mode 100644 index 0000000..9b42db1 --- /dev/null +++ b/src/main/resources/pl/edu/mimuw/cloudatlas/client/templates/error.html @@ -0,0 +1,10 @@ + +Error + +

Error

+[status] + error + +

message

+ + \ No newline at end of file diff --git a/src/main/resources/pl/edu/mimuw/cloudatlas/client/templates/fragments/navbar.html b/src/main/resources/pl/edu/mimuw/cloudatlas/client/templates/fragments/navbar.html new file mode 100644 index 0000000..c2beaa9 --- /dev/null +++ b/src/main/resources/pl/edu/mimuw/cloudatlas/client/templates/fragments/navbar.html @@ -0,0 +1,46 @@ + + + + + + CloudAtlas Client + + + + + +
+ +
+ + + + + + + + \ No newline at end of file diff --git a/src/main/resources/pl/edu/mimuw/cloudatlas/client/templates/home.html b/src/main/resources/pl/edu/mimuw/cloudatlas/client/templates/home.html new file mode 100644 index 0000000..c8f3031 --- /dev/null +++ b/src/main/resources/pl/edu/mimuw/cloudatlas/client/templates/home.html @@ -0,0 +1,24 @@ + + + + + + + CloudAtlas Client - home + + + + + +
+
+

+
+ + + + + + + + \ No newline at end of file -- cgit v1.2.3