74 lines
1.8 KiB
HTML
74 lines
1.8 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
{% include head.html %}
|
|
<script>
|
|
$(document).ready(function() {
|
|
// Initialize navgoco with default options
|
|
$("#mysidebar").navgoco({
|
|
caretHtml: '',
|
|
accordion: true,
|
|
openClass: 'active', // open
|
|
save: false, // leave false or nav highlighting doesn't work right
|
|
cookie: {
|
|
name: 'navgoco',
|
|
expires: false,
|
|
path: '/'
|
|
},
|
|
slide: {
|
|
duration: 400,
|
|
easing: 'swing'
|
|
}
|
|
});
|
|
|
|
$("#collapseAll").click(function(e) {
|
|
e.preventDefault();
|
|
$("#mysidebar").navgoco('toggle', false);
|
|
});
|
|
|
|
$("#expandAll").click(function(e) {
|
|
e.preventDefault();
|
|
$("#mysidebar").navgoco('toggle', true);
|
|
});
|
|
});
|
|
|
|
$(function () {
|
|
$('[data-toggle="tooltip"]').tooltip()
|
|
})
|
|
</script>
|
|
{% if page.datatable %}
|
|
<link rel="stylesheet" type="text/css" href="//cdn.datatables.net/1.10.5/css/jquery.dataTables.css">
|
|
<script type="text/javascript" charset="utf8" src="//cdn.datatables.net/1.10.5/js/jquery.dataTables.js"></script>
|
|
<script>
|
|
$(document).ready(function(){
|
|
$('table.datatable').DataTable( {
|
|
paging: false,
|
|
stateSave: true
|
|
}
|
|
);
|
|
</script>
|
|
{% endif %}
|
|
</head>
|
|
<body>
|
|
{% include topnav.html %}
|
|
<div class="container"> <!-- Page Content -->
|
|
<div class="col-lg-12">
|
|
|
|
</div>
|
|
<div class="row"> <!-- Content Row -->
|
|
{% include sidebar.html collection=page.collection %}
|
|
<div class="col-md-9"> <!-- Content Column -->
|
|
{{ content }}
|
|
</div> <!-- /.row -->
|
|
</div> <!-- /.container -->
|
|
</div>
|
|
<script>
|
|
jQuery(function ($) {
|
|
$('.post-content').annotator()
|
|
.annotator('setupPlugins', { tokenUrl: 'http://example.com/api/token' });
|
|
});
|
|
</script>
|
|
{% include google_analytics.html %}
|
|
</body>
|
|
</html>
|