sampledarw.html 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <meta charset="utf-8" />
  6. <title>
  7. Data Abstract dataset demo
  8. </title>
  9. <!-- Bootstrap -->
  10. <link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
  11. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
  12. <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
  13. <style type="text/css">
  14. body {
  15. padding-top: 60px;
  16. }
  17. </style>
  18. <script src="RemObjectsSDK.js" type="text/javascript"></script>
  19. <script src="DataAbstract.js" type="text/javascript"></script>
  20. <script src="DataAbstract4_intf.js" type="text/javascript"></script>
  21. <script src="sampledarw.js" type="text/javascript"></script>
  22. </head>
  23. <body role="document">
  24. <div class="navbar navbar-fixed-top" role="navigation">
  25. <div class="container">
  26. <div class="navbar-header">
  27. <div class="navbar-brand">Data Abstract for Pas2JS</div>
  28. </div>
  29. <button id="btn-fetch" class="btn btn-default">Load Data</button>
  30. <button id="btn-add" class="btn btn-default">Add record</button>
  31. <button id="btn-edit" class="btn btn-default">Edit record</button>
  32. <button id="btn-delete" class="btn btn-default">Delete record</button>
  33. <div><a href="sampledarw.lpr"> View pascal sources</a></div>
  34. </div>
  35. </div>
  36. <div id="wrapper" class="container" style="display:none;">
  37. <div class="content">
  38. <div class="row">
  39. <table class="table table-bordered table-striped table-hover table-sm">
  40. <thead>
  41. <th>ISO</th>
  42. <th>ISO 3</th>
  43. <th>Name</th>
  44. <th>Nice name</th>
  45. <th>Num code</th>
  46. <th>Phone code</th>
  47. </thead>
  48. <tbody id="tableRows"></tbody>
  49. </table>
  50. </div>
  51. </div>
  52. </div>
  53. <hr />
  54. </footer>
  55. <script>
  56. window.addEventListener("load",rtl.run);
  57. </script>
  58. </body>
  59. </html>