Advertisement
Guest User

thymeleaf+bootstrap

a guest
Jan 5th, 2013
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
  3. <head th:fragment="header">
  4. <meta charset="utf-8" />
  5. <link rel="stylesheet" type="text/css" href="../../static/css/bootstrap.css" th:href="@{/static/css/bootstrap.css}" />
  6. <script type="text/javascript" src="../../static/js/bootstrap.js" th:src="@{/static/js/bootstrap.js}"></script>
  7. </head>
  8.  
  9. <body>
  10. <div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  11. <div class="modal-header">
  12. <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
  13. <h3 id="myModalLabel">Modal header</h3>
  14. </div>
  15. <div class="modal-body">
  16. <p>One fine body…</p>
  17. </div>
  18. <div class="modal-footer">
  19. <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
  20. <button class="btn btn-primary">Save changes</button>
  21. </div>
  22. </div>
  23. <a href="#myModal" role="button" class="btn" data-toggle="modal">Launch demo modal</a>
  24. </body>
  25. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement