Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,13 @@ import GermlineLables from 'Scripts/utilities/germline-labels/germline-labels.js
import airrkb_filter_query_template from 'Templates/util/airrkb-filter-query.html';
import airrkb_filter_query_template_2 from 'Templates/util/airrkb-filter-query-2.html';
import airrkb_filter_query_template_3 from 'Templates/util/airrkb-filter-query-3.html';
import airrkb_filter_query_template_4 from 'Templates/util/airrkb-filter-query-4.html';
export default Marionette.View.extend({
templates: {
horizontal: Handlebars.compile(airrkb_filter_query_template),
vertical: Handlebars.compile(airrkb_filter_query_template_2),
horizontal_ig: Handlebars.compile(airrkb_filter_query_template_3),
vertical_ig: Handlebars.compile(airrkb_filter_query_template_4),
},

initialize(parameters) {
Expand All @@ -58,6 +60,7 @@ export default Marionette.View.extend({
if (EnvironmentConfig.airrkb.filter.layout == "horizontal") {this.template = this.templates.horizontal;}
if (EnvironmentConfig.airrkb.filter.layout == "vertical") {this.template = this.templates.vertical;}
if (EnvironmentConfig.airrkb.filter.layout == "horizontal-ig") {this.template = this.templates.horizontal_ig;}
if (EnvironmentConfig.airrkb.filter.layout == "vertical-ig") {this.template = this.templates.vertical_ig;}
},

templateContext() {
Expand Down
4 changes: 2 additions & 2 deletions component/app/templates/util/airrkb-filter-query-2.html
Original file line number Diff line number Diff line change
Expand Up @@ -305,14 +305,14 @@
</div>
</div>
</div>
<div class="row row-space">
<!-- <div class="row row-space">
<div class="col label-center">
<div class="custom-control custom-switch switch-right both-chain-select">
<input type="checkbox" class="custom-control-input" id="paired-chain-only" name="paired-chain-only" value="true" {{#ifEquals filters.paired-chain-only "true"}}checked{{/ifEquals}}>
<label class="custom-control-label" for="paired-chain-only"><b>Return only paired chain data</b></label>
</div>
</div>
</div>
</div> -->

</div>

Expand Down
Loading