diff --git a/covid19/static/css/covid19python.css b/covid19/static/css/covid19python.css new file mode 100644 index 0000000000000000000000000000000000000000..1d507175cca1784b8ac37c1a732261f62552c46a --- /dev/null +++ b/covid19/static/css/covid19python.css @@ -0,0 +1,2 @@ +/* (c) 2021 Thomas Woehlke <https://github.com/thomaswoehlke> */ + diff --git a/covid19/static/index.js b/covid19/static/index.js index 6105cf10d6283d1a558e906f349638268538db60..825e479f1abb1e8dc1fa7a5de27d2b7edf04d8af 100644 --- a/covid19/static/index.js +++ b/covid19/static/index.js @@ -1,4 +1,5 @@ -import '/node_modules/jquery/dist/jquery.min.js' -import '/node_modules/popper.js/dist/popper.min.js' -import '/node_modules/bootstrap/dist/js/bootstrap.min.js' -import '/node_modules/@fortawesome/fontawesome-free/js/all.min.js' \ No newline at end of file +import '/static/node_modules/jquery/dist/jquery.min.js' +import '/static/node_modules/popper.js/dist/popper.min.js' +import '/static/node_modules/bootstrap/dist/js/bootstrap.min.js' +import '/static/node_modules/@fortawesome/fontawesome-free/js/all.min.js' +import '/static/js/covid19python.js' \ No newline at end of file diff --git a/covid19/static/js/covid19python.js b/covid19/static/js/covid19python.js new file mode 100644 index 0000000000000000000000000000000000000000..1d507175cca1784b8ac37c1a732261f62552c46a --- /dev/null +++ b/covid19/static/js/covid19python.js @@ -0,0 +1,2 @@ +/* (c) 2021 Thomas Woehlke <https://github.com/thomaswoehlke> */ + diff --git a/covid19/static/styles.css b/covid19/static/styles.css index 66c2ee427229e9ca415758610f88f14bf6580022..547966cee808e44d9c1f2d59dc8785d58e5d0f8e 100644 --- a/covid19/static/styles.css +++ b/covid19/static/styles.css @@ -1,2 +1,3 @@ -@import url("/node_modules/bootstrap/dist/css/bootstrap.css"); -@import url("/node_modules/@fortawesome/fontawesome-free/css/all.css"); +@import url("/static/node_modules/bootstrap/dist/css/bootstrap.css"); +@import url("/static/node_modules/@fortawesome/fontawesome-free/css/all.css"); +@import url("/static/css/covid19python.css"); diff --git a/covid19/templates/page_layout.html b/covid19/templates/page_layout.html index 1bfce196b0e671bd2a1b7ac16928fa2e7b5f8bf1..1698f974715687f0c008efa833f222c5bcd523f9 100644 --- a/covid19/templates/page_layout.html +++ b/covid19/templates/page_layout.html @@ -3,8 +3,8 @@ <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> - <link rel="stylesheet" href="/styles.css"> - <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico"> + <link rel="stylesheet" href="/static/styles.css"> + <link rel="shortcut icon" type="image/x-icon" href="/static/favicon.ico"> <title>{{page_info.title}}</title> </head> <body> @@ -55,6 +55,6 @@ </footer> </div> - <script src="/index.js"></script> + <script src="/static/index.js"></script> </body> </html> \ No newline at end of file