This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
quay/static/partials/org-view.html

148 lines
6 KiB
HTML
Raw Normal View History

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">
<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>
<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>
<div class="co-main-content-panel" ng-if="user.anonymous || !isMember">
<div class="repo-list-view padded" namespaces="[organization]">&nbsp;</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>
<span class="cor-tab" tab-title="Teams and Membership" tab-target="#teams" tab-init="showTeams()">
2015-03-25 19:31:05 +00:00
<i class="fa fa-users"></i>
</span>
<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>
<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="Usage Logs" tab-target="#logs"
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"
tab-init="showApplications()" ng-show="isAdmin">
2015-03-25 19:31:05 +00:00
<i class="fa ci-application"></i>
</span>
2015-03-25 19:31:05 +00:00
<span class="cor-tab" tab-title="Organization Settings" tab-target="#settings"
ng-show="isAdmin" tab-init="showBilling()">
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">
<div class="repo-list-view" namespaces="[organization]"><h3>Repositories</h3></div>
2015-03-25 19:31:05 +00:00
</div>
2013-11-04 21:39:29 +00:00
2015-03-25 19:31:05 +00:00
<!-- Teams -->
<div id="teams" class="tab-pane">
<div ng-if="!user.anonymous">
<div class="teams-manager" organization="organization" is-enabled="showTeamsCounter"></div>
</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">
<div ng-if="isAdmin">
<div class="robots-manager" organization="organization" is-enabled="showRobotsCounter"></div>
</div>
2015-03-25 19:31:05 +00:00
</div>
2015-03-25 19:31:05 +00:00
<!-- Default Permissions -->
<div id="default" class="tab-pane">
<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>
<!-- Settings -->
<div id="settings" class="tab-pane">
<div ng-if="isAdmin">
<!-- Org Settings -->
<div class="settings-section">
<h3>Organization Settings</h3>
<table class="co-list-table">
<tr>
<td>Namespace:</td>
<td>
{{ organization.name }}
<div class="help-text">Organization names cannot currently be changed. Please <a href="/contact">contact support</a> to migrate accounts.</div>
</td>
</tr>
<tr>
<td>Avatar:</td>
<td>
<span class="avatar" size="48" data="organization.avatar"></span>
<div class="help-text" ng-if="Config.AVATAR_KIND == 'local'">Avatar is generated based off the organization's name.</div>
<div class="help-text" ng-if="Config.AVATAR_KIND == 'gravatar'">Avatar is served by <a href="http://gravatar.com" rel="nofollow" target="_blank">Gravatar</a> based on the {{ organization.email }} e-mail address.</div>
</td>
</tr>
<tr quay-show="Features.MAILING">
<td>Email Address:</td>
<td>
<a class="co-modify-link" ng-click="showChangeEmail()">{{ organization.email }}</a>
</td>
</tr>
</table>
<div class="delete-namespace-view" subscription-status="subscriptionStatus" organization="organization"></div>
</div>
<!-- Billing Information -->
<div class="settings-section" quay-show="Features.BILLING">
<h3>Billing Information</h3>
<div class="billing-management-panel" organization="organization" is-enabled="showBillingCounter" subscription-status="subscriptionStatus"></div>
2015-03-25 19:31:05 +00:00
</div>
</div>
</div>
</div> <!-- /cor-tab-content -->
</div>
</div>
<!-- Change email dialog -->
<div class="cor-confirm-dialog"
dialog-context="changeEmailInfo"
dialog-action="changeEmail(info, callback)"
dialog-title="Change E-mail Address"
dialog-action-title="Change Email"
dialog-form="context.emailform">
<form name="context.emailform" class="co-single-field-dialog">
Please enter a new email address.
<input type="email" class="form-control" placeholder="Your new e-mail address"
ng-model="changeEmailInfo.email" required>
</form>
</div>
</div>