File tree Expand file tree Collapse file tree 3 files changed +31
-6
lines changed Expand file tree Collapse file tree 3 files changed +31
-6
lines changed Original file line number Diff line number Diff line change @@ -21,13 +21,25 @@ body {
2121 padding : 20px ;
2222 width : 86% ;
2323 height : 100vh ;
24+ min-height : 100vh ;
2425 box-sizing : border-box;
2526 overflow-x : hidden;
2627 transition : top 0.5s ease;
2728 flex : 1 ;
2829 overflow-y : auto;
2930}
3031
32+ # content > .footnote {
33+ font-size : 14px ;
34+ color : # 777 ;
35+ background-color : # f9f9f9 ;
36+ }
37+
38+ .footnote a {
39+ color : # 0056b3 ;
40+ text-decoration : none;
41+ }
42+
3143.iframe-style {
3244 width : 100% ;
3345 height : 100% ;
Original file line number Diff line number Diff line change @@ -4,6 +4,21 @@ import { updateSidebarButtons } from './modules/utils.js';
44
55const moduleObjects = { } ;
66
7+ function addFootnote ( ) {
8+ const content = document . getElementById ( 'content' ) ;
9+
10+ const footnote = document . createElement ( 'div' ) ;
11+ footnote . className = 'footnote' ;
12+ footnote . innerHTML = `
13+ <p>
14+ TaskVine Report Tool available on GitHub:
15+ <a href="https://github.com/cooperative-computing-lab/taskvine-report-tool.git" target="_blank">https://github.com/cooperative-computing-lab/taskvine-report-tool.git</a>.
16+ </p>
17+ ` ;
18+
19+ content . appendChild ( footnote ) ;
20+ }
21+
722async function fetchAllModulesData ( folder ) {
823 try {
924 const tasks = moduleConfigs . map ( ( { id } ) => {
@@ -52,4 +67,7 @@ document.addEventListener('DOMContentLoaded', () => {
5267
5368 /* update sidebar buttons */
5469 updateSidebarButtons ( ) ;
70+
71+ /* add footnote */
72+ addFootnote ( ) ;
5573} ) ;
Original file line number Diff line number Diff line change 7070 </ div >
7171
7272 < div id ="content ">
73- <!-- handled in module_definitions.js -->
74- < div class ="footnote ">
75- < p >
76- TaskVine Report Tool available on < a href ="https://github.com/cooperative-computing-lab/taskvine-report-tool.git " target ="_blank "> Github</ a > .
77- </ p >
78- </ div >
73+
7974 </ div >
8075
8176</ body >
You can’t perform that action at this time.
0 commit comments