53 lines
1.9 KiB
HTML
53 lines
1.9 KiB
HTML
<!-- Quay -->
|
|
<div class="navbar-header">
|
|
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
|
|
<span class="sr-only">Toggle navigation</span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
</button>
|
|
<a class="navbar-brand" href="/">
|
|
<img src="/static/img/quay-logo.png">
|
|
</a>
|
|
</div>
|
|
|
|
<!-- Collapsable stuff -->
|
|
<div class="collapse navbar-collapse navbar-ex1-collapse">
|
|
<ul class="nav navbar-nav">
|
|
<li><a ng-href="/repository/">Repositories</a></li>
|
|
<li><a ng-href="/guide/">User Guide</a></li>
|
|
<li><a ng-href="/plans/">Plans & Pricing</a></li>
|
|
</ul>
|
|
|
|
|
|
<ul class="nav navbar-nav navbar-right" ng-switch on="user.anonymous">
|
|
<form class="navbar-form navbar-left" role="search">
|
|
<div class="form-group">
|
|
<input id="repoSearch" type="text" class="form-control" placeholder="Find Repo">
|
|
</div>
|
|
</form>
|
|
|
|
<li class="dropdown" ng-switch-when="false">
|
|
<!--<button type="button" class="btn btn-default navbar-btn">Sign in</button>-->
|
|
|
|
<a href="javascript:void(0)" class="dropdown-toggle user-dropdown" data-toggle="dropdown">
|
|
<img src="//www.gravatar.com/avatar/{{ user.gravatar }}?s=32&d=identicon" />
|
|
{{ user.username }}
|
|
<span class="badge user-notification notification-animated" ng-show="user.askForPassword">1</span>
|
|
<b class="caret"></b>
|
|
</a>
|
|
<ul class="dropdown-menu">
|
|
<li>
|
|
<a href="/user/">
|
|
Account Settings
|
|
<span class="badge user-notification" ng-show="user.askForPassword">1</span>
|
|
</a>
|
|
</li>
|
|
<li><a href="javascript:void(0)" ng-click="signout()">Sign out</a></li>
|
|
</ul>
|
|
</li>
|
|
<li ng-switch-default>
|
|
<a href="/signin/">Sign in</a>
|
|
</li>
|
|
</ul>
|
|
</div><!-- /.navbar-collapse -->
|