2013-10-14 21:50:07 +00:00
<!-- 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 >
2013-10-24 21:41:37 +00:00
< span class = "fa-bar" > < / span >
< span class = "fa-bar" > < / span >
< span class = "fa-bar" > < / span >
2013-10-14 21:50:07 +00:00
< / button >
2013-10-25 03:58:05 +00:00
< a class = "navbar-brand" href = "/" target = "{{ appLinkTarget() }}" >
2013-10-14 21:50:07 +00:00
< img src = "/static/img/quay-logo.png" >
< / a >
< / div >
<!-- Collapsable stuff -->
< div class = "collapse navbar-collapse navbar-ex1-collapse" >
< ul class = "nav navbar-nav" >
2013-10-25 03:56:08 +00:00
< li > < a ng-href = "/repository/" target = "{{ appLinkTarget() }}" > Repositories< / a > < / li >
2013-11-07 22:20:39 +00:00
< li > < a ng-href = "/guide/" target = "{{ appLinkTarget() }}" > Guide< / a > < / li >
< li > < a ng-href = "/plans/" target = "{{ appLinkTarget() }}" > Pricing< / a > < / li >
2013-11-07 06:48:58 +00:00
< li > < a ng-href = "/organizations/" target = "{{ appLinkTarget() }}" > Organizations< / a > < / li >
2013-10-14 21:50:07 +00:00
< / ul >
< ul class = "nav navbar-nav navbar-right" ng-switch on = "user.anonymous" >
2013-11-19 00:19:57 +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 >
< 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" title = "Create new repository" > < / i > < / a >
< / 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" >
2013-10-14 21:50:07 +00:00
< 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 }}
2013-12-21 03:48:47 +00:00
< span class = "badge user-notification notification-animated" ng-show = "user.askForPassword || overPlan"
bs-tooltip="(user.askForPassword ? 'A password is needed for this account< br > ' : '') + (overPlan ? 'You are using more private repositories than your plan allows' : '')"
data-placement="left"
data-container="body">
2013-12-19 04:03:19 +00:00
{{ (user.askForPassword ? 1 : 0) + (overPlan ? 1 : 0) }}
< / 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
2013-12-19 04:03:19 +00:00
< span class = "badge user-notification" ng-show = "user.askForPassword || overPlan" >
{{ (user.askForPassword ? 1 : 0) + (overPlan ? 1 : 0) }}
< / 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 >
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 >
2013-10-25 03:58:05 +00:00
< a 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 -->