2016-05-10 12:43:52 +02:00
|
|
|
<ul ng-if="!vm.isLoggedIn" class="nav navbar-nav navbar-left">
|
|
|
|
<li class="dropdown">
|
2016-05-09 19:48:05 +02:00
|
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
2016-05-10 12:43:52 +02:00
|
|
|
<span class="glyphicon glyphicon-globe"></span> Language<span class="caret"></span>
|
2016-05-09 19:48:05 +02:00
|
|
|
</a>
|
2016-05-10 12:43:52 +02:00
|
|
|
<ul class="dropdown-menu" style="left: 0;">
|
2016-05-09 19:48:05 +02:00
|
|
|
<li><a href="#">English</a></li>
|
|
|
|
<li><a href="#">中文</a></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
2016-05-10 12:43:52 +02:00
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
<div ng-if="vm.isLoggedIn" class="dropdown">
|
|
|
|
<a id="dLabel" role="button" data-toggle="dropdown" class="btn btn-link" data-target="#" href="">
|
|
|
|
<span class="glyphicon glyphicon-user"></span> //vm.username//
|
|
|
|
</a>
|
|
|
|
<ul class="dropdown-menu multi-level" role="menu" aria-labelledby="dropdownMenu">
|
|
|
|
<li><a href="/ng/account_setting"><span class="glyphicon glyphicon-pencil"></span> Account Setting</a></li>
|
|
|
|
<li class="dropdown-submenu">
|
|
|
|
<a tabindex="-1" href="#"><span class="glyphicon glyphicon-globe"></span> Languages</a>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<li><a href="#">English</a></li>
|
|
|
|
<li><a href="#">中文</a></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li class="divider"></li>
|
|
|
|
<li><a href="#"><span class="glyphicon glyphicon-log-out"></span> Log Out</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|