This repository has been archived by the owner on Aug 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
540f640
commit fdcc76e
Showing
3 changed files
with
22 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,17 @@ | ||
<script type="text/javascript"> | ||
var columnFiltersForReport{{ report_id }} = JSON.parse('{{ column_filters | tojson | safe }}'); | ||
var columnFiltersForReport{{ report_id }} = JSON.parse('{{ column_filters | tojson | safe }}'); | ||
</script> | ||
|
||
{% set col_filter_id = "{}_col_filter".format(report_id) %} | ||
|
||
<div class="skrubview-wrapper"> | ||
<label for="{{ col_filter_id }}">Show: </label> | ||
<select id="{{ col_filter_id }}" onchange='onFilterChange("{{ col_filter_id }}")' data-report-id="{{ report_id }}" autocomplete="off"> | ||
<select id="{{ col_filter_id }}" class="skrubview-col-filter-select" | ||
onchange='onFilterChange("{{ col_filter_id }}")' | ||
data-report-id="{{ report_id }}" autocomplete="off"> | ||
{% for filter_name in column_filters %} | ||
<option value="{{ filter_name }}" {{ "selected" if filter_name == "all()" }}>{{ column_filters[filter_name]["display_name"] }}</option> | ||
<option value="{{ filter_name }}" {{ "selected" if filter_name == "all()" }}> | ||
{{ column_filters[filter_name]["display_name"] }}</option> | ||
{% endfor %} | ||
</select> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,6 @@ | ||
No columns match the selected filter: <strong class="skrubview-selected-filter-display"></strong>. Change the column filter in the dropdown menu above to display some columns. | ||
<p> | ||
No columns match the selected filter: <strong class="skrubview-selected-filter-display"></strong>. You can change the column filter in the dropdown menu above. | ||
</p> | ||
<p> | ||
<button onclick="clearColFilter(event)">Show all columns</button>. | ||
</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters