1
0
mirror of https://github.com/django/django.git synced 2024-12-22 09:05:43 +00:00
django/js_tests/tests.html
Jon Dufresne f982f0bdb8
Refs #31032 -- Removed unsupported browsers workarounds and comments in admin's JavaScript.
Since 8b30360322, the admin documentation
is explicit that only modern evergreen browsers are supported. This
allows removing several long standing workarounds for IE and Opera older
versions.

Since 2013, Opera is based on the Chromium blink engine.
2020-03-23 06:19:10 +01:00

131 lines
5.6 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Django JavaScript Tests</title>
<link rel="stylesheet" href="../node_modules/qunit/qunit/qunit.css">
</head>
<body>
<div id="qunit"></div>
<div id="qunit-fixture">
</div>
<script type="text/html" id="result-table">
<table id="result_list">
<tr>
<th>
<input type="checkbox" id="action-toggle">
</th>
</tr>
<tr>
<td class="action-checkbox">
<input class="action-select" type="checkbox" value="618">
</td>
</tr>
</table>
</script>
<script type="text/html" id="tabular-formset">
<input id="id_first-TOTAL_FORMS" value="1">
<input id="id_first-MAX_NUM_FORMS" value="">
<table class="inline">
<tr id="first-0" class="form-row">
<td class="field-test_field">
<input id="id_first-0-test_field">
</td>
</tr>
<tr id="first-empty" class="form-row empty-form">
<td class="field-test_field">
<input id="id_first-__prefix__-test_field">
</td>
</tr>
</table>
</script>
<script type="text/html" id="tabular-formset-with-validation-error">
<div class="inline-group">
<div class="tabular inline-related">
<input id="id_second-TOTAL_FORMS" value="2">
<input id="id_second-MAX_NUM_FORMS" value="">
<input id="id_second-MIN_NUM_FORMS" value="">
<table class="inline">
<tr id="second-0" class="form-row has_original">
<td class="field-test_field">
<input id="id_second-0-test_field">
</td>
<td class="delete">
<input type="checkbox" />
</td>
</tr>
<tr class="row-form-errors">
<td colspan="2">
<ul class="errorlist nonfield">
<li>This next form has non-field errors.</li>
</ul>
</td>
</tr>
<tr id="second-1" class="form-row">
<td class="field-test_field">
<input id="id_second-1-test_field">
</td>
<td class="delete"></td>
</tr>
<tr id="second-empty" class="form-row empty-form">
<td class="field-test_field">
<input id="id_second-__prefix__-test_field">
</td>
<td class="delete"></td>
</tr>
</table>
</div>
</div>
</script>
<script src="../node_modules/qunit/qunit/qunit.js"></script>
<script src='../django/contrib/admin/static/admin/js/vendor/xregexp/xregexp.min.js'></script>
<script src='../django/contrib/admin/static/admin/js/vendor/jquery/jquery.min.js'></script>
<script src='../django/contrib/admin/static/admin/js/jquery.init.js'></script>
<script src='./admin/jsi18n-mocks.test.js'></script>
<script src='../django/contrib/admin/static/admin/js/core.js' data-cover></script>
<script src='./admin/core.test.js'></script>
<script src='../django/contrib/admin/static/admin/js/admin/RelatedObjectLookups.js' data-cover></script>
<script src='./admin/DateTimeShortcuts.test.js'></script>
<script src='../django/contrib/admin/static/admin/js/calendar.js' data-cover></script>
<script src='../django/contrib/admin/static/admin/js/admin/DateTimeShortcuts.js' data-cover></script>
<script src='../django/contrib/admin/static/admin/js/actions.js' data-cover></script>
<script src='./admin/actions.test.js'></script>
<script src='../django/contrib/admin/static/admin/js/SelectBox.js' data-cover></script>
<script src='./admin/SelectBox.test.js'></script>
<script src='../django/contrib/admin/static/admin/js/SelectFilter2.js' data-cover></script>
<script src='./admin/SelectFilter2.test.js'></script>
<script src='../django/contrib/admin/static/admin/js/inlines.js' data-cover></script>
<script src='./admin/inlines.test.js'></script>
<script src='../django/contrib/admin/static/admin/js/actions.js' data-cover></script>
<script src='../django/contrib/admin/static/admin/js/collapse.js' data-cover></script>
<script src='../django/contrib/admin/static/admin/js/prepopulate.js' data-cover></script>
<script src='../django/contrib/admin/static/admin/js/urlify.js' data-cover></script>
<script src='./admin/URLify.test.js'></script>
<div id="id_point_map" style="display:none;">
<textarea id="id_point" name="point" class="vSerializedField required"
style="display:none;" rows="10" cols="150"
>{&quot;type&quot;: &quot;Point&quot;, &quot;coordinates&quot;: [7.8177, 47.397]}</textarea>
</div>
<div id="id_multipolygon_map" style="display:none;">
<textarea id="id_multipolygon" name="multipolygon" class="vSerializedField required"
style="display:none;" rows="10" cols="150"></textarea>
</div>
<script src='https://cdnjs.cloudflare.com/ajax/libs/ol3/4.6.5/ol.js'></script>
<script src='../django/contrib/gis/static/gis/js/OLMapWidget.js' data-cover></script>
<script src='./gis/mapwidget.test.js'></script>
</body>
</html>