tests.html 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Django JavaScript Tests</title>
  6. <link rel="stylesheet" href="../node_modules/qunit/qunit/qunit.css">
  7. </head>
  8. <body>
  9. <div id="qunit"></div>
  10. <div id="qunit-fixture">
  11. </div>
  12. <script type="text/html" id="result-table">
  13. <form id="changelist-form">
  14. <button type="submit" class="button" name="index" value="0">Go</button>
  15. <span class="action-counter" data-actions-icnt="100"></span>
  16. <table id="result_list">
  17. <tr>
  18. <th>
  19. <input type="checkbox" id="action-toggle" aria-label="Select all objects on this page for an action">
  20. </th>
  21. </tr>
  22. <tr>
  23. <td class="action-checkbox">
  24. <input class="action-select" type="checkbox" value="618">
  25. </td>
  26. </tr>
  27. </table>
  28. <input type="submit" name="_save" value="Save">
  29. </form>
  30. </script>
  31. <script type="text/html" id="tabular-formset">
  32. <input id="id_first-TOTAL_FORMS" value="1">
  33. <input id="id_first-MAX_NUM_FORMS" value="">
  34. <table class="inline">
  35. <tr id="first-0" class="form-row">
  36. <td class="field-test_field">
  37. <input id="id_first-0-test_field">
  38. </td>
  39. </tr>
  40. <tr id="first-empty" class="form-row empty-form">
  41. <td class="field-test_field">
  42. <input id="id_first-__prefix__-test_field">
  43. </td>
  44. </tr>
  45. </table>
  46. </script>
  47. <script type="text/html" id="tabular-formset-with-validation-error">
  48. <div class="inline-group">
  49. <div class="tabular inline-related">
  50. <input id="id_second-TOTAL_FORMS" value="2">
  51. <input id="id_second-MAX_NUM_FORMS" value="">
  52. <input id="id_second-MIN_NUM_FORMS" value="">
  53. <table class="inline">
  54. <tr id="second-0" class="form-row has_original">
  55. <td class="field-test_field">
  56. <input id="id_second-0-test_field">
  57. </td>
  58. <td class="delete">
  59. <input type="checkbox" />
  60. </td>
  61. </tr>
  62. <tr class="row-form-errors">
  63. <td colspan="2">
  64. <ul class="errorlist nonfield">
  65. <li>This next form has non-field errors.</li>
  66. </ul>
  67. </td>
  68. </tr>
  69. <tr id="second-1" class="form-row">
  70. <td class="field-test_field">
  71. <input id="id_second-1-test_field">
  72. </td>
  73. <td class="delete"></td>
  74. </tr>
  75. <tr id="second-empty" class="form-row empty-form">
  76. <td class="field-test_field">
  77. <input id="id_second-__prefix__-test_field">
  78. </td>
  79. <td class="delete"></td>
  80. </tr>
  81. </table>
  82. </div>
  83. </div>
  84. </script>
  85. <script type="text/html" id="nav-sidebar-filter">
  86. <nav class="sticky" id="nav-sidebar">
  87. <input type="search" id="nav-filter"
  88. placeholder="Start typing to filter..."
  89. aria-label="Filter navigation items">
  90. <div class="app-auth module current-app">
  91. <table>
  92. <caption>
  93. <a href="/admin/auth/" class="section"
  94. title="Models in the Authentication and Authorization application">
  95. Authentication and Authorization
  96. </a>
  97. </caption>
  98. <tbody>
  99. <tr class="model-group">
  100. <th scope="row"><a href="/admin/auth/group/">Groups</a></th>
  101. <td><a href="/admin/auth/group/add/" class="addlink">Add</a></td>
  102. </tr>
  103. <tr class="model-user current-model">
  104. <th scope="row"><a href="/admin/auth/user/" aria-current="page">Users</a></th>
  105. <td><a href="/admin/auth/user/add/" class="addlink">Add</a></td>
  106. </tr>
  107. </tbody>
  108. </table>
  109. </div>
  110. </nav>
  111. </script>
  112. <script src="../node_modules/qunit/qunit/qunit.js"></script>
  113. <script src='../django/contrib/admin/static/admin/js/vendor/xregexp/xregexp.min.js'></script>
  114. <script src='../django/contrib/admin/static/admin/js/vendor/jquery/jquery.min.js'></script>
  115. <script src='../django/contrib/admin/static/admin/js/jquery.init.js'></script>
  116. <script src='./admin/jsi18n-mocks.test.js'></script>
  117. <script src='../django/contrib/admin/static/admin/js/core.js' data-cover></script>
  118. <script src='./admin/core.test.js'></script>
  119. <script src='../django/contrib/admin/static/admin/js/nav_sidebar.js' data-cover></script>
  120. <script src='./admin/navigation.test.js'></script>
  121. <script src='../django/contrib/admin/static/admin/js/admin/RelatedObjectLookups.js' data-cover></script>
  122. <script src='./admin/DateTimeShortcuts.test.js'></script>
  123. <script src='../django/contrib/admin/static/admin/js/calendar.js' data-cover></script>
  124. <script src='../django/contrib/admin/static/admin/js/admin/DateTimeShortcuts.js' data-cover></script>
  125. <script src='../django/contrib/admin/static/admin/js/actions.js' data-cover></script>
  126. <script src='./admin/actions.test.js'></script>
  127. <script src='../django/contrib/admin/static/admin/js/SelectBox.js' data-cover></script>
  128. <script src='./admin/SelectBox.test.js'></script>
  129. <script src='../django/contrib/admin/static/admin/js/SelectFilter2.js' data-cover></script>
  130. <script src='./admin/SelectFilter2.test.js'></script>
  131. <script src='../django/contrib/admin/static/admin/js/inlines.js' data-cover></script>
  132. <script src='./admin/inlines.test.js'></script>
  133. <script src='../django/contrib/admin/static/admin/js/actions.js' data-cover></script>
  134. <script src='../django/contrib/admin/static/admin/js/collapse.js' data-cover></script>
  135. <script src='../django/contrib/admin/static/admin/js/prepopulate.js' data-cover></script>
  136. <script src='../django/contrib/admin/static/admin/js/urlify.js' data-cover></script>
  137. <script src='./admin/URLify.test.js'></script>
  138. <div id="id_point_map" style="display:none;">
  139. <textarea id="id_point" name="point" class="vSerializedField required"
  140. style="display:none;" rows="10" cols="150"
  141. >{&quot;type&quot;: &quot;Point&quot;, &quot;coordinates&quot;: [7.8177, 47.397]}</textarea>
  142. </div>
  143. <div id="id_multipolygon_map" style="display:none;">
  144. <textarea id="id_multipolygon" name="multipolygon" class="vSerializedField required"
  145. style="display:none;" rows="10" cols="150"></textarea>
  146. </div>
  147. <script src='https://cdn.jsdelivr.net/npm/ol@v7.2.2/dist/ol.js'></script>
  148. <script src='../django/contrib/gis/static/gis/js/OLMapWidget.js' data-cover></script>
  149. <script src='./gis/mapwidget.test.js'></script>
  150. </body>
  151. </html>