diff --git a/ProjectSourceCode/src/resources/css/navigation-bar/navigation-bar.css b/ProjectSourceCode/src/resources/css/navigation-bar/navigation-bar.css index 505c36a..a326f40 100644 --- a/ProjectSourceCode/src/resources/css/navigation-bar/navigation-bar.css +++ b/ProjectSourceCode/src/resources/css/navigation-bar/navigation-bar.css @@ -43,6 +43,7 @@ img { width: 28px; height: auto; + max-height: 30px; margin: 0 4px; cursor: pointer; diff --git a/ProjectSourceCode/src/resources/img/club-page/cant-favorite.png b/ProjectSourceCode/src/resources/img/club-page/cant-favorite.png new file mode 100644 index 0000000..658a01f Binary files /dev/null and b/ProjectSourceCode/src/resources/img/club-page/cant-favorite.png differ diff --git a/ProjectSourceCode/src/resources/img/grass-background.jpeg b/ProjectSourceCode/src/resources/img/grass-background.jpeg deleted file mode 100644 index 620ec2c..0000000 Binary files a/ProjectSourceCode/src/resources/img/grass-background.jpeg and /dev/null differ diff --git a/ProjectSourceCode/src/resources/img/grass-background.png b/ProjectSourceCode/src/resources/img/grass-background.png deleted file mode 100644 index 32ced85..0000000 Binary files a/ProjectSourceCode/src/resources/img/grass-background.png and /dev/null differ diff --git a/ProjectSourceCode/src/resources/js/account-info/favorite-team.js b/ProjectSourceCode/src/resources/js/account-info/favorite-team.js deleted file mode 100644 index e69de29..0000000 diff --git a/ProjectSourceCode/src/resources/js/registry-page/selectFunctions.js b/ProjectSourceCode/src/resources/js/registry-page/selectFunctions.js deleted file mode 100644 index 6397b13..0000000 --- a/ProjectSourceCode/src/resources/js/registry-page/selectFunctions.js +++ /dev/null @@ -1,37 +0,0 @@ -const league_select = document.getElementById('league_dropdown'); -const team_select = document.getElementById('team_dropdown'); - -document.addEventListener("DOMContentLoaded", function() { - - league_select.addEventListener('change', updateTeamSelect); - - function updateTeamSelect() { - var selectedLeague = league_select.value; - - team_select.innerHTML = ""; - console.log(selectedLeague); - // Add options based on the selected value from the first select element - if (selectedLeague === "La Liga") { - // Add options for La Liga - console.log("Hello"); - - addOption(team_select, "Option 1 for LL", "option1A"); - addOption(team_select, "Option 2 for LL", "option2A"); - } else if (selectedLeague === "Serie A") { - // Add options for Serie A - addOption(team_select, "Team 1 in Serie A", "option1B"); - addOption(team_select, "Team 2 in Serie A", "option2B"); - } else if (selectedLeague === "Bundesliga") { - // Add options for Bundesliga - addOption(team_select, "Option 1 for Bun", "option1C"); - addOption(team_select, "Option 2 for Bun", "option2C"); - } - } - - function addOption(selectElement, text, value) { - var option = document.createElement("option"); - option.text = text; - option.value = value; - selectElement.add(option); - } -}); \ No newline at end of file diff --git a/ProjectSourceCode/src/views/pages/clubs-page.hbs b/ProjectSourceCode/src/views/pages/clubs-page.hbs index f5e1425..c257570 100644 --- a/ProjectSourceCode/src/views/pages/clubs-page.hbs +++ b/ProjectSourceCode/src/views/pages/clubs-page.hbs @@ -5,14 +5,16 @@

{{club.name}}

{{club.name}} Flag + {{#if user}} - {{#if isFav}} - Favorite Button + {{#if isFav}} + Favorite Button + {{else}} + Favorite Button + {{/if}} + {{else}} - Favorite Button - {{/if}} - {{else}} - Please sign in + {{/if}} diff --git a/ProjectSourceCode/src/views/pages/register.hbs b/ProjectSourceCode/src/views/pages/register.hbs index 3047b6f..8fb98e1 100644 --- a/ProjectSourceCode/src/views/pages/register.hbs +++ b/ProjectSourceCode/src/views/pages/register.hbs @@ -17,28 +17,6 @@ - @@ -47,7 +25,5 @@

Already have an account? Login

- - diff --git a/ProjectSourceCode/src/views/partials/navigation-bar/nav.hbs b/ProjectSourceCode/src/views/partials/navigation-bar/nav.hbs index 3c222c6..2249bc1 100644 --- a/ProjectSourceCode/src/views/partials/navigation-bar/nav.hbs +++ b/ProjectSourceCode/src/views/partials/navigation-bar/nav.hbs @@ -14,10 +14,19 @@