2015-04-07 22:33:43 +00:00
|
|
|
<span class="header-bar-parent">
|
2016-11-21 20:50:11 +00:00
|
|
|
<div class="header-bar-element">
|
2017-04-07 21:25:44 +00:00
|
|
|
<div class="header-bar-content">
|
2015-06-29 09:33:00 +00:00
|
|
|
<!-- Quay -->
|
|
|
|
<div class="navbar-header">
|
|
|
|
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
|
|
|
|
≡
|
|
|
|
</button>
|
2016-05-17 20:29:24 +00:00
|
|
|
<a class="navbar-brand" ng-href="{{ user.anonymous ? '/' : '/repository/' }}">
|
2015-10-22 18:56:36 +00:00
|
|
|
<span id="quay-logo" ng-style="{'background-image': 'url(' + getEnterpriseLogo() + ')'}"
|
|
|
|
ng-class="Config.ENTERPRISE_LOGO_URL ? 'enterprise-logo' : 'hosted-logo'"></span>
|
2015-06-29 09:33:00 +00:00
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Collapsable stuff -->
|
|
|
|
<div class="collapse navbar-collapse navbar-ex1-collapse">
|
|
|
|
<!-- Not signed in -->
|
|
|
|
<ul class="nav navbar-nav navbar-links" ng-if="user.anonymous">
|
2016-05-17 20:29:24 +00:00
|
|
|
<li><a ng-href="/tour/" quay-section="tour">Tour</a></li>
|
|
|
|
<li><a ng-href="/tutorial/" quay-section="tutorial">Tutorial</a></li>
|
|
|
|
<li quay-require="['BILLING']"><a ng-href="/plans/" quay-section="plans">Pricing</a></li>
|
2016-04-28 18:38:22 +00:00
|
|
|
<li><a href="https://docs.quay.io/" ng-safenewtab>Docs</a></li>
|
2017-04-10 18:57:09 +00:00
|
|
|
<li quay-require="['BILLING']"><a href="https://blog.quay.io/" ng-safenewtab>Blog</a></li>
|
2015-06-29 09:33:00 +00:00
|
|
|
</ul>
|
|
|
|
|
|
|
|
<!-- Signed in -->
|
|
|
|
<ul class="nav navbar-nav navbar-links" ng-if="!user.anonymous">
|
2017-03-23 21:16:19 +00:00
|
|
|
<li quay-require="['APP_REGISTRY']"><a ng-href="/application/" quay-section="application">Applications</a></li>
|
2016-05-17 20:29:24 +00:00
|
|
|
<li><a ng-href="/repository/" quay-section="repository">Repositories</a></li>
|
|
|
|
<li><a ng-href="/tutorial/" quay-section="tutorial">Tutorial</a></li>
|
2016-04-28 18:38:22 +00:00
|
|
|
<li><a href="https://docs.quay.io/" ng-safenewtab>Docs</a></li>
|
2017-04-10 18:57:09 +00:00
|
|
|
<li quay-require="['BILLING']"><a href="https://blog.quay.io/" ng-safenewtab>Blog</a></li>
|
2015-06-29 09:33:00 +00:00
|
|
|
</ul>
|
|
|
|
|
|
|
|
<!-- Phone -->
|
|
|
|
<ul class="nav navbar-nav navbar-right visible-xs" ng-switch on="user.anonymous">
|
|
|
|
<li ng-switch-when="false">
|
2016-05-17 20:29:24 +00:00
|
|
|
<a href="/user/{{ user.username }}?tab=settings" class="user-view">
|
2015-06-29 09:33:00 +00:00
|
|
|
<span class="avatar" size="32" data="user.avatar"></span>
|
|
|
|
{{ user.username }}
|
|
|
|
</a>
|
2016-08-25 19:06:20 +00:00
|
|
|
<a ng-click="signout()">Sign out</a>
|
2015-06-29 09:33:00 +00:00
|
|
|
</li>
|
|
|
|
<li ng-switch-default>
|
2016-05-17 20:29:24 +00:00
|
|
|
<a class="user-view" href="/signin/" ng-if="!externalSigninUrl">Sign in</a>
|
2015-09-04 20:14:46 +00:00
|
|
|
<a class="user-view" ng-href="{{ externalSigninUrl }}" ng-if="externalSigninUrl">Sign in</a>
|
2015-06-29 09:33:00 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<!-- Normal -->
|
|
|
|
<ul class="nav navbar-nav navbar-right hidden-xs" ng-switch on="user.anonymous">
|
|
|
|
<li>
|
2017-04-07 21:25:44 +00:00
|
|
|
<span class="navbar-left user-tools hidden-sm">
|
|
|
|
<search-box ng-if="searchingAllowed"></search-box>
|
2015-06-29 09:33:00 +00:00
|
|
|
</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="navbar-left user-tools with-menu" ng-show="!user.anonymous">
|
|
|
|
<span class="dropdown">
|
2016-03-22 18:15:54 +00:00
|
|
|
<a class="dropdown-toggle new-menu" data-toggle="dropdown">
|
2015-06-29 09:33:00 +00:00
|
|
|
<i class="fa fa-plus user-tool"
|
2017-04-25 20:51:41 +00:00
|
|
|
data-placement="bottom" data-title="Create New..." data-trigger="hover click" bs-tooltip></i>
|
2015-06-29 09:33:00 +00:00
|
|
|
<b class="caret"></b>
|
|
|
|
</a>
|
|
|
|
<ul class="dropdown-menu context-dropdown">
|
|
|
|
<li>
|
|
|
|
<a href="/organizations/new">
|
|
|
|
<span class="avatar" size="16" data="{'name': '+', color: '#ccc'}"></span>
|
|
|
|
New Organization
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="/new{{ getNamespace(currentPageContext) ? '?namespace=' + getNamespace(currentPageContext) : '' }}">
|
|
|
|
<i class="fa fa-hdd-o"></i> New Repository
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li role="presentation" class="divider" ng-if="getNamespace(currentPageContext) && canAdmin(getNamespace(currentPageContext))"></li>
|
|
|
|
<li role="presentation" class="dropdown-header"
|
|
|
|
ng-if="getNamespace(currentPageContext) && canAdmin(getNamespace(currentPageContext))">
|
|
|
|
Namespace {{ getNamespace(currentPageContext) }}
|
|
|
|
</li>
|
|
|
|
<li ng-if="isOrganization(getNamespace(currentPageContext)) && canAdmin(getNamespace(currentPageContext))">
|
2016-05-12 21:59:49 +00:00
|
|
|
<a ng-click="askCreateTeam(currentPageContext)">
|
2015-06-29 09:33:00 +00:00
|
|
|
<i class="fa fa-group"></i> New Team
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li ng-if="canAdmin(getNamespace(currentPageContext))">
|
2016-05-12 21:59:49 +00:00
|
|
|
<a ng-click="askCreateRobot(currentPageContext)">
|
2015-06-29 09:33:00 +00:00
|
|
|
<i class="fa ci-robot"></i> New Robot Account
|
|
|
|
</a>
|
|
|
|
</li>
|
2017-06-13 13:56:47 +00:00
|
|
|
<li role="presentation" class="divider" ng-if="currentPageContext.repository && currentPageContext.repository.can_write && !currentPageContext.repository.tag_operations_disabled"></li>
|
2015-06-29 09:33:00 +00:00
|
|
|
<li role="presentation" class="dropdown-header"
|
2017-04-17 18:34:43 +00:00
|
|
|
ng-if="currentPageContext.repository && currentPageContext.repository.can_write &&
|
2017-06-13 13:56:47 +00:00
|
|
|
!currentPageContext.repository.tag_operations_disabled">
|
2015-06-29 09:33:00 +00:00
|
|
|
Repository {{ currentPageContext.repository.namespace }}/{{ currentPageContext.repository.name }}
|
|
|
|
</li>
|
2017-04-17 18:34:43 +00:00
|
|
|
<li ng-if="currentPageContext.repository && currentPageContext.repository.can_write &&
|
2017-06-13 13:56:47 +00:00
|
|
|
!currentPageContext.repository.tag_operations_disabled">
|
2016-03-22 18:15:54 +00:00
|
|
|
<a ng-click="startBuild()">
|
2015-06-29 09:33:00 +00:00
|
|
|
<i class="fa fa-tasks"></i> New Dockerfile Build
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li>
|
|
|
|
<span class="navbar-left user-tools" ng-show="!user.anonymous">
|
2016-03-22 18:15:54 +00:00
|
|
|
<a data-template="/static/directives/notification-bar.html"
|
2015-06-29 09:33:00 +00:00
|
|
|
data-container="body" data-animation="am-slide-right" bs-aside>
|
|
|
|
<i class="fa fa-bell user-tool"
|
|
|
|
data-placement="bottom" data-title="Notifications" bs-tooltip></i>
|
|
|
|
<span class="notifications-bubble"></span>
|
|
|
|
</a>
|
|
|
|
</span>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="dropdown" ng-switch-when="false">
|
2016-03-22 18:15:54 +00:00
|
|
|
<a class="dropdown-toggle user-dropdown user-view" data-toggle="dropdown">
|
2015-06-29 09:33:00 +00:00
|
|
|
<span class="avatar" size="32" data="user.avatar"></span>
|
|
|
|
{{ user.username }}
|
|
|
|
<b class="caret"></b>
|
|
|
|
</a>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<li>
|
2016-05-17 20:29:24 +00:00
|
|
|
<a href="/user/{{ user.username }}?tab=settings">
|
2015-06-29 09:33:00 +00:00
|
|
|
Account Settings
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li ng-if="user.super_user"><a href="/superuser/"><strong>Super User Admin Panel</strong></a></li>
|
2016-03-22 18:15:54 +00:00
|
|
|
<li><a ng-click="signout()">Sign out</a></li>
|
2015-06-29 09:33:00 +00:00
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li ng-switch-default>
|
2016-05-17 20:29:24 +00:00
|
|
|
<a class="user-view" href="/signin/" ng-if="!externalSigninUrl">Sign in</a>
|
2015-09-04 20:14:46 +00:00
|
|
|
<a class="user-view" ng-href="{{ externalSigninUrl }}" ng-if="externalSigninUrl">Sign in</a>
|
2015-06-29 09:33:00 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div><!-- /.navbar-collapse -->
|
2017-04-07 21:25:44 +00:00
|
|
|
<div class="visible-sm block-search" ng-if="searchingAllowed">
|
|
|
|
<search-box></search-box>
|
2015-06-29 09:33:00 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2016-05-12 21:59:49 +00:00
|
|
|
<div class="create-robot-dialog" info="createRobotInfo"
|
|
|
|
robot-created="handleRobotCreated(robot, currentPageContext)">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="create-team-dialog" info="createTeamInfo"
|
|
|
|
team-created="handleTeamCreated(team, currentPageContext)">
|
|
|
|
</div>
|
|
|
|
|
2015-06-29 09:33:00 +00:00
|
|
|
<div class="dockerfile-build-dialog"
|
|
|
|
show-now="showBuildDialogCounter"
|
|
|
|
repository="currentPageContext.repository"
|
|
|
|
build-started="handleBuildStarted(build, currentPageContext)">
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-04-07 22:33:43 +00:00
|
|
|
</span>
|