index.html 1.4 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta http-equiv="Content-type" content="text/html; charset=utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <title>Bootstrap Modal demo</title>
  7. <script src="https://code.jquery.com/jquery-3.6.0.slim.min.js"></script>
  8. <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
  9. <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
  10. <script src="modaldemo2.js"></script>
  11. </head>
  12. <body>
  13. <div class="jumbotron">
  14. <div class="container">
  15. <h2 class="display-4">TBootstrapModal demo</h2>
  16. <p class="lead">This is simple demo where a <em>TBootstrapModal</em> class is used to show a modal dialog. The modal HTML is specified in the <em>template</em> property.</p>
  17. </div>
  18. </div>
  19. <hr class="my-4">
  20. <div id="modals-parent">
  21. </div>
  22. <div class="container py-5">
  23. <div class="d-flex justify-content-center">
  24. <button id="btnShowModal" class="btn btn-primary">Show modal dialog</button>
  25. </div>
  26. </div>
  27. <script>
  28. rtl.showUncaughtExceptions=true;
  29. window.addEventListener("load", rtl.run);
  30. </script>
  31. </body>
  32. </html>