aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/help.tpl
blob: 2faaa38534579012e12b1473896947dbe7bb4e06 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<div id="help-content" class="generic-content-wrapper">
	<div class="section-title-wrapper" style="display: none;">
	<h2>{{$title}}</h2>
	</div>
	<div class="section-content-wrapper" id="doco-content">
	<h1>Contents</h1>
	<ul id="doco-top-toc"></ul>
	<hr>
	{{$content}}
	</div>
</div>

<script>

	// Generate the table of contents in the side nav menu (see view/tpl/help.tpl)
	$(document).ready(function () {

		$('#doco-top-toc').toc({content: "#doco-content", headings: "h1,h2,h3,h4"});

	});

</script>