Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Q
Quarto Presentation Template
Manage
Activity
Members
Labels
Plan
Issues
2
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RC Data Science
Researcher Training
Quarto Presentation Template
Merge requests
!2
fix footer and menu
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
fix footer and menu
bhbelay/quarto-presentation-template:feat_footer_and_menu
into
main
Overview
0
Commits
3
Pipelines
0
Changes
3
Merged
Birhanu Belay
requested to merge
bhbelay/quarto-presentation-template:feat_footer_and_menu
into
main
7 months ago
Overview
0
Commits
3
Pipelines
0
Changes
3
Expand
Fixing the footer removal on the title page slide.
Moving the menu button to the top-left corner.
Centering the title of each slide.
Fixes
#1 (closed)
Edited
7 months ago
by
Birhanu Belay
👍
0
👎
0
Merge request reports
Viewing commit
d8c0462b
Prev
Next
Show latest version
3 files
+
44
−
5
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
d8c0462b
fix footer and menu
· d8c0462b
bdu-birhanu
authored
7 months ago
runtime/includes/footer.html
+
30
−
3
Options
@@ -4,9 +4,36 @@
</div>
<div
class=
"footer-center"
>
Research Computing -
<a
class=
"support-link"
href=
"https://docs.rc.uab.edu"
>
https://docs.rc.uab.edu
</a
>
<a
class=
"support-link"
href=
"https://docs.rc.uab.edu"
>
https://docs.rc.uab.edu
</a>
</div>
<div
class=
"footer-right"
>
©
UAB
</div>
</div>
<script>
//execute the function () {...} only when the entire HTML document (DOM)loaded
document
.
addEventListener
(
"
DOMContentLoaded
"
,
function
()
{
// Function to check the current slide
function
checkSlide
()
{
var
titleSlide
=
document
.
querySelector
(
"
section#title-slide
"
);
var
customFooter
=
document
.
querySelector
(
"
.uabfooter
"
);
if
(
customFooter
)
{
// Check if the current slide is the title slide
var
currentSlide
=
document
.
querySelector
(
"
.reveal .slides .present
"
);
if
(
currentSlide
===
titleSlide
)
{
customFooter
.
style
.
display
=
"
none
"
;
// Hide footer on title slide
}
else
{
customFooter
.
style
.
display
=
"
flex
"
;
// Show footer on other slides
}
}
}
// Call fun "checkSlide", initial check on load whether it is error free
checkSlide
();
// Check the slide when it changes
Reveal
.
on
(
'
slidechanged
'
,
function
(
event
)
{
checkSlide
();
});
});
</script>
Loading