2013-10-14 21:50:07 +00:00
<!-- Quay -->
< div class = "navbar-header" >
2014-03-25 18:05:39 +00: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 18:43:30 +00:00
≡
2013-10-14 21:50:07 +00:00
< / button >
2013-10-25 03:58:05 +00:00
< a class = "navbar-brand" href = "/" target = "{{ appLinkTarget() }}" >
2015-01-29 17:29:42 +00:00
< span id = "quay-logo" ng-style = "{'background-image': 'url(' + getEnterpriseLogo() + ')'}" < / span >
2013-10-14 21:50:07 +00:00
< / a >
< / div >
<!-- Collapsable stuff -->
< div class = "collapse navbar-collapse navbar-ex1-collapse" >
2014-04-18 21:33:50 +00:00
< ul class = "nav navbar-nav navbar-links" >
2014-08-12 01:47:04 +00: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 21:55:04 +00:00
< li > < a href = "http://docs.quay.io/" target = "_blank" > Docs< / a > < / li >
2014-08-12 01:47:04 +00: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 21:50:07 +00:00
< / ul >
2015-01-12 17:26:57 +00:00
<!-- Phone -->
< ul class = "nav navbar-nav navbar-right visible-xs" ng-switch on = "user.anonymous" >
< li ng-switch-when = "false" >
< a href = "/user/" class = "user-view" target = "{{ appLinkTarget() }}" >
< span class = "avatar" size = "32" hash = "user.avatar" > < / span >
{{ user.username }}
< / a >
< / li >
< li ng-switch-default >
< a class = "user-view" href = "/signin/" target = "{{ appLinkTarget() }}" > Sign in< / a >
< / li >
< / ul >
2014-11-24 21:07:38 +00:00
2015-01-12 17:26:57 +00:00
<!-- Normal -->
< ul class = "nav navbar-nav navbar-right hidden-xs" ng-switch on = "user.anonymous" >
2014-11-24 21:07:38 +00:00
< li >
2013-11-18 23:42:27 +00:00
< form class = "navbar-form navbar-left" role = "search" >
< div class = "form-group" >
2013-11-19 00:19:57 +00:00
< span class = "repo-search" > < / span >
2013-11-18 23:42:27 +00:00
< / div >
< / form >
2014-11-24 21:07:38 +00:00
2013-11-18 23:42:27 +00:00
< span class = "navbar-left user-tools" ng-show = "!user.anonymous" >
2014-06-02 18:37:29 +00: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 23:42:27 +00:00
< / span >
< / li >
2013-10-14 21:50:07 +00:00
2013-10-24 21:41:55 +00:00
< li class = "dropdown" ng-switch-when = "false" >
2014-05-07 19:59:45 +00:00
< a href = "javascript:void(0)" class = "dropdown-toggle user-dropdown user-view" data-toggle = "dropdown" >
2014-11-25 00:25:13 +00:00
< span class = "avatar" size = "32" hash = "user.avatar" > < / span >
2013-10-14 21:50:07 +00:00
{{ user.username }}
2014-08-26 19:19:39 +00:00
< span class = "notifications-bubble" > < / span >
2013-10-14 21:50:07 +00:00
< b class = "caret" > < / b >
< / a >
< ul class = "dropdown-menu" >
< li >
2013-10-25 03:56:08 +00:00
< a href = "/user/" target = "{{ appLinkTarget() }}" >
2013-10-14 21:50:07 +00:00
Account Settings
2014-03-12 04:49:46 +00: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
2014-08-26 19:19:39 +00:00
< span class = "notifications-bubble" > < / span >
2013-10-14 21:50:07 +00:00
< / a >
< / li >
2013-11-07 06:48:58 +00:00
< li > < a ng-href = "/organizations/" target = "{{ appLinkTarget() }}" > Organizations< / a > < / li >
2014-04-10 04:26:55 +00:00
< li ng-if = "user.super_user" > < a href = "/superuser/" > < strong > Super User Admin Panel< / strong > < / a > < / li >
2013-10-14 21:50:07 +00:00
< li > < a href = "javascript:void(0)" ng-click = "signout()" > Sign out< / a > < / li >
< / ul >
< / li >
< li ng-switch-default >
2014-05-07 19:59:45 +00:00
< a class = "user-view" href = "/signin/" target = "{{ appLinkTarget() }}" > Sign in< / a >
2013-10-14 21:50:07 +00:00
< / li >
< / ul >
2013-10-17 18:46:23 +00:00
< / div > <!-- /.navbar - collapse -->