2015-04-14 22:55:57 +08:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>Django JavaScript Tests</title>
|
2020-03-16 09:59:31 +08:00
|
|
|
<link rel="stylesheet" href="../node_modules/qunit/qunit/qunit.css">
|
2015-04-14 22:55:57 +08:00
|
|
|
</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">
|
2020-03-08 01:35:59 +08:00
|
|
|
<tr id="first-0" class="form-row">
|
2015-04-14 22:55:57 +08:00
|
|
|
<td class="field-test_field">
|
2019-10-24 22:37:55 +08:00
|
|
|
<input id="id_first-0-test_field">
|
2015-04-14 22:55:57 +08:00
|
|
|
</td>
|
|
|
|
</tr>
|
2019-10-24 22:37:55 +08:00
|
|
|
<tr id="first-empty" class="form-row empty-form">
|
2015-04-14 22:55:57 +08:00
|
|
|
<td class="field-test_field">
|
2019-10-24 22:37:55 +08:00
|
|
|
<input id="id_first-__prefix__-test_field">
|
2015-04-14 22:55:57 +08:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</script>
|
2019-10-24 22:37:55 +08:00
|
|
|
<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">
|
2020-03-08 01:35:59 +08:00
|
|
|
<tr id="second-0" class="form-row has_original">
|
2019-10-24 22:37:55 +08:00
|
|
|
<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>
|
2020-03-08 01:35:59 +08:00
|
|
|
<tr id="second-1" class="form-row">
|
2019-10-24 22:37:55 +08:00
|
|
|
<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>
|
2015-04-14 22:55:57 +08:00
|
|
|
|
2020-03-16 09:59:31 +08:00
|
|
|
<script src="../node_modules/qunit/qunit/qunit.js"></script>
|
2015-04-14 22:55:57 +08:00
|
|
|
|
2017-06-14 01:34:42 +08:00
|
|
|
<script src='../django/contrib/admin/static/admin/js/vendor/xregexp/xregexp.min.js'></script>
|
2015-04-14 22:55:57 +08:00
|
|
|
<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>
|
2017-06-14 01:34:42 +08:00
|
|
|
<script src='./admin/URLify.test.js'></script>
|
2015-04-14 22:55:57 +08:00
|
|
|
|
2015-05-25 23:31:26 +08:00
|
|
|
<div id="id_point_map" style="display:none;">
|
|
|
|
<textarea id="id_point" name="point" class="vSerializedField required"
|
|
|
|
style="display:none;" rows="10" cols="150"
|
|
|
|
>{"type": "Point", "coordinates": [7.8177, 47.397]}</textarea>
|
2015-10-03 18:04:32 +08:00
|
|
|
</div>
|
2015-05-25 23:31:26 +08:00
|
|
|
<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>
|
2017-12-22 23:58:32 +08:00
|
|
|
<script src='https://cdnjs.cloudflare.com/ajax/libs/ol3/4.6.5/ol.js'></script>
|
2015-10-03 18:04:32 +08:00
|
|
|
<script src='../django/contrib/gis/static/gis/js/OLMapWidget.js' data-cover></script>
|
|
|
|
<script src='./gis/mapwidget.test.js'></script>
|
|
|
|
|
2015-04-14 22:55:57 +08:00
|
|
|
</body>
|
|
|
|
</html>
|