Skip to content

Commit

Permalink
Fix tab layout in report by removing extra closing div tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Colelyman committed Sep 2, 2022
1 parent 848ee21 commit 7d9b4e5
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions templates/report.html
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ <h5>Global splicing analysis</h5>
</div>
{% endif %}
{# end of global coding sequence analysis #}

{# start hdr summary #}
{% if report_data['figures']['locs'][report_data.amplicons[0]]['plot_4g'] %}
<div class='card text-center mb-2'>
Expand Down Expand Up @@ -199,7 +199,7 @@ <h5>Prime editing summary plots at analysis positions (aligned to {{report_data.
{% endfor %}
</div>
</div>
{% endif %}
{% endif %}
{# end plot 11b for prime editing #}

{% if report_data['figures']['locs']['plot_11c'] %}
Expand Down Expand Up @@ -271,7 +271,7 @@ <h5>Nucleotide composition for {{amplicon_name}}</h5>
<div class="d-lg-none" style="overflow-x:scroll;overflow-y:hidden;position:absolute;width:100%;height:100%">
<img src="{{report_data['crispresso_data_path']}}{{report_data['figures']['locs'][amplicon_name]['plot_2a']}}.png" style='height:100%'>
</div>
</div>
</div>
<div style='position:relative;display:inline-block;width:95%'>
<a href="{{report_data['crispresso_data_path']}}{{report_data['figures']['locs'][amplicon_name]['plot_2a']}}.pdf">
<div id='zoomlens_nucs_{{amplicon_name}}' class="d-none d-lg-block" style='float: left;position: absolute;left: 0px;top: 0px;z-index: 1000;border: 1px solid #DDDDDD;height:100%;width:10%'></div>
Expand All @@ -284,19 +284,15 @@ <h5>Nucleotide composition for {{amplicon_name}}</h5>
{% for (data_label,data_path) in report_data['figures']['datas'][amplicon_name]['plot_2a'] %}
<p class="m-0"><small>Data: <a href="{{report_data['crispresso_data_path']}}{{data_path}}">{{data_label}}</a></small></p>
{% endfor %}
</div>
</div>
{% endif %}

{% if report_data['figures']['sgRNA_based_names'][amplicon_name] and report_data['figures']['sgRNA_based_names'][amplicon_name]['2b']%}
<div>
{% for fig_name in report_data['figures']['sgRNA_based_names'][amplicon_name]['2b'] %}
{{ render_partial('shared/partials/fig_reports.html', report_data=report_data, fig_name=fig_name, amplicon_name=amplicon_name)}}
{% endfor %}
</div>
{% endif %}
</div>
</div> {# end card #}
</div>
</div> {# end card #}

<div class='card text-center mb-2'>
<div class='card-header'>
Expand Down

0 comments on commit 7d9b4e5

Please sign in to comment.