├── .gitignore ├── BUILD.txt ├── CONTRIBUTING.markdown ├── LICENSE.txt ├── NOTICE.txt ├── README.md ├── pom.xml └── src ├── assembly └── sources.xml ├── main ├── java │ └── thymeleafexamples │ │ └── layouts │ │ ├── Application.java │ │ ├── account │ │ ├── Account.java │ │ ├── AccountController.java │ │ ├── AccountRepository.java │ │ └── AccountService.java │ │ ├── config │ │ ├── ApplicationConfig.java │ │ ├── JpaConfig.java │ │ ├── SecurityConfig.java │ │ ├── WebAppInitializer.java │ │ └── WebMvcConfig.java │ │ ├── error │ │ ├── CustomErrorController.java │ │ └── ExceptionHandler.java │ │ ├── home │ │ └── HomeController.java │ │ ├── signin │ │ └── SigninController.java │ │ ├── signup │ │ ├── SignupController.java │ │ └── SignupForm.java │ │ ├── support │ │ └── web │ │ │ ├── AjaxUtils.java │ │ │ ├── Message.java │ │ │ └── MessageHelper.java │ │ └── task │ │ ├── Task.java │ │ ├── TaskController.java │ │ ├── TaskController_LayoutDialect.java │ │ ├── TaskRepository.java │ │ └── TaskService.java ├── resources │ ├── application.properties │ ├── logback.xml │ └── persistence.properties └── webapp │ ├── WEB-INF │ ├── i18n │ │ └── messages.properties │ ├── views │ │ ├── error │ │ │ └── general.html │ │ ├── fragments │ │ │ ├── alert.html │ │ │ ├── footer.html │ │ │ └── header.html │ │ ├── home │ │ │ ├── homeNotSignedIn.html │ │ │ └── homeSignedIn.html │ │ ├── signin │ │ │ └── signin.html │ │ ├── signup │ │ │ └── signup.html │ │ ├── task-ld │ │ │ ├── alert.html │ │ │ ├── layout.html │ │ │ ├── task-list.html │ │ │ └── task.html │ │ └── task │ │ │ ├── layout.html │ │ │ ├── task-list.html │ │ │ └── task.html │ └── web.xml │ └── resources │ ├── css │ ├── bootstrap.min.css │ ├── core.css │ └── task │ │ ├── task-list.css │ │ └── task.css │ ├── fonts │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.svg │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ └── glyphicons-halflings-regular.woff2 │ ├── images │ └── favicon.ico │ └── js │ ├── bootstrap.min.js │ ├── jquery.min.js │ └── task │ ├── task-list.js │ └── task.js └── test └── java └── thymeleafexamples └── layouts ├── account ├── AccountServiceTest.java └── UserAuthenticationIntegrationTest.java ├── config ├── EmbeddedDataSourceConfig.java ├── NoCsrfSecurityConfig.java ├── WebAppConfigurationAware.java └── WebSecurityConfigurationAware.java └── signup └── SignupControllerTest.java /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/.gitignore -------------------------------------------------------------------------------- /BUILD.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/BUILD.txt -------------------------------------------------------------------------------- /CONTRIBUTING.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/CONTRIBUTING.markdown -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /NOTICE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/NOTICE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/README.md -------------------------------------------------------------------------------- /pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/pom.xml -------------------------------------------------------------------------------- /src/assembly/sources.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/assembly/sources.xml -------------------------------------------------------------------------------- /src/main/java/thymeleafexamples/layouts/Application.java: -------------------------------------------------------------------------------- 1 | package thymeleafexamples.layouts; 2 | 3 | public interface Application {} 4 | -------------------------------------------------------------------------------- /src/main/java/thymeleafexamples/layouts/account/Account.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/java/thymeleafexamples/layouts/account/Account.java -------------------------------------------------------------------------------- /src/main/java/thymeleafexamples/layouts/account/AccountController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/java/thymeleafexamples/layouts/account/AccountController.java -------------------------------------------------------------------------------- /src/main/java/thymeleafexamples/layouts/account/AccountRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/java/thymeleafexamples/layouts/account/AccountRepository.java -------------------------------------------------------------------------------- /src/main/java/thymeleafexamples/layouts/account/AccountService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/java/thymeleafexamples/layouts/account/AccountService.java -------------------------------------------------------------------------------- /src/main/java/thymeleafexamples/layouts/config/ApplicationConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/java/thymeleafexamples/layouts/config/ApplicationConfig.java -------------------------------------------------------------------------------- /src/main/java/thymeleafexamples/layouts/config/JpaConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/java/thymeleafexamples/layouts/config/JpaConfig.java -------------------------------------------------------------------------------- /src/main/java/thymeleafexamples/layouts/config/SecurityConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/java/thymeleafexamples/layouts/config/SecurityConfig.java -------------------------------------------------------------------------------- /src/main/java/thymeleafexamples/layouts/config/WebAppInitializer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/java/thymeleafexamples/layouts/config/WebAppInitializer.java -------------------------------------------------------------------------------- /src/main/java/thymeleafexamples/layouts/config/WebMvcConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/java/thymeleafexamples/layouts/config/WebMvcConfig.java -------------------------------------------------------------------------------- /src/main/java/thymeleafexamples/layouts/error/CustomErrorController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/java/thymeleafexamples/layouts/error/CustomErrorController.java -------------------------------------------------------------------------------- /src/main/java/thymeleafexamples/layouts/error/ExceptionHandler.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/java/thymeleafexamples/layouts/error/ExceptionHandler.java -------------------------------------------------------------------------------- /src/main/java/thymeleafexamples/layouts/home/HomeController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/java/thymeleafexamples/layouts/home/HomeController.java -------------------------------------------------------------------------------- /src/main/java/thymeleafexamples/layouts/signin/SigninController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/java/thymeleafexamples/layouts/signin/SigninController.java -------------------------------------------------------------------------------- /src/main/java/thymeleafexamples/layouts/signup/SignupController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/java/thymeleafexamples/layouts/signup/SignupController.java -------------------------------------------------------------------------------- /src/main/java/thymeleafexamples/layouts/signup/SignupForm.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/java/thymeleafexamples/layouts/signup/SignupForm.java -------------------------------------------------------------------------------- /src/main/java/thymeleafexamples/layouts/support/web/AjaxUtils.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/java/thymeleafexamples/layouts/support/web/AjaxUtils.java -------------------------------------------------------------------------------- /src/main/java/thymeleafexamples/layouts/support/web/Message.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/java/thymeleafexamples/layouts/support/web/Message.java -------------------------------------------------------------------------------- /src/main/java/thymeleafexamples/layouts/support/web/MessageHelper.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/java/thymeleafexamples/layouts/support/web/MessageHelper.java -------------------------------------------------------------------------------- /src/main/java/thymeleafexamples/layouts/task/Task.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/java/thymeleafexamples/layouts/task/Task.java -------------------------------------------------------------------------------- /src/main/java/thymeleafexamples/layouts/task/TaskController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/java/thymeleafexamples/layouts/task/TaskController.java -------------------------------------------------------------------------------- /src/main/java/thymeleafexamples/layouts/task/TaskController_LayoutDialect.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/java/thymeleafexamples/layouts/task/TaskController_LayoutDialect.java -------------------------------------------------------------------------------- /src/main/java/thymeleafexamples/layouts/task/TaskRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/java/thymeleafexamples/layouts/task/TaskRepository.java -------------------------------------------------------------------------------- /src/main/java/thymeleafexamples/layouts/task/TaskService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/java/thymeleafexamples/layouts/task/TaskService.java -------------------------------------------------------------------------------- /src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | app.version=1.0.0.SNAPSHOT -------------------------------------------------------------------------------- /src/main/resources/logback.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/resources/logback.xml -------------------------------------------------------------------------------- /src/main/resources/persistence.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/resources/persistence.properties -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/i18n/messages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/webapp/WEB-INF/i18n/messages.properties -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/views/error/general.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/webapp/WEB-INF/views/error/general.html -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/views/fragments/alert.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/webapp/WEB-INF/views/fragments/alert.html -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/views/fragments/footer.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/webapp/WEB-INF/views/fragments/footer.html -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/views/fragments/header.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/webapp/WEB-INF/views/fragments/header.html -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/views/home/homeNotSignedIn.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/webapp/WEB-INF/views/home/homeNotSignedIn.html -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/views/home/homeSignedIn.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/webapp/WEB-INF/views/home/homeSignedIn.html -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/views/signin/signin.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/webapp/WEB-INF/views/signin/signin.html -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/views/signup/signup.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/webapp/WEB-INF/views/signup/signup.html -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/views/task-ld/alert.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/webapp/WEB-INF/views/task-ld/alert.html -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/views/task-ld/layout.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/webapp/WEB-INF/views/task-ld/layout.html -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/views/task-ld/task-list.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/webapp/WEB-INF/views/task-ld/task-list.html -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/views/task-ld/task.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/webapp/WEB-INF/views/task-ld/task.html -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/views/task/layout.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/webapp/WEB-INF/views/task/layout.html -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/views/task/task-list.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/webapp/WEB-INF/views/task/task-list.html -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/views/task/task.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/webapp/WEB-INF/views/task/task.html -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/web.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/webapp/WEB-INF/web.xml -------------------------------------------------------------------------------- /src/main/webapp/resources/css/bootstrap.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/webapp/resources/css/bootstrap.min.css -------------------------------------------------------------------------------- /src/main/webapp/resources/css/core.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/webapp/resources/css/core.css -------------------------------------------------------------------------------- /src/main/webapp/resources/css/task/task-list.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/resources/css/task/task.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/resources/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/webapp/resources/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /src/main/webapp/resources/fonts/glyphicons-halflings-regular.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/webapp/resources/fonts/glyphicons-halflings-regular.svg -------------------------------------------------------------------------------- /src/main/webapp/resources/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/webapp/resources/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /src/main/webapp/resources/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/webapp/resources/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /src/main/webapp/resources/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/webapp/resources/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /src/main/webapp/resources/images/favicon.ico: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/main/webapp/resources/js/bootstrap.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/webapp/resources/js/bootstrap.min.js -------------------------------------------------------------------------------- /src/main/webapp/resources/js/jquery.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/main/webapp/resources/js/jquery.min.js -------------------------------------------------------------------------------- /src/main/webapp/resources/js/task/task-list.js: -------------------------------------------------------------------------------- 1 | console.log("Tasks"); -------------------------------------------------------------------------------- /src/main/webapp/resources/js/task/task.js: -------------------------------------------------------------------------------- 1 | console.log("Task"); 2 | -------------------------------------------------------------------------------- /src/test/java/thymeleafexamples/layouts/account/AccountServiceTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/test/java/thymeleafexamples/layouts/account/AccountServiceTest.java -------------------------------------------------------------------------------- /src/test/java/thymeleafexamples/layouts/account/UserAuthenticationIntegrationTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/test/java/thymeleafexamples/layouts/account/UserAuthenticationIntegrationTest.java -------------------------------------------------------------------------------- /src/test/java/thymeleafexamples/layouts/config/EmbeddedDataSourceConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/test/java/thymeleafexamples/layouts/config/EmbeddedDataSourceConfig.java -------------------------------------------------------------------------------- /src/test/java/thymeleafexamples/layouts/config/NoCsrfSecurityConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/test/java/thymeleafexamples/layouts/config/NoCsrfSecurityConfig.java -------------------------------------------------------------------------------- /src/test/java/thymeleafexamples/layouts/config/WebAppConfigurationAware.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/test/java/thymeleafexamples/layouts/config/WebAppConfigurationAware.java -------------------------------------------------------------------------------- /src/test/java/thymeleafexamples/layouts/config/WebSecurityConfigurationAware.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/test/java/thymeleafexamples/layouts/config/WebSecurityConfigurationAware.java -------------------------------------------------------------------------------- /src/test/java/thymeleafexamples/layouts/signup/SignupControllerTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thymeleaf/thymeleafexamples-layouts/HEAD/src/test/java/thymeleafexamples/layouts/signup/SignupControllerTest.java --------------------------------------------------------------------------------