diff --git a/public/biopet-framework/src/main/resources/nl/lumc/sasc/biopet/core/report/librariesList.ssp b/public/biopet-framework/src/main/resources/nl/lumc/sasc/biopet/core/report/librariesList.ssp new file mode 100644 index 0000000000000000000000000000000000000000..2f0a235057f6e37af988d859e0c64b47f5fcfd26 --- /dev/null +++ b/public/biopet-framework/src/main/resources/nl/lumc/sasc/biopet/core/report/librariesList.ssp @@ -0,0 +1,13 @@ +#import(nl.lumc.sasc.biopet.core.summary.Summary) +#import(nl.lumc.sasc.biopet.core.report.ReportPage) +<%@ var summary: Summary %> +<%@ var rootPath: String %> +<%@ var sampleId: Option[String] = None %> + + + +#for (lib <- summary.libraries(sampleId.get)) + +#end + +
Libraries
${lib}
\ No newline at end of file diff --git a/public/biopet-framework/src/main/resources/nl/lumc/sasc/biopet/core/report/main.ssp b/public/biopet-framework/src/main/resources/nl/lumc/sasc/biopet/core/report/main.ssp index af9ccaf31567a74b06f81c41e9df76139e50f42c..92b23b1b48e8554e287455b772f2e02ddd5ff227 100644 --- a/public/biopet-framework/src/main/resources/nl/lumc/sasc/biopet/core/report/main.ssp +++ b/public/biopet-framework/src/main/resources/nl/lumc/sasc/biopet/core/report/main.ssp @@ -6,9 +6,9 @@ <%@ var page: ReportPage %> <%@ var path: List[String] %> <%@ var args: Map[String, Any] %> -#{ - val rootPath = "./" + Array.fill(path.size)("../").mkString("") +<%@ var rootPath: String %> +#{ def createMenu(page: ReportPage, path: List[String] = Nil): String = { val buffer: StringBuffer = new StringBuffer() buffer.append("