diff --git a/static/old/it1/js/navbar.js b/static/old/it1/js/navbar.js index 636faa3..5e6f00f 100644 --- a/static/old/it1/js/navbar.js +++ b/static/old/it1/js/navbar.js @@ -1,18 +1,15 @@ $('#navbar').parent().html(` `) @@ -21,7 +18,7 @@ var signout = function() { firebase.auth() .signOut() .then(function() { - document.location.href = '/it1/' + document.location.href = '/old/it1/' }).catch(function(error) { alert('could not log out: '+error.message) }) @@ -32,7 +29,7 @@ firebase.auth().onAuthStateChanged(function(user) { $('#login-btn').attr('href', 'javascript: signout()') $('#login-btn').html('Logout') } else { - $('#login-btn').attr('href', '/it1/bruker/') + $('#login-btn').attr('href', '/old/it1/bruker/') $('#login-btn').html('Login') } }) diff --git a/static/old/it1/navbar/navbar.css b/static/old/it1/navbar/navbar.css deleted file mode 100644 index 8c800b6..0000000 --- a/static/old/it1/navbar/navbar.css +++ /dev/null @@ -1,4 +0,0 @@ - -li.right > ul { /* TODO: FIX! */ - align-content: right; -} diff --git a/static/old/it1/navbar/navbar.html b/static/old/it1/navbar/navbar.html deleted file mode 100644 index f6a91ee..0000000 --- a/static/old/it1/navbar/navbar.html +++ /dev/null @@ -1,33 +0,0 @@ - - -
-