Commit 9e81b5cc authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

code style

parent 3cf5aec9
......@@ -7,7 +7,6 @@
<%@ var path: List[String] %>
<%@ var args: Map[String, Any] %>
<%@ var rootPath: String %>
#{
def createMenu(page: ReportPage, path: List[String] = Nil): String = {
val buffer: StringBuffer = new StringBuffer()
......@@ -95,22 +94,17 @@
</ul>
</div>
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
#for ((name, url) <- page.sections)
#for ((name, section) <- page.sections)
<a id="${name}"></a>
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title" id="panel-title">
${name}
</h3>
</div>
${unescape(url.render(args))}
<div class="panel-heading">
<h3 class="panel-title" id="panel-title">
${name}
</h3>
</div>
${unescape(section.render(args))}
</div>
<section id="${name}">
</section>
#end
</div>
</div>
......
Supports Markdown
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