This repository has been archived by the owner on Aug 30, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated to use @fyockm bootstrap-css-only repo. Changed header markup…
… to use bootstrap 3
- Loading branch information
1 parent
f77f715
commit 0773d24
Showing
4 changed files
with
34 additions
and
33 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
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,28 +1,30 @@ | ||
<div class="navbar-inner" data-ng-controller="HeaderController"> | ||
<ul class="nav"> | ||
<li> | ||
<a class="brand" href="/">MEAN - A Modern Stack</a> | ||
</li> | ||
<li data-ng-repeat="item in menu" data-ng-show="global.user" ui-route="/{{item.link}}" ng-class="{active: $uiRoute}"> | ||
<a href="#!/{{item.link}}">{{item.title}}</a> | ||
</li> | ||
</ul> | ||
<ul class="nav pull-right" data-ng-hide="global.authenticated"> | ||
<li><a href="signup">Signup</a> | ||
</li> | ||
<li class="divider-vertical"></li> | ||
<li><a href="signin">Signin</a> | ||
</li> | ||
</ul> | ||
<ul class="nav pull-right" data-ng-show="global.authenticated"> | ||
<li class="dropdown"> | ||
<a href="#" class="dropdown-toggle" data-toggle="dropdown"> | ||
{{global.user.name}} <b class="caret"></b> | ||
</a> | ||
<ul class="dropdown-menu"> | ||
<li><a href="/signout">Signout</a> | ||
</li> | ||
</ul> | ||
</li> | ||
</ul> | ||
<div class="container" data-ng-controller="HeaderController"> | ||
<div class="navbar-header"> | ||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
</button> | ||
<a class="navbar-brand" href="/">MEAN - A Modern Stack</a> | ||
</div> | ||
<div class="navbar-collapse collapse"> | ||
<ul class="nav navbar-nav"> | ||
<li data-ng-repeat="item in menu" data-ng-show="global.user" ui-route="/{{item.link}}" ng-class="{active: $uiRoute}"> | ||
<a href="#!/{{item.link}}">{{item.title}}</a> | ||
</li> | ||
</ul> | ||
<ul class="nav navbar-nav navbar-right" data-ng-hide="global.authenticated"> | ||
<li><a href="signup">Signup</a></li> | ||
<li class="divider-vertical"></li> | ||
<li><a href="signin">Signin</a></li> | ||
</ul> | ||
<ul class="nav navbar-nav navbar-right" data-ng-show="global.authenticated"> | ||
<li class="dropdown"> | ||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">{{global.user.name}} <b class="caret"></b></a> | ||
<ul class="dropdown-menu"> | ||
<li><a href="/signout">Signout</a></li> | ||
</ul> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> |