Skip to content

Commit

Permalink
Removes download buttons.
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Norling committed May 22, 2018
1 parent bfb2a3d commit c5c1fc0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
4 changes: 2 additions & 2 deletions frontend/src/js/directive.coverage.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
restrict: "A",
link: function(scope, element, attrs) {
var ctx = element[0].getContext('2d');
const hitCanvas = document.createElement('canvas');

// Create hit-canvas for mouseover annotations
const hitCanvas = document.createElement('canvas');
hitCanvas.width = ctx.canvas.clientWidth;
hitCanvas.height = ctx.canvas.clientHeight;

const hitCtx = hitCanvas.getContext('2d');
const colorHash = {};

Expand Down
14 changes: 0 additions & 14 deletions frontend/templates/ng-templates/browser-coverage_plot.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,25 +38,11 @@ <h3>Gene summary</h3>
</div>
</div>

<div class="col-md-4 offset-md-8">

<div>

</div>
</div>
<div class="col-md-12">
<canvas id="canvas" width="1000" height="300" coverage></canvas>
<div class="position-absolute panel panel-default col-md-3" id="infoPanel">
<div class="panel-body" id="infoPanelInfo">
</div>
</div>
</div>
<div class="col-md-6 offset-md-1">
<a class="btn btn-success" target="_blank" download="{{ plot_id }}_coverage">
Save coverage plot
</a>
<a class="btn btn-success" id="exon_plot_download" target="_blank" download="{{ plot_id }}_exon">
Save exon image
</a>
</div>
</div>

0 comments on commit c5c1fc0

Please sign in to comment.