2015-03-25 19:31:05 +00:00
|
|
|
<div class="resource-view org-view"
|
|
|
|
resource="orgResource"
|
|
|
|
error-message="'Organization not found'">
|
|
|
|
<div class="page-content">
|
|
|
|
<div class="cor-title">
|
|
|
|
<span class="cor-title-link"></span>
|
|
|
|
<span class="cor-title-content">
|
2015-03-30 21:55:04 +00:00
|
|
|
<span class="avatar" size="32" data="organization.avatar"></span>
|
2015-03-25 19:31:05 +00:00
|
|
|
<span class="organization-name">{{ organization.name }}</span>
|
|
|
|
</span>
|
2015-04-30 16:50:11 +00:00
|
|
|
<span class="cor-title-action" ng-if="isMember">
|
|
|
|
<a href="/new/?namespace={{ organization.name }}">
|
|
|
|
<i class="fa fa-plus" data-title="Create new repository"></i>
|
|
|
|
Create New Repository
|
|
|
|
</a>
|
|
|
|
</span>
|
2015-03-25 19:31:05 +00:00
|
|
|
</div>
|
2013-11-04 21:21:49 +00:00
|
|
|
|
2015-04-08 19:39:17 +00:00
|
|
|
<div class="co-main-content-panel" ng-if="user.anonymous || !isMember">
|
|
|
|
<div class="repo-list-grid"
|
|
|
|
repositories-resource="repositoriesResource"
|
|
|
|
starred="false"
|
|
|
|
namespace="namespace"
|
|
|
|
hide-title="true">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="cor-tab-panel" ng-if="!user.anonymous && isMember">
|
2015-03-25 19:31:05 +00:00
|
|
|
<div class="cor-tabs" quay-show="isMember">
|
|
|
|
<span class="cor-tab" tab-active="true" tab-title="Repositories" tab-target="#repos">
|
|
|
|
<i class="fa fa-hdd-o"></i>
|
|
|
|
</span>
|
2015-04-21 20:07:24 +00:00
|
|
|
<span class="cor-tab" tab-title="Teams" tab-target="#teams" tab-init="showTeams()">
|
2015-03-25 19:31:05 +00:00
|
|
|
<i class="fa fa-users"></i>
|
|
|
|
</span>
|
2015-04-21 20:07:24 +00:00
|
|
|
<span class="cor-tab" tab-title="Robot Accounts" tab-target="#robots" tab-init="showRobots()"
|
|
|
|
ng-show="isAdmin">
|
2015-04-23 20:41:47 +00:00
|
|
|
<i class="fa ci-robot"></i>
|
2015-03-25 19:31:05 +00:00
|
|
|
</span>
|
2015-03-31 22:50:43 +00:00
|
|
|
<span class="cor-tab" tab-title="Default Permissions" tab-target="#default" ng-show="isAdmin">
|
2015-03-25 19:31:05 +00:00
|
|
|
<i class="fa ci-stamp"></i>
|
|
|
|
</span>
|
|
|
|
<span class="cor-tab" tab-title="Billing" tab-target="#usage"
|
|
|
|
quay-show="isAdmin && Features.BILLING">
|
|
|
|
<i class="fa fa-credit-card"></i>
|
|
|
|
</span>
|
|
|
|
<span class="cor-tab" tab-title="Billing Invoices" tab-target="#invoices"
|
|
|
|
tab-init="showInvoices()" quay-show="isAdmin && Features.BILLING">
|
|
|
|
<i class="fa ci-invoice"></i>
|
|
|
|
</span>
|
|
|
|
<span class="cor-tab" tab-title="Usage Logs" tab-target="#logs"
|
2015-03-31 22:50:43 +00:00
|
|
|
tab-init="showLogs()" ng-show="isAdmin">
|
2015-03-25 19:31:05 +00:00
|
|
|
<i class="fa fa-bar-chart"></i>
|
|
|
|
</span>
|
|
|
|
<span class="cor-tab" tab-title="Applications" tab-target="#applications"
|
2015-03-31 22:50:43 +00:00
|
|
|
tab-init="showApplications()" ng-show="isAdmin">
|
2015-03-25 19:31:05 +00:00
|
|
|
<i class="fa ci-application"></i>
|
2013-12-18 03:56:28 +00:00
|
|
|
</span>
|
2015-03-25 19:31:05 +00:00
|
|
|
<span class="cor-tab" tab-title="Organization Settings" tab-target="#settings"
|
2015-03-31 22:50:43 +00:00
|
|
|
ng-show="isAdmin">
|
2015-03-25 19:31:05 +00:00
|
|
|
<i class="fa fa-gears"></i>
|
|
|
|
</span>
|
|
|
|
</div> <!-- /cor-tabs -->
|
2013-11-23 01:14:44 +00:00
|
|
|
|
2015-03-25 19:31:05 +00:00
|
|
|
<div class="cor-tab-content">
|
|
|
|
<!-- Repositories -->
|
|
|
|
<div id="repos" class="tab-pane active">
|
|
|
|
<h3>Repositories</h3>
|
|
|
|
<div class="repo-list-grid"
|
|
|
|
repositories-resource="repositoriesResource"
|
|
|
|
starred="false"
|
|
|
|
namespace="namespace"
|
|
|
|
hide-title="true">
|
|
|
|
</div>
|
|
|
|
</div>
|
2013-11-04 21:39:29 +00:00
|
|
|
|
2015-03-25 19:31:05 +00:00
|
|
|
<!-- Teams -->
|
|
|
|
<div id="teams" class="tab-pane">
|
2015-04-08 19:39:17 +00:00
|
|
|
<div ng-if="!user.anonymous">
|
2015-04-21 20:07:24 +00:00
|
|
|
<div class="teams-manager" organization="organization" is-enabled="showTeamsCounter"></div>
|
2015-04-08 19:39:17 +00:00
|
|
|
</div>
|
2015-03-25 19:31:05 +00:00
|
|
|
</div>
|
2013-11-05 03:58:21 +00:00
|
|
|
|
2015-03-25 19:31:05 +00:00
|
|
|
<!-- Robot Accounts -->
|
|
|
|
<div id="robots" class="tab-pane">
|
2015-04-08 19:39:17 +00:00
|
|
|
<div ng-if="isAdmin">
|
2015-04-21 20:07:24 +00:00
|
|
|
<div class="robots-manager" organization="organization" is-enabled="showRobotsCounter"></div>
|
2015-04-08 19:39:17 +00:00
|
|
|
</div>
|
2015-03-25 19:31:05 +00:00
|
|
|
</div>
|
2013-12-18 03:56:28 +00:00
|
|
|
|
2015-03-25 19:31:05 +00:00
|
|
|
<!-- Default Permissions -->
|
|
|
|
<div id="default" class="tab-pane">
|
2015-04-08 19:39:17 +00:00
|
|
|
<div ng-if="isAdmin">
|
|
|
|
<div class="prototype-manager" organization="organization"></div>
|
|
|
|
</div>
|
2013-11-05 03:58:21 +00:00
|
|
|
</div>
|
|
|
|
|
2015-03-25 19:31:05 +00:00
|
|
|
<!-- Usage Logs -->
|
|
|
|
<div id="logs" class="tab-pane">
|
|
|
|
<div class="logs-view" organization="organization" makevisible="showLogsCounter"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Applications -->
|
|
|
|
<div id="applications" class="tab-pane">
|
|
|
|
<div class="application-manager" organization="organization"
|
|
|
|
makevisible="showApplicationsCounter"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Plan and Usage -->
|
|
|
|
<div id="usage" class="tab-pane" quay-require="['BILLING']">
|
|
|
|
<h3>Plan Usage and Billing</h3>
|
2015-04-08 19:39:17 +00:00
|
|
|
<div ng-if="isAdmin">
|
2015-05-07 20:43:45 +00:00
|
|
|
<div class="plan-manager" organization="organization.name"
|
|
|
|
has-subscription="hasSubscription"></div>
|
|
|
|
<hr ng-show="hasSubscription">
|
|
|
|
<div class="billing-options" organization="organization" ng-show="hasSubscription"></div>
|
2015-04-08 19:39:17 +00:00
|
|
|
</div>
|
2013-12-18 03:56:28 +00:00
|
|
|
</div>
|
2013-11-05 03:58:21 +00:00
|
|
|
|
2015-03-25 19:31:05 +00:00
|
|
|
<!-- Billing Invoices -->
|
|
|
|
<div id="invoices" class="tab-pane" quay-require="['BILLING']">
|
|
|
|
<h3>Billing Invoices</h3>
|
|
|
|
<div class="billing-invoices" organization="organization"
|
|
|
|
makevisible="showInvoicesCounter"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Settings -->
|
|
|
|
<div id="settings" class="tab-pane">
|
2015-04-08 19:39:17 +00:00
|
|
|
<div ng-if="isAdmin">
|
|
|
|
<h3>Organization Settings</h3>
|
2013-11-05 19:47:46 +00:00
|
|
|
|
2015-04-08 19:39:17 +00:00
|
|
|
<div class="panel" ng-show="!orgScope.changingOrganization">
|
|
|
|
<div class="panel-title">Organization's e-mail address</div>
|
|
|
|
<div class="panel-content" style="padding-left: 20px; margin-top: 10px;">
|
|
|
|
<form class="form-change" id="changeEmailForm" name="changeEmailForm" ng-submit="changeEmail()">
|
|
|
|
<input type="email" class="form-control" style="max-width: 500px;"
|
|
|
|
ng-model="orgScope.organizationEmail" required>
|
|
|
|
<button class="btn btn-primary" type="submit"
|
|
|
|
ng-disabled="changeEmailForm.$invalid || orgScope.organizationEmail == organization.email">
|
|
|
|
Save
|
|
|
|
</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
2015-03-25 19:31:05 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div> <!-- /cor-tab-content -->
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-03-30 21:55:04 +00:00
|
|
|
</div>
|