2013-12-18 03:56:28 +00:00
|
|
|
<div class="resource-view" resource="orgResource" error-message="'No organization found'"></div>
|
|
|
|
<div class="org-admin container" ng-show="organization">
|
2013-12-02 22:19:19 +00:00
|
|
|
<div class="organization-header" organization="organization" clickable="true"></div>
|
2013-11-05 23:39:27 +00:00
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<!-- Side tabs -->
|
|
|
|
<div class="col-md-2">
|
|
|
|
<ul class="nav nav-pills nav-stacked">
|
2014-04-06 04:36:19 +00:00
|
|
|
<li class="active" quay-require="['BILLING']">
|
|
|
|
<a href="javascript:void(0)" data-toggle="tab" data-target="#plan">Plan and Usage</a>
|
|
|
|
</li>
|
2014-04-08 23:14:24 +00:00
|
|
|
<li quay-classes="{'!Features.BILLING': 'active'}">
|
2014-04-06 04:36:19 +00:00
|
|
|
<a href="javascript:void(0)" data-toggle="tab" data-target="#settings">Organization Settings</a>
|
|
|
|
</li>
|
2013-11-27 07:29:31 +00:00
|
|
|
<li><a href="javascript:void(0)" data-toggle="tab" data-target="#logs" ng-click="loadLogs()">Usage Logs</a></li>
|
2013-11-07 00:06:59 +00:00
|
|
|
<li><a href="javascript:void(0)" data-toggle="tab" data-target="#members" ng-click="loadMembers()">Members</a></li>
|
2013-11-22 23:20:51 +00:00
|
|
|
<li><a href="javascript:void(0)" data-toggle="tab" data-target="#robots">Robot Accounts</a></li>
|
2014-01-21 19:18:20 +00:00
|
|
|
<li><a href="javascript:void(0)" data-toggle="tab" data-target="#prototypes">Default Permissions</a></li>
|
2014-03-20 19:46:13 +00:00
|
|
|
<li><a href="javascript:void(0)" data-toggle="tab" data-target="#applications" ng-click="loadApplications()">Applications</a></li>
|
2014-04-06 04:36:19 +00:00
|
|
|
<li ng-show="hasPaidPlan" quay-require="['BILLING']">
|
|
|
|
<a href="javascript:void(0)" data-toggle="tab" data-target="#billingoptions">Billing</a>
|
|
|
|
</li>
|
|
|
|
<li ng-show="hasPaidPlan" quay-require="['BILLING']">
|
|
|
|
<a href="javascript:void(0)" data-toggle="tab" data-target="#billing" ng-click="loadInvoices()">Billing History</a>
|
|
|
|
</li>
|
2013-11-05 23:39:27 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Content -->
|
|
|
|
<div class="col-md-10">
|
2013-11-06 22:30:20 +00:00
|
|
|
<div class="tab-content">
|
2013-11-05 23:39:27 +00:00
|
|
|
<!-- Plans tab -->
|
2014-04-06 04:36:19 +00:00
|
|
|
<div id="plan" class="tab-pane active" quay-require="['BILLING']">
|
2013-11-15 23:17:12 +00:00
|
|
|
<div class="plan-manager" organization="orgname" plan-changed="planChanged(plan)"></div>
|
2013-11-05 23:39:27 +00:00
|
|
|
</div>
|
|
|
|
|
2014-02-07 01:58:26 +00:00
|
|
|
<!-- Organization settings tab -->
|
2014-04-08 23:14:24 +00:00
|
|
|
<div id="settings" class="tab-pane" quay-classes="{'!Features.BILLING': 'active'}">
|
2014-01-20 21:12:23 +00:00
|
|
|
<div class="quay-spinner" ng-show="changingOrganization"></div>
|
|
|
|
|
|
|
|
<div class="panel" ng-show="!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()" data-trigger="manual"
|
2014-01-20 23:17:03 +00:00
|
|
|
data-content="{{ changeEmailError }}" data-placement="bottom" ng-show="!updatingOrganization">
|
2014-01-20 21:12:23 +00:00
|
|
|
<img src="//www.gravatar.com/avatar/{{ organizationEmail | gravatar }}?s=24&d=identicon">
|
|
|
|
<input type="email" class="form-control" ng-model="organizationEmail"
|
|
|
|
style="margin-left: 10px; margin-right: 10px; width: 400px; display: inline-block;" required>
|
|
|
|
<button class="btn btn-primary" type="submit" ng-disabled="changeEmailForm.$invalid || organizationEmail == organization.email">
|
|
|
|
Save
|
|
|
|
</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2013-11-22 23:20:51 +00:00
|
|
|
<!-- Robot accounts tab -->
|
|
|
|
<div id="robots" class="tab-pane">
|
|
|
|
<div class="robots-manager" organization="organization"></div>
|
|
|
|
</div>
|
|
|
|
|
2014-01-21 19:18:20 +00:00
|
|
|
<!-- Prototypes tab -->
|
|
|
|
<div id="prototypes" class="tab-pane">
|
|
|
|
<div class="prototype-manager" organization="organization"></div>
|
|
|
|
</div>
|
|
|
|
|
2013-11-27 07:29:31 +00:00
|
|
|
<!-- Logs tab -->
|
|
|
|
<div id="logs" class="tab-pane">
|
2014-07-15 18:17:57 +00:00
|
|
|
<div class="logs-view" organization="organization" makevisible="logsShown"></div>
|
2013-11-27 07:29:31 +00:00
|
|
|
</div>
|
|
|
|
|
2014-03-20 19:46:13 +00:00
|
|
|
<!-- Applications tab -->
|
|
|
|
<div id="applications" class="tab-pane">
|
2014-07-15 18:17:57 +00:00
|
|
|
<div class="application-manager" organization="organization" makevisible="applicationsShown"></div>
|
2014-03-20 19:46:13 +00:00
|
|
|
</div>
|
|
|
|
|
2013-11-15 23:17:12 +00:00
|
|
|
<!-- Billing Options tab -->
|
2014-04-06 04:36:19 +00:00
|
|
|
<div id="billingoptions" class="tab-pane" quay-require="['BILLING']">
|
2013-11-15 19:42:31 +00:00
|
|
|
<div class="billing-options" organization="organization"></div>
|
2013-11-15 23:17:12 +00:00
|
|
|
</div>
|
2013-11-15 19:42:31 +00:00
|
|
|
|
2013-11-15 23:17:12 +00:00
|
|
|
<!-- Billing History tab -->
|
2014-04-06 04:36:19 +00:00
|
|
|
<div id="billing" class="tab-pane" quay-require="['BILLING']">
|
2014-07-15 18:17:57 +00:00
|
|
|
<div class="billing-invoices" organization="organization" makevisible="invoicesShown"></div>
|
2013-11-13 22:47:45 +00:00
|
|
|
</div>
|
|
|
|
|
2013-11-05 23:39:27 +00:00
|
|
|
<!-- Members tab -->
|
|
|
|
<div id="members" class="tab-pane">
|
2013-12-18 03:56:28 +00:00
|
|
|
<div class="quay-spinner" ng-show="membersLoading"></div>
|
2013-11-07 00:06:59 +00:00
|
|
|
<div ng-show="!membersLoading">
|
|
|
|
<div class="side-controls">
|
|
|
|
<div class="result-count">
|
|
|
|
Showing {{(membersFound | filter:search | limitTo:50).length}} of {{(membersFound | filter:search).length}} matching members
|
|
|
|
</div>
|
|
|
|
<div class="filter-input">
|
|
|
|
<input id="member-filter" class="form-control" placeholder="Filter Members" type="text" ng-model="search.$">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<table class="table table-striped">
|
|
|
|
<thead>
|
2013-11-26 19:37:55 +00:00
|
|
|
<th>User/Robot Account</th>
|
2013-11-07 00:06:59 +00:00
|
|
|
<th>Teams</th>
|
2013-12-07 00:25:27 +00:00
|
|
|
<th></th>
|
2013-11-07 00:06:59 +00:00
|
|
|
</thead>
|
2013-12-07 00:25:27 +00:00
|
|
|
|
2013-11-07 00:06:59 +00:00
|
|
|
<tr ng-repeat="memberInfo in (membersFound | filter:search | limitTo:50)">
|
|
|
|
<td>
|
2014-01-21 21:23:00 +00:00
|
|
|
<span class="entity-reference" entity="memberInfo" namespace="organization.name"></span>
|
2013-11-07 00:06:59 +00:00
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<span class="team-link" ng-repeat="team in memberInfo.teams">
|
2014-01-21 21:23:00 +00:00
|
|
|
<span class="entity-reference" namespace="organization.name" entity="{'kind': 'team', 'name': team}"></span>
|
2013-11-07 00:06:59 +00:00
|
|
|
</span>
|
|
|
|
</td>
|
2013-12-07 00:25:27 +00:00
|
|
|
<td>
|
2014-04-11 22:21:13 +00:00
|
|
|
<a href="/organization/{{ organization.name }}/logs/{{ memberInfo.name }}" data-title="Member Usage Logs" bs-tooltip="tooltip.title">
|
2013-12-07 00:25:27 +00:00
|
|
|
<i class="fa fa-book"></i>
|
|
|
|
</a>
|
|
|
|
</td>
|
2013-11-07 00:06:59 +00:00
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
2013-11-05 23:39:27 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|