Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mirrors
biopet.biopet
Commits
45e9dd42
Commit
45e9dd42
authored
Jul 17, 2015
by
Wai Yi Leung
Browse files
Add scrollspy to the reports
parent
e88b3068
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/biopet-framework/src/main/resources/nl/lumc/sasc/biopet/core/report/main.ssp
View file @
45e9dd42
...
...
@@ -70,9 +70,13 @@
<script
language=
"JavaScript"
>
<!--
$
(
document
).
ready
(
function
()
{
Sortable
.
init
()
Sortable
.
init
()
$
(
'
body
'
).
scrollspy
({
target
:
'
.bs-sidebar
'
,
});
});
//-->
</script>
</head>
...
...
@@ -129,7 +133,7 @@
<div
class=
"container-fluid"
>
<div
class=
"row"
>
<div
id=
"side-nav"
class=
"col-sm-3 col-md-2 sidebar"
>
<ul
class=
"nav nav-sidebar nav-list"
>
<ul
class=
"nav nav-sidebar nav-list
bs-sidebar
"
>
#for ((name, url)
<-
page.sections
)
<
li
><a
href=
"#${name}"
>
${name}
</a></li>
#end
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment