2013-10-14 17:50:07 -04:00
<!-- Quay -->
< div class = "navbar-header" >
2014-03-25 14:05:39 -04:00
< button type = "button" class = "navbar-toggle" data-toggle = "collapse" data-target = ".navbar-ex1-collapse" style = "padding: 0px; padding-left: 4px; padding-right: 4px;" >
2014-05-08 14:43:30 -04:00
≡
2013-10-14 17:50:07 -04:00
< / button >
2013-10-24 23:58:05 -04:00
< a class = "navbar-brand" href = "/" target = "{{ appLinkTarget() }}" >
2014-08-11 21:47:04 -04:00
< img id = "quay-logo" src = "/static/img/black-horizontal.svg" >
2013-10-14 17:50:07 -04:00
< / a >
< / div >
<!-- Collapsable stuff -->
< div class = "collapse navbar-collapse navbar-ex1-collapse" >
2014-04-18 17:33:50 -04:00
< ul class = "nav navbar-nav navbar-links" >
2014-08-11 21:47:04 -04:00
< li > < a ng-href = "/tour/" target = "{{ appLinkTarget() }}" quay-section = "tour" > Tour< / a > < / li >
< li > < a ng-href = "/repository/" target = "{{ appLinkTarget() }}" quay-section = "repository" > Repositories< / a > < / li >
2014-02-13 16:55:04 -05:00
< li > < a href = "http://docs.quay.io/" target = "_blank" > Docs< / a > < / li >
2014-08-11 21:47:04 -04:00
< li > < a ng-href = "/tutorial/" target = "{{ appLinkTarget() }}" quay-section = "tutorial" > Tutorial< / a > < / li >
< li quay-require = "['BILLING']" > < a ng-href = "/plans/" target = "{{ appLinkTarget() }}" quay-section = "plans" > Pricing< / a > < / li >
< li > < a ng-href = "{{ user.organizations.length ? '/organizations/' : '/tour/organizations/' }}" target = "{{ appLinkTarget() }}" quay-section = "organization" > Organizations< / a > < / li >
2013-10-14 17:50:07 -04:00
< / ul >
< ul class = "nav navbar-nav navbar-right" ng-switch on = "user.anonymous" >
2013-11-18 19:19:57 -05:00
< li >
2013-11-18 18:42:27 -05:00
< form class = "navbar-form navbar-left" role = "search" >
< div class = "form-group" >
2013-11-18 19:19:57 -05:00
< span class = "repo-search" > < / span >
2013-11-18 18:42:27 -05:00
< / div >
< / form >
< span class = "navbar-left user-tools" ng-show = "!user.anonymous" >
2014-06-02 14:37:29 -04:00
< a href = "/new/" > < i class = "fa fa-upload user-tool" bs-tooltip = "tooltip.title" data-placement = "bottom" data-title = "Create new repository" data-container = "body" > < / i > < / a >
2013-11-18 18:42:27 -05:00
< / span >
< / li >
2013-10-14 17:50:07 -04:00
2013-10-24 17:41:55 -04:00
< li class = "dropdown" ng-switch-when = "false" >
2014-05-07 15:59:45 -04:00
< a href = "javascript:void(0)" class = "dropdown-toggle user-dropdown user-view" data-toggle = "dropdown" >
2013-10-14 17:50:07 -04:00
< img src = "//www.gravatar.com/avatar/{{ user.gravatar }}?s=32&d=identicon" / >
{{ user.username }}
2014-03-12 00:49:46 -04:00
< span class = "badge user-notification notification-animated"
ng-show="notificationService.notifications.length"
ng-class="notificationService.notificationClasses"
bs-tooltip=""
2014-04-11 18:21:13 -04:00
data-title="User Notifications"
2013-12-20 22:48:47 -05:00
data-placement="left"
data-container="body">
2014-03-12 00:49:46 -04:00
{{ notificationService.notifications.length }}
2013-12-18 23:03:19 -05:00
< / span >
2013-10-14 17:50:07 -04:00
< b class = "caret" > < / b >
< / a >
< ul class = "dropdown-menu" >
< li >
2013-10-24 23:56:08 -04:00
< a href = "/user/" target = "{{ appLinkTarget() }}" >
2013-10-14 17:50:07 -04:00
Account Settings
2014-03-12 00:49:46 -04:00
< / 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 }}
2013-12-18 23:03:19 -05:00
< / span >
2013-10-14 17:50:07 -04:00
< / a >
< / li >
2013-11-07 01:48:58 -05:00
< li > < a ng-href = "/organizations/" target = "{{ appLinkTarget() }}" > Organizations< / a > < / li >
2014-04-10 00:26:55 -04:00
< li ng-if = "user.super_user" > < a href = "/superuser/" > < strong > Super User Admin Panel< / strong > < / a > < / li >
2013-10-14 17:50:07 -04:00
< li > < a href = "javascript:void(0)" ng-click = "signout()" > Sign out< / a > < / li >
< / ul >
< / li >
< li ng-switch-default >
2014-05-07 15:59:45 -04:00
< a class = "user-view" href = "/signin/" target = "{{ appLinkTarget() }}" > Sign in< / a >
2013-10-14 17:50:07 -04:00
< / li >
< / ul >
2013-10-17 14:46:23 -04:00
< / div > <!-- /.navbar - collapse -->