<p>{% trans "You can export all student answers to multiple-choice questions and long-form answers to a CSV file here." %}</p>
<h2>{% trans "Student Answers Dashboard" %}</h3>
<divclass="data-export-options">
<divclass="data-export-field-container">
<divclass="data-export-field">
<label>
<span>{% trans "Problem types:" %}</span>
<selectmultiplename="block_types">
{% for label, value in block_choices.items %}
<optionvalue="{{value}}">{{label}}</option>
{% endfor %}
</select>
</label>
</div>
<divclass="data-export-helptext">
{% trans "Select which types of problem to include (selecting none will grab all types)" %}
</div>
<divclass="data-export-header">
<h3>{% trans "Filters" %}</h3>
</div>
<divclass="data-export-field-container">
<divclass="data-export-field">
<label>
<span>{% trans "Root block ID:" %}</span>
<inputtype="text"name="root_block_id"/>
</label>
<divclass="data-export-row">
<divclass="data-export-field-container">
<divclass="data-export-field">
<label>
<span>{% trans "Username:" %}</span>
<inputtype="text"name="username"/>
</label>
</div>
</div>
<divclass="data-export-helptext">
{% trans "Input the ID of a chapter, section, or unit if you wish to only get results under it. Otherwise, it will grab all results for the course." %}
<divclass="data-export-field-container">
<divclass="data-export-field">
<label>
<span>{% trans "Text:" %}</span>
<inputtype="text"name="match_string"/>
</label>
</div>
</div>
</div>
<divclass="data-export-field-container">
<divclass="data-export-field">
<label>
<span>{% trans "Username:" %}</span>
<inputtype="text"name="username"/>
</label>
<divclass="data-export-row">
<divclass="data-export-field-container">
<divclass="data-export-field">
<label>
<span>{% trans "Root block ID:" %}</span>
<inputtype="text"name="root_block_id"/>
</label>
</div>
</div>
<divclass="data-export-helptext">
{% trans "Input the username of a student if you wish to query for a specific one. Otherwise, it will grab all results for all students." %}
<divclass="data-export-field-container">
<divclass="data-export-field">
<label>
<span>{% trans "Problem types:" %}</span>
<selectname="block_types">
<optionvalue="all">All</option>
{% for label, value in block_choices.items %}
<optionvalue="{{value}}">{{label}}</option>
{% endfor %}
</select>
</label>
</div>
</div>
</div>
<divclass="data-export-field-container">
<divclass="data-export-field">
<label>
<span>{% trans "Match answers containing:" %}</span>
<inputtype="text"name="match_string"/>
</label>
</div>
<divclass="data-export-helptext">
{% trans "Input text that all answers must match (case will be ignored). Otherwise, answers will not be filtered by content." %}
<divclass="data-export-actions">
<buttonclass="data-export-start">Search</button>
</div>
</div>
</div>
<divclass="data-export-actions">
<buttonclass="data-export-start">{% trans "Start a new export" %}</button>
</div>
<divclass="data-export-results">
<h3>{% trans "Results" %}</h3>
<table>
<thead>
<tr>
...
...
@@ -73,12 +66,13 @@
</thead>
<tbody></tbody>
</table>
<divclass="data-export-info"></div>
</div>
<divclass="data-export-status"></div>
<divclass="data-export-actions">
<buttonclass="data-export-download">{% trans "Download result" %}</button>
<buttonclass="data-export-cancel">{% trans "Cancel current export" %}</button>
<buttonclass="data-export-delete">{% trans "Delete result" %}</button>
<buttonclass="data-export-download">{% trans "Download as CSV" %}</button>
<buttonclass="data-export-cancel">{% trans "Cancel search" %}</button>
<buttonclass="data-export-delete">{% trans "Delete results" %}</button>