-
Notifications
You must be signed in to change notification settings - Fork 0
/
toolbar.html
32 lines (32 loc) · 2.04 KB
/
toolbar.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<div ng-controller="navCtrl">
<div class="navbar navbar-inverse navbar-static-top navbar-fixed-top">
<div class="navbar-inner ">
<div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="#">Fishbowl Backlog</a>
<ul class="nav pull-right">
<li ng-hide="sessionData.Session.username" class="active"><a href="#/login">Log In</a></li>
<li ng-show="sessionData.Session.username" class="active"><a href="#/cardshow">{{sessionData.Session.username}}</a></li>
<li> <a class="dropdown-toggle" data-toggle="dropdown" href="#"><i class="icon-cog icon-white"></i></a>
<ul class="dropdown-menu">
<li><a href="" ng-show="sessionData.Session.username" ng-click="clickMeOff()"><i class="icon-arrow-right"></i> Log Out</a></li>
<li><a href="mailto:kevinbatchelor@gmail.com?Subject=Blue%20Card%20Comment" target="top"><i class="icon-envelope"></i> Contact</a></li>
<li><a ng-show="sessionData.Session.createcard==1" href="#/admin"><i class="icon-wrench"></i> Admin</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div class="container">
<div class="btn-group">
<a class="btn" ng-show="sessionData.Session.createcard==1" href="#/newcard"><i class="icon-plus"></i> New Card</a>
<a class="btn" ng-show="sessionData.Session.loadcards==1" href="#/cardlist"><i class="icon-list"></i> Card List</a>
<a class="btn" ng-show="sessionData.Session.voteforcard==1" href="#/cardshow"><i class="icon-bookmark"></i> My Cards</a>
</div>
</div>
</div>
</div>