summaryrefslogtreecommitdiffhomepage
path: root/resources/pug/finals
diff options
context:
space:
mode:
Diffstat (limited to 'resources/pug/finals')
-rw-r--r--resources/pug/finals/index.pug26
-rw-r--r--resources/pug/finals/publications.pug2
2 files changed, 13 insertions, 15 deletions
diff --git a/resources/pug/finals/index.pug b/resources/pug/finals/index.pug
index 7ff99b2..041e2ec 100644
--- a/resources/pug/finals/index.pug
+++ b/resources/pug/finals/index.pug
@@ -6,23 +6,23 @@ block extra_head
block titleContainer
block append js
- script(src='/assets/js/jquery.slim.min.js')
- script(src='/assets/js/scrollspy.min.js')
+ script(src='/assets/js/bootstrap.min.js')
- script $('body').scrollspy({target: '#sticky-nav'});
+ script new bootstrap.ScrollSpy(document.body, {target: '#sticky-nav'});
block content
#sticky-nav
- ul.nav.nav-pills
- li(role='presentation') #[a(href='#introduction') Introduction]
- li(role='presentation') #[a(href='#publications') Publications]
- li(role='presentation') #[a(href='#talks') Talks]
- li(role='presentation') #[a(href='#projects') Software projects]
- li(role='presentation') #[a(href='#teaching') Teaching]
- li(role='presentation') #[a(href='#service') Service]
- li(role='presentation') #[a(href='#grants') Grants]
- li(role='presentation') #[a(href='#employment') Employment]
- li(role='presentation') #[a(href='#education') Education]
+ ul.nav.flex-column.nav-pills
+ li.nav-item(role='presentation') #[a.nav-link(href='#introduction') Introduction]
+ li.nav-item(role='presentation') #[a.nav-link(href='#publications') Publications]
+ li.nav-item(role='presentation') #[a.nav-link(href='#talks') Talks]
+ li.nav-item(role='presentation') #[a.nav-link(href='#service') Service]
+ li.nav-item(role='presentation') #[a.nav-link(href='#statistics') Statistics]
+ li.nav-item(role='presentation') #[a.nav-link(href='#projects') Software projects]
+ li.nav-item(role='presentation') #[a.nav-link(href='#teaching') Teaching]
+ li.nav-item(role='presentation') #[a.nav-link(href='#grants') Grants]
+ li.nav-item(role='presentation') #[a.nav-link(href='#employment') Employment]
+ li.nav-item(role='presentation') #[a.nav-link(href='#education') Education]
.container#content
header#introduction
diff --git a/resources/pug/finals/publications.pug b/resources/pug/finals/publications.pug
index e88db1f..6a46390 100644
--- a/resources/pug/finals/publications.pug
+++ b/resources/pug/finals/publications.pug
@@ -109,7 +109,6 @@ block content
chart: {
spacingLeft: 0,
spacingRight: 0,
- style: {fontSize: '1.5rem'},
zooming: {type: 'x'},
},
scrollbar: {
@@ -175,7 +174,6 @@ block content
type: 'scatter',
spacingLeft: 0,
spacingRight: 0,
- style: {fontSize: '1.5rem'},
},
title: null,
xAxis: [{