{% extends "admin/base_site.html" %} {% block breadcrumbs %} {% endblock %} {% block content_title %}{% endblock %} {% block content %}

Original file importer

Import an HTML test

Upload one complete HTML test and preserve its original layout, styling, scripts, questions, and controls.

Build manually instead
  1. {% if preview_exact %}✓{% else %}1{% endif %}
    UploadChoose the HTML file
  2. 2
    ReviewConfirm the original file
  3. 3
    SaveCreate the test
{% if preview_exact %}

Import preview

{{ preview_title }}

Confirm that this is the complete original HTML document you want to publish.

{% if preview_publish %}Will publish{% else %}Will save as draft{% endif %}
ExactHTML rendering
1Original file
{% if preview_publish %}Live{% else %}Draft{% endif %}Initial status
1

{{ preview_source_name }}

{{ preview_file_size|filesizeformat }}

The original markup, styling, scripts, question layout, and internal controls will be preserved inside the protected HTML viewer.

The source experience is preserved. Native answer-by-answer review requires a separate result bridge supplied by the HTML test.
{% csrf_token %}
← Upload again
{% else %}
{% csrf_token %}

Test details

Name and classify this test

The uploaded document itself stays unchanged.

{% for field in form %}{% if field.name != 'html_files' and field.name != 'publish' %}
{{ field.label_tag }}{{ field }}{% if field.help_text %}

{{ field.help_text }}

{% endif %}{% for error in field.errors %}

{{ error }}

{% endfor %}
{% endif %}{% endfor %}
{% endif %}
{% endblock %} {% block footer %}{{ block.super }}{% endblock %}