Commit 957aa6c5 authored by Wai Yi Leung's avatar Wai Yi Leung

change "download" links to buttons

parent bb2dac47
package nl.lumc.sasc.biopet.pipelines.tinycap package nl.lumc.sasc.biopet.pipelines.tinycap
import nl.lumc.sasc.biopet.core.report.ReportBuilderExtension import nl.lumc.sasc.biopet.core.report.ReportBuilderExtension
import nl.lumc.sasc.biopet.core.{PipelineCommand, Reference} import nl.lumc.sasc.biopet.core.{ PipelineCommand, Reference }
import nl.lumc.sasc.biopet.extensions.HtseqCount import nl.lumc.sasc.biopet.extensions.HtseqCount
import nl.lumc.sasc.biopet.pipelines.mapping.MultisampleMappingTrait import nl.lumc.sasc.biopet.pipelines.mapping.MultisampleMappingTrait
import nl.lumc.sasc.biopet.utils.config.Configurable import nl.lumc.sasc.biopet.utils.config.Configurable
......
package nl.lumc.sasc.biopet.pipelines.tinycap package nl.lumc.sasc.biopet.pipelines.tinycap
import nl.lumc.sasc.biopet.core.report.{ReportPage, ReportSection, ReportBuilderExtension} import nl.lumc.sasc.biopet.core.report.{ ReportPage, ReportSection, ReportBuilderExtension }
import nl.lumc.sasc.biopet.pipelines.mapping.MultisampleMappingReportTrait import nl.lumc.sasc.biopet.pipelines.mapping.MultisampleMappingReportTrait
import nl.lumc.sasc.biopet.utils.config.Configurable import nl.lumc.sasc.biopet.utils.config.Configurable
/** /**
* Created by wyleung on 4-2-16. * Created by wyleung on 4-2-16.
*/ */
class TinyCapReport(val root: Configurable) extends ReportBuilderExtension { class TinyCapReport(val root: Configurable) extends ReportBuilderExtension {
def builder = TinyCapReport def builder = TinyCapReport
...@@ -21,7 +21,6 @@ object TinyCapReport extends MultisampleMappingReportTrait { ...@@ -21,7 +21,6 @@ object TinyCapReport extends MultisampleMappingReportTrait {
override def pipelineName = "tinycap" override def pipelineName = "tinycap"
/** Root page for the carp report */ /** Root page for the carp report */
override def indexPage = { override def indexPage = {
...@@ -57,6 +56,4 @@ object TinyCapReport extends MultisampleMappingReportTrait { ...@@ -57,6 +56,4 @@ object TinyCapReport extends MultisampleMappingReportTrait {
) )
} }
} }
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
<button type="button" class="btn btn-info" data-toggle="collapse" data-target="#alignmentSummaryTable"> <button type="button" class="btn btn-info" data-toggle="collapse" data-target="#alignmentSummaryTable">
<i class="glyphicon glyphicon-eye-open"></i> Show table</button> <i class="glyphicon glyphicon-eye-open"></i> Show table</button>
#end #end
<button type="button" class="btn btn-info"><i class="glyphicon glyphicon-cloud-download"> <a href="alignmentSummary.tsv">TSV file</a></i></button> <a href="alignmentSummary.tsv"><button type="button" class="btn btn-info"><i class="glyphicon glyphicon-cloud-download"></i> TSV file</button></a>
</div> </div>
#end #end
<div class="panel-body collapse #if (showTable)in#end" id="alignmentSummaryTable"> <div class="panel-body collapse #if (showTable)in#end" id="alignmentSummaryTable">
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
#else #else
<button type="button" class="btn btn-info" data-toggle="collapse" data-target="#rnaTable">Show table</button> <button type="button" class="btn btn-info" data-toggle="collapse" data-target="#rnaTable">Show table</button>
#end #end
<i class="glyphicon glyphicon-file"></i> <a href="rna.tsv">tsv file</a> <a href="rna.tsv"><button type="button" class="btn btn-info"><i class="glyphicon glyphicon-cloud-download"></i> TSV file</button></a>
</div> </div>
#end #end
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
#else #else
<button type="button" class="btn btn-info" data-toggle="collapse" data-target="#wgsTable">Show table</button> <button type="button" class="btn btn-info" data-toggle="collapse" data-target="#wgsTable">Show table</button>
#end #end
<i class="glyphicon glyphicon-file"></i> <a href="wgs.tsv">tsv file</a> <a href="wgs.tsv"><button type="button" class="btn btn-info"><i class="glyphicon glyphicon-cloud-download"></i> TSV file</button></a>
</div> </div>
#end #end
......
...@@ -76,8 +76,10 @@ ...@@ -76,8 +76,10 @@
#else #else
<button type="button" class="btn btn-info" data-toggle="collapse" data-target="#QC_BasesTable">Show table</button> <button type="button" class="btn btn-info" data-toggle="collapse" data-target="#QC_BasesTable">Show table</button>
#end #end
<i class="glyphicon glyphicon-file"></i> <a href="QC_Bases_R1.tsv">R1 reads stats</a> -
<i class="glyphicon glyphicon-file"></i> <a href="QC_Bases_R2.tsv">R2 reads stats</a> <a href="QC_Bases_R1.tsv"><button type="button" class="btn btn-info"><i class="glyphicon glyphicon-cloud-download"></i> R1 base stats</button></a>
<a href="QC_Bases_R2.tsv"><button type="button" class="btn btn-info"><i class="glyphicon glyphicon-cloud-download"></i> R2 base stats</button></a>
</div> </div>
#end #end
......
...@@ -82,8 +82,10 @@ ...@@ -82,8 +82,10 @@
#else #else
<button type="button" class="btn btn-info" data-toggle="collapse" data-target="#QC_ReadsTable">Show table</button> <button type="button" class="btn btn-info" data-toggle="collapse" data-target="#QC_ReadsTable">Show table</button>
#end #end
<i class="glyphicon glyphicon-file"></i> <a href="QC_Reads_R1.tsv">R1 reads stats</a> -
<i class="glyphicon glyphicon-file"></i> <a href="QC_Reads_R2.tsv">R2 reads stats</a> <a href="QC_Reads_R1.tsv"><button type="button" class="btn btn-info"><i class="glyphicon glyphicon-cloud-download"></i> R1 reads stats</button></a>
<a href="QC_Reads_R2.tsv"><button type="button" class="btn btn-info"><i class="glyphicon glyphicon-cloud-download"></i> R2 reads stats</button></a>
</div> </div>
#end #end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment