2015-06-22 12:02:14 +00:00
|
|
|
<div id="help-content" class="generic-content-wrapper">
|
2016-12-10 20:33:29 +00:00
|
|
|
<div class="section-title-wrapper">
|
2016-12-22 14:20:02 +00:00
|
|
|
<h2>{{$title}}: {{$heading}}</h2>
|
2015-06-22 12:02:14 +00:00
|
|
|
</div>
|
2016-11-28 04:25:38 +00:00
|
|
|
<div class="section-content-wrapper" id="doco-content">
|
2016-12-22 14:20:02 +00:00
|
|
|
<h3 id="doco-top-toc-heading">
|
|
|
|
<span class="fakelink" onclick="docoTocToggle(); return false;">
|
2017-03-12 21:21:49 +00:00
|
|
|
<i class="fa fa-fw fa-caret-right fakelink" id="doco-toc-toggle"></i>
|
2016-12-22 14:20:02 +00:00
|
|
|
{{$tocHeading}}
|
|
|
|
</span>
|
|
|
|
</h3>
|
|
|
|
<ul id="doco-top-toc" style="margin-bottom: 1.5em; display: none;"></ul>
|
|
|
|
{{$content}}
|
2015-06-22 12:02:14 +00:00
|
|
|
</div>
|
2014-03-12 17:13:58 +00:00
|
|
|
</div>
|
2016-12-09 02:41:04 +00:00
|
|
|
|
|
|
|
<script>
|
|
|
|
// Generate the table of contents in the side nav menu (see view/tpl/help.tpl)
|
|
|
|
$(document).ready(function () {
|
2016-12-20 03:12:08 +00:00
|
|
|
$('#doco-top-toc').toc({content: "#doco-content", headings: "h3,h4,h5,h6"});
|
2016-12-09 02:41:04 +00:00
|
|
|
});
|
2016-12-10 03:18:23 +00:00
|
|
|
|
|
|
|
function docoTocToggle() {
|
|
|
|
if($('#doco-top-toc').is(':visible')) {
|
2017-03-10 16:02:55 +00:00
|
|
|
$('#doco-toc-toggle').removeClass('fa-cog').addClass('fa-caret-right');
|
2016-12-10 03:18:23 +00:00
|
|
|
} else {
|
2017-03-12 21:21:49 +00:00
|
|
|
$('#doco-toc-toggle').removeClass('fa-caret-right').addClass('fa-caret-down');
|
2016-12-10 03:18:23 +00:00
|
|
|
}
|
|
|
|
$('#doco-top-toc').toggle();
|
|
|
|
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
</script>
|