Allow report options to be pulled using AJAX. Ajax is cool.

This commit is contained in:
James Cole
2016-11-09 19:25:09 +01:00
parent f0e0cdb49b
commit fe57648349
5 changed files with 47 additions and 4 deletions

View File

@@ -26,6 +26,7 @@
<select name="report_type" class="form-control" id="inputReportType">
<option selected label="{{ 'report_type_default'|_ }}" value="default">{{ 'report_type_default'|_ }}</option>
<option label="{{ 'report_type_audit'|_ }}" value="audit">{{ 'report_type_audit'|_ }}</option>
<option label="{{ 'report_type_category'|_ }}" value="category">{{ 'report_type_category'|_ }}</option>
</select>
</div>
</div>
@@ -86,10 +87,7 @@
<div class="box-header with-border">
<h3 class="box-title">{{ 'reports_extra_options'|_ }}</h3>
</div>
<div class="box-body">
<p id="no_extra_options">
<em>{{ 'report_has_no_extra_options'|_ }}</em>
</p>
<div class="box-body loading" id="extra-options">
</div>
</div>