diff --git a/README.md b/README.md index 8ff5424..6ec5219 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,15 @@ -Spring Boot and Thymeleaf with Maven -==================================== +Spring Boot 2 and Thymeleaf with Maven +====================================== - Spring Boot 2 - Web application (WAR) packaging as well as self-contained JAR -- Thymeleaf with Java 8 Time Dialect and Layout Dialect -- WebJars -- Selenium configuration included +- `Thymeleaf` with following dialects: Java 8 Time, Layout and Security +- `WebJars` Prerequisites ------------- -- JDK 11 and JAVA_HOME environment variable set +- `JDK 11` and `JAVA_HOME` environment variable set Building the project -------------------- @@ -27,26 +26,35 @@ Run the project with: ./mvnw clean spring-boot:run +Navigate to: + + http://localhost:8080 + +Login with: `user` and `demo` + +Package the application +----------------------- + To package the project run: ./mvnw clean package -Open the application --------------------- +Screenshots +----------- -Application will be running on http://localhost:8080 +- Login -To login enter `user` and `demo` + +- Dashboard + + -Known issues ------------- -- Text templates example does not work -- Selenium configuration does not work +On my blog: +----------- -Referenced articles: --------------------- +Articles on my blog referencing to this project: - [Java 8 Date & Time with Thymeleaf](http://blog.codeleak.pl/2015/11/how-to-java-8-date-time-with-thymeleaf.html) - [Spring Boot and Thymeleaf with Maven](http://blog.codeleak.pl/2014/04/how-to-spring-boot-and-thymeleaf-with-maven.html) diff --git a/screenshots/dashboard.png b/screenshots/dashboard.png new file mode 100644 index 0000000..c5ee83e Binary files /dev/null and b/screenshots/dashboard.png differ diff --git a/screenshots/login.png b/screenshots/login.png new file mode 100644 index 0000000..341511a Binary files /dev/null and b/screenshots/login.png differ diff --git a/src/main/resources/templates/fragments/header.html b/src/main/resources/templates/fragments/header.html index a7317d5..4ebd451 100644 --- a/src/main/resources/templates/fragments/header.html +++ b/src/main/resources/templates/fragments/header.html @@ -10,11 +10,12 @@ - My project +
diff --git a/src/main/resources/templates/th-form.html b/src/main/resources/templates/th-form.html index 170b0e3..f107d84 100644 --- a/src/main/resources/templates/th-form.html +++ b/src/main/resources/templates/th-form.html @@ -20,12 +20,12 @@ - ++Demo
My context attribute |