-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #140 from ECE444-2023Fall/rahul-navbar-update-UI
Updated Nav Bar UI to match colour scheme
- Loading branch information
Showing
6 changed files
with
70 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<meta charset="utf-8" /> | ||
<!-- <link rel="icon" href="/favicon.ico" /> --> | ||
|
@@ -20,8 +19,8 @@ | |
<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.png') }}"> | ||
|
||
</head> | ||
<body> | ||
<body> | ||
|
||
{% block navbar %} | ||
<nav class="navbar navbar-expand-lg navbar-light bg-light custom-navbar"> | ||
<a class="navbar-brand" href="/"> | ||
|
@@ -31,26 +30,32 @@ <h3 class="nav-logo"> UofT Event<span class="hub">Hub</span> </h3> | |
<span class="navbar-toggler-icon"></span> | ||
</button> | ||
<div class="collapse navbar-collapse" id="navbarNavDropdown"> | ||
<ul class="navbar-nav mb-2 mb-lg-0" style="padding-right: 5vw;"> | ||
<li class="nav-item active"> | ||
<a class="nav-link" href="/">Home <span class="sr-only"></span></a> | ||
</li> | ||
<li class="nav-item active"> | ||
<a class="nav-link" href="/myevents">My Events <span class="sr-only"></span></a> | ||
</li> | ||
<li class="nav-item active"> | ||
<a class="nav-link" href="/user/organizers">Organizer List <span class="sr-only"></span></a> | ||
</li> | ||
</ul> | ||
<ul class="navbar-nav ms-auto mb-2 mb-lg-0" style="padding-right: 5vw;" > | ||
<li class="nav-item active"> | ||
<a class="nav-link" href="/">Home <span class="sr-only"></span></a> | ||
</li> | ||
|
||
<li class="nav-item dropdown"> | ||
<a class="nav-link dropdown-toggle" href="/" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> | ||
Profile | ||
</a> | ||
<div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink"> | ||
<a class="dropdown-item" href="/account/show">My Account</a> | ||
<a class="dropdown-item" href="/myevents">My Events</a> | ||
<a class="dropdown-item" href="/logout">Logout</a> | ||
</div> | ||
</li> | ||
<li class="nav-item dropdown"> | ||
<a class="nav-link dropdown-toggle" href="/" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> | ||
Profile | ||
</a> | ||
<div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink"> | ||
<a class="dropdown-item nav-dropdown" href="/account/show">My Account</a> | ||
<a class="dropdown-item nav-dropdown" href="/logout">Logout</a> | ||
</div> | ||
</li> | ||
</ul> | ||
</div> | ||
</nav> | ||
|
||
{% endblock %} | ||
{% endblock %} | ||
|
||
{% block content %} | ||
<div class="container welcome-card"> | ||
|
@@ -93,11 +98,10 @@ <h3 class="nav-logo"> UofT Event<span class="hub">Hub</span> </h3> | |
</div> | ||
{% endblock %} | ||
|
||
<script src="https://kit.fontawesome.com/f94828e930.js" crossorigin="anonymous"></script> <!-- For cool icons --> | ||
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script> | ||
<script src="https://kit.fontawesome.com/f94828e930.js" crossorigin="anonymous"></script> <!-- For cool icons --> | ||
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script> | ||
|
||
</body> | ||
|
||
</html> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters