-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Upgraded to bootstrap v4 beta2 - Removed bootstrap JS - Added ng-bootstrap - Fixed menu (now works with mobile devices) as per example of ng-bootstrap/ng-bootstrap#738 (comment)
- Loading branch information
Showing
7 changed files
with
10,977 additions
and
7,033 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
33 changes: 17 additions & 16 deletions
33
FlyballETSWeb/src/app/components/navbar/navbar.component.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
<nav class="navbar navbar-inverse navbar-fixed-top"> | ||
<div class="container"> | ||
<div class="navbar-header"> | ||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"> | ||
<span class="sr-only">Toggle navigation</span> | ||
</button> | ||
<a class="navbar-brand" href="#">FlyballETS-WebUI</a> | ||
</div> | ||
<div id="navbar" class="collapse navbar-collapse"> | ||
<ul class="nav navbar-nav"> | ||
<li [routerLinkActive]="['active']" [routerLinkActiveOptions]= "{exact: true}"><a [routerLink]="['']">Home</a></li> | ||
<li [routerLinkActive]="['active']" [routerLinkActiveOptions]="{exact: true}"><a [routerLink]="['racedisplay']">Race Display</a></li> | ||
</ul> | ||
</div><!--/.nav-collapse --> | ||
</div> | ||
</nav> | ||
<header class="navbar navbar-light navbar-fixed-top navbar-expand-lg"> | ||
<a class="navbar-brand" [routerLink]="['/']" (click)="navbarCollapsed = true">FlyballETS-WebUI</a> | ||
<button class="navbar-toggler navbar-toggler-right" type="button" (click)="navbarCollapsed = !navbarCollapsed" | ||
[attr.aria-expanded]="!navbarCollapsed" aria-controls="navbarContent" aria-expanded="false" aria-label="Toggle navigation"> | ||
<span class="navbar-toggler-icon"></span> | ||
</button> | ||
<div class="navbar-collapse" [ngbCollapse]="navbarCollapsed" id="navbarContent"> | ||
<ul class="navbar-nav mr-auto"> | ||
<li class="nav-item" [routerLinkActive]="['active']" [routerLinkActiveOptions]= "{exact: true}"> | ||
<a class="nav-link" [routerLink]="['']" (click)="navbarCollapsed = true">Home</a> | ||
</li> | ||
<li class="nav-item" [routerLinkActive]="['active']" [routerLinkActiveOptions]= "{exact: true}"> | ||
<a class="nav-link" [routerLink]="['racedisplay']" (click)="navbarCollapsed = true">Race Display</a> | ||
</li> | ||
</ul> | ||
</div> | ||
</header> |
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