index.html 1.1 KB

1234567891011121314151617181920212223242526272829
  1. <!--
  2. ~ Copyright 2002-2019 the original author or authors.
  3. ~
  4. ~ Licensed under the Apache License, Version 2.0 (the "License");
  5. ~ you may not use this file except in compliance with the License.
  6. ~ You may obtain a copy of the License at
  7. ~
  8. ~ https://www.apache.org/licenses/LICENSE-2.0
  9. ~
  10. ~ Unless required by applicable law or agreed to in writing, software
  11. ~ distributed under the License is distributed on an "AS IS" BASIS,
  12. ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. ~ See the License for the specific language governing permissions and
  14. ~ limitations under the License.
  15. -->
  16. <!DOCTYPE html>
  17. <html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="https://www.thymeleaf.org">
  18. <head>
  19. <title>Hello Spring Security</title>
  20. <meta charset="utf-8" />
  21. <link rel="stylesheet" href="/static/css/main.css" th:href="@{/css/main.css}" />
  22. </head>
  23. <body>
  24. <div th:substituteby="index::logout"></div>
  25. <h1>This is a secured page!</h1>
  26. <p><a href="/" th:href="@{/}">Back to home page</a></p>
  27. </body>
  28. </html>