77 lines
3.4 KiB
HTML
77 lines
3.4 KiB
HTML
<!-- Quay -->
|
|
<div class="navbar-header">
|
|
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse" style="padding: 0px; padding-left: 4px; padding-right: 4px;">
|
|
<span style="font-size: 24px">≡</span>
|
|
</button>
|
|
<a class="navbar-brand" href="/" target="{{ appLinkTarget() }}">
|
|
<img src="/static/img/quay-logo-inverted.png">
|
|
</a>
|
|
</div>
|
|
|
|
<!-- Collapsable stuff -->
|
|
<div class="collapse navbar-collapse navbar-ex1-collapse">
|
|
<ul class="nav navbar-nav navbar-links">
|
|
<li ng-if="user.anonymous"><a ng-href="/tour/" target="{{ appLinkTarget() }}">Tour</a></li>
|
|
<li><a ng-href="/repository/" target="{{ appLinkTarget() }}">Repositories</a></li>
|
|
<li><a href="http://docs.quay.io/" target="_blank">Docs</a></li>
|
|
<li><a ng-href="/tutorial/" target="{{ appLinkTarget() }}">Tutorial</a></li>
|
|
<li quay-require="['BILLING']"><a ng-href="/plans/" target="{{ appLinkTarget() }}">Pricing</a></li>
|
|
<li><a ng-href="/organizations/" target="{{ appLinkTarget() }}">Organizations</a></li>
|
|
</ul>
|
|
|
|
|
|
<ul class="nav navbar-nav navbar-right" ng-switch on="user.anonymous">
|
|
<li>
|
|
<form class="navbar-form navbar-left" role="search">
|
|
<div class="form-group">
|
|
<span class="repo-search"></span>
|
|
</div>
|
|
</form>
|
|
|
|
<span class="navbar-left user-tools" ng-show="!user.anonymous">
|
|
<a href="/new/"><i class="fa fa-upload user-tool" bs-tooltip="tooltip.title" data-placement="bottom" data-title="Create new repository"></i></a>
|
|
</span>
|
|
</li>
|
|
|
|
<li class="dropdown" ng-switch-when="false">
|
|
<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="notificationService.notifications.length"
|
|
ng-class="notificationService.notificationClasses"
|
|
bs-tooltip=""
|
|
data-title="User Notifications"
|
|
data-placement="left"
|
|
data-container="body">
|
|
{{ notificationService.notifications.length }}
|
|
</span>
|
|
<b class="caret"></b>
|
|
</a>
|
|
<ul class="dropdown-menu">
|
|
<li>
|
|
<a href="/user/" target="{{ appLinkTarget() }}">
|
|
Account Settings
|
|
</a>
|
|
</li>
|
|
<li ng-if="notificationService.notifications.length">
|
|
<a href="javascript:void(0)" data-template="/static/directives/notification-bar.html"
|
|
data-animation="am-slide-right" bs-aside="aside" data-container="body">
|
|
Notifications
|
|
<span class="badge user-notification"
|
|
ng-class="notificationService.notificationClasses"
|
|
ng-show="notificationService.notifications.length">
|
|
{{ notificationService.notifications.length }}
|
|
</span>
|
|
</a>
|
|
</li>
|
|
<li><a ng-href="/organizations/" target="{{ appLinkTarget() }}">Organizations</a></li>
|
|
<li ng-if="user.super_user"><a href="/superuser/"><strong>Super User Admin Panel</strong></a></li>
|
|
<li><a href="javascript:void(0)" ng-click="signout()">Sign out</a></li>
|
|
</ul>
|
|
</li>
|
|
<li ng-switch-default>
|
|
<a href="/signin/" target="{{ appLinkTarget() }}">Sign in</a>
|
|
</li>
|
|
</ul>
|
|
</div><!-- /.navbar-collapse -->
|