mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-25 01:58:35 +01:00
22 lines
999 B
HTML
22 lines
999 B
HTML
<ul class="nav navbar-nav navbar-left">
|
|
<li ng-show="//!vm.isLoggedIn//" class="dropdown">
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
|
<span class="glyphicon glyphicon-globe"></span>Language<span class="caret"></span>
|
|
</a>
|
|
<ul class="dropdown-menu">
|
|
<li><a href="#">//vm.isLoggedIn ? 'Logged In' : 'Not Logged In'//</a></li>
|
|
<li><a href="#">English</a></li>
|
|
<li><a href="#">中文</a></li>
|
|
</ul>
|
|
</li>
|
|
<li ng-show="//vm.isLoggedIn//" class="dropdown">
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
|
<span class="glyphicon glyphicon-user"></span>//vm.username//<span class="caret"></span>
|
|
</a>
|
|
<ul class="dropdown-menu">
|
|
<li><a href="#">//vm.username//</a></li>
|
|
<li><a href="/ng/account_setting">Account Setting</a></li>
|
|
<li><a href="#">Log Out</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul> |