diff --git a/components/navbar.html b/components/navbar.html index 1785fbe..ad72c89 100644 --- a/components/navbar.html +++ b/components/navbar.html @@ -53,11 +53,11 @@ - + <% if (user) { %> <%= user.personaname %> @@ -71,19 +71,18 @@ <% } %> - + if (localStorage.getItem("theme") === "black") document.getElementById("themeSelector").checked = "checked"; + else document.getElementById("themeSelector").checked = null; + \ No newline at end of file diff --git a/views/admin.ejs b/views/admin.ejs index 8b2f2ab..06b9e90 100644 --- a/views/admin.ejs +++ b/views/admin.ejs @@ -25,6 +25,9 @@ diff --git a/views/stats.ejs b/views/stats.ejs index 0c3e522..de42734 100644 --- a/views/stats.ejs +++ b/views/stats.ejs @@ -24,10 +24,16 @@ -ms-overflow-style: none; } + + <% include ../components/navbar.html %> +
diff --git a/views/upload.ejs b/views/upload.ejs index 60988e8..23fbb64 100644 --- a/views/upload.ejs +++ b/views/upload.ejs @@ -24,6 +24,11 @@ -ms-overflow-style: none; } + +