index.html 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. <p>The modal dialog contains some input elements, the values of these can be retrieved by defining the elements
  18. through the <var>References</var> collection: all values for references with <em>Kind=mikValue</em> will be collected and passed on in the <em>OnHide</em> event.
  19. </p>
  20. </div>
  21. </div>
  22. <hr class="my-4">
  23. <div id="modals-parent">
  24. </div>
  25. <div class="container py-5">
  26. <div class="d-flex justify-content-center">
  27. <button id="btnShowModal" class="btn btn-primary">Show modal dialog</button>
  28. </div>
  29. </div>
  30. <script>
  31. rtl.showUncaughtExceptions=true;
  32. window.addEventListener("load", rtl.run);
  33. </script>
  34. </body>
  35. </html>