index.html 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637
  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="modaldemo1.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
  17. is loaded through a template, the name of the template and the
  18. corresponding HTML File are specified in the <em>TemplateName</em> and <em>HTMLFileName</em> properties.</p>
  19. </div>
  20. </div>
  21. <hr class="my-4">
  22. <div id="modals-parent">
  23. </div>
  24. <div class="container py-5">
  25. <div class="d-flex justify-content-center">
  26. <button id="btnShowModal" class="btn btn-primary">Show modal dialog</button>
  27. </div>
  28. </div>
  29. <script>
  30. rtl.showUncaughtExceptions=true;
  31. window.addEventListener("load", rtl.run);
  32. </script>
  33. </body>
  34. </html>