2013-12-18 03:56:28 +00:00
|
|
|
<div class="loading" ng-show="!user">
|
|
|
|
<div class="quay-spinner"></div>
|
2013-11-06 22:59:16 +00:00
|
|
|
</div>
|
|
|
|
|
2013-12-18 03:56:28 +00:00
|
|
|
<div class="loading" ng-show="user.anonymous">
|
2013-11-06 22:59:16 +00:00
|
|
|
No matching user found
|
|
|
|
</div>
|
|
|
|
|
2013-12-18 03:56:28 +00:00
|
|
|
<div class="user-admin container" ng-show="!user.anonymous">
|
2013-11-06 22:59:16 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="organization-header-element">
|
|
|
|
<img src="//www.gravatar.com/avatar/{{ user.gravatar }}?s=24&d=identicon">
|
|
|
|
<span class="organization-name">
|
|
|
|
{{ user.username }}
|
|
|
|
</span>
|
2013-10-02 05:40:11 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2013-11-06 22:59:16 +00:00
|
|
|
|
2013-10-10 17:44:34 +00:00
|
|
|
<div class="row">
|
2013-11-06 22:59:16 +00:00
|
|
|
<!-- Side tabs -->
|
|
|
|
<div class="col-md-2">
|
|
|
|
<ul class="nav nav-pills nav-stacked">
|
2014-04-05 03:26:10 +00:00
|
|
|
<!-- Billing Related -->
|
|
|
|
<li class="active" quay-require="['BILLING']"><a href="javascript:void(0)" data-toggle="tab" data-target="#plan">Plan and Usage</a></li>
|
|
|
|
<li ng-show="hasPaidPlan" quay-require="['BILLING']">
|
|
|
|
<a href="javascript:void(0)" data-toggle="tab" data-target="#billingoptions">Billing Options</a>
|
|
|
|
</li>
|
2014-08-22 23:48:58 +00:00
|
|
|
<li ng-show="hasPaidPlan" quay-require="['BILLING']">
|
2014-04-05 03:26:10 +00:00
|
|
|
<a href="javascript:void(0)" data-toggle="tab" data-target="#billing" ng-click="loadInvoices()">Billing History</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<!-- Non-billing -->
|
2014-04-08 23:14:24 +00:00
|
|
|
<li quay-classes="{'!Features.BILLING': 'active'}"><a href="javascript:void(0)" data-toggle="tab" data-target="#email">Account E-mail</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-15 19:11:49 +00:00
|
|
|
<li><a href="javascript:void(0)" data-toggle="tab" data-target="#password">Change Password</a></li>
|
2014-08-11 19:47:44 +00:00
|
|
|
<li><a href="javascript:void(0)" data-toggle="tab" data-target="#external" quay-show="Features.GITHUB_LOGIN || Features.GOOGLE_LOGIN">External Logins</a></li>
|
2014-03-25 00:57:02 +00:00
|
|
|
<li><a href="javascript:void(0)" data-toggle="tab" data-target="#authorized" ng-click="loadAuthedApps()">Authorized Applications</a></li>
|
2014-04-05 03:26:10 +00:00
|
|
|
<li quay-show="Features.USER_LOG_ACCESS || hasPaidBusinessPlan">
|
|
|
|
<a href="javascript:void(0)" data-toggle="tab" data-target="#logs" ng-click="loadLogs()">Usage Logs</a>
|
|
|
|
</li>
|
2014-05-28 19:53:53 +00:00
|
|
|
<li quay-show="Config.AUTHENTICATION_TYPE == 'Database'">
|
|
|
|
<a href="javascript:void(0)" data-toggle="tab" data-target="#migrate" id="migrateTab">Convert to Organization</a>
|
|
|
|
</li>
|
2013-11-06 22:59:16 +00:00
|
|
|
</ul>
|
2013-10-10 17:44:34 +00:00
|
|
|
</div>
|
2013-11-06 22:59:16 +00:00
|
|
|
|
|
|
|
<!-- Content -->
|
|
|
|
<div class="col-md-10">
|
2013-12-21 03:38:53 +00:00
|
|
|
<div class="tab-content">
|
2014-03-25 00:57:02 +00:00
|
|
|
<!-- Authorized applications tab -->
|
|
|
|
<div id="authorized" class="tab-pane">
|
|
|
|
<div class="quay-spinner" ng-show="!authorizedApps"></div>
|
|
|
|
|
|
|
|
<div class="panel" ng-show="authorizedApps != null">
|
|
|
|
<div class="panel-body" ng-show="!authorizedApps.length">
|
|
|
|
You have not authorized any external applications
|
|
|
|
</div>
|
|
|
|
<div class="panel-body" ng-show="authorizedApps.length">
|
|
|
|
<div class="alert alert-info">
|
2014-08-08 17:50:04 +00:00
|
|
|
These are the applications you have authorized to view information and perform actions on your behalf.
|
2014-03-25 00:57:02 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<table class="table">
|
|
|
|
<thead>
|
|
|
|
<th>Application Name</th>
|
|
|
|
<th>Authorized Permissions</th>
|
|
|
|
<th style="width: 150px">Revoke</th>
|
|
|
|
</thead>
|
|
|
|
|
|
|
|
<tr class="auth-info" ng-repeat="authInfo in authorizedApps">
|
|
|
|
<td>
|
|
|
|
<img src="//www.gravatar.com/avatar/{{ authInfo.gravatar }}?s=16&d=identicon">
|
|
|
|
<a href="{{ authInfo.application.url }}" ng-if="authInfo.application.url" target="_blank"
|
2014-04-11 22:21:13 +00:00
|
|
|
data-title="{{ authInfo.application.description || authInfo.application.name }}" bs-tooltip>
|
2014-03-25 00:57:02 +00:00
|
|
|
{{ authInfo.application.name }}
|
|
|
|
</a>
|
2014-04-11 22:21:13 +00:00
|
|
|
<span ng-if="!authInfo.application.url" data-title="{{ authInfo.application.description || authInfo.application.name }}" bs-tooltip>
|
2014-03-25 00:57:02 +00:00
|
|
|
{{ authInfo.application.name }}
|
|
|
|
</span>
|
|
|
|
<span class="by">{{ authInfo.application.organization.name }}</span>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<span class="label label-default scope"
|
|
|
|
ng-class="{'repo:admin': 'label-primary', 'repo:write': 'label-success', 'repo:create': 'label-success'}[scopeInfo.scope]"
|
2014-04-11 22:21:13 +00:00
|
|
|
ng-repeat="scopeInfo in authInfo.scopes" data-title="{{ scopeInfo.description }}" bs-tooltip>
|
2014-03-25 00:57:02 +00:00
|
|
|
{{ scopeInfo.scope }}
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<span class="delete-ui" delete-title="'Revoke Authorization'" button-title="'Revoke'" perform-delete="deleteAccess(authInfo)"></span>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
2013-12-21 03:38:53 +00:00
|
|
|
<!-- Logs tab -->
|
|
|
|
<div id="logs" class="tab-pane">
|
2014-07-15 18:17:57 +00:00
|
|
|
<div class="logs-view" user="user" makevisible="logsShown"></div>
|
2013-12-21 03:38:53 +00:00
|
|
|
</div>
|
|
|
|
|
2013-11-06 22:59:16 +00:00
|
|
|
<!-- Plans tab -->
|
2014-04-05 03:26:10 +00:00
|
|
|
<div id="plan" class="tab-pane active" quay-require="['BILLING']">
|
2013-11-15 23:17:12 +00:00
|
|
|
<div class="plan-manager" user="user.username" ready-for-plan="readyForPlan()" plan-changed="planChanged(plan)"></div>
|
2013-10-10 17:44:34 +00:00
|
|
|
</div>
|
2013-11-06 22:59:16 +00:00
|
|
|
|
2014-01-17 22:04:05 +00:00
|
|
|
<!-- E-mail address tab -->
|
2014-04-08 23:14:24 +00:00
|
|
|
<div id="email" class="tab-pane" quay-classes="{'!Features.BILLING': 'active'}">
|
2014-01-17 22:04:05 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="alert alert-success" ng-show="changeEmailSent">An e-mail has been sent to {{ sentEmail }} to verify the change.</div>
|
|
|
|
|
|
|
|
<div class="loading" ng-show="updatingUser">
|
|
|
|
<div class="quay-spinner 3x"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="panel" ng-show="!updatingUser">
|
|
|
|
<div class="panel-title">Account e-mail address</div>
|
2014-02-18 20:04:39 +00:00
|
|
|
<div class="panel-setting-content panel-body">
|
2014-01-17 22:04:05 +00:00
|
|
|
{{ user.email }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2014-09-22 23:11:48 +00:00
|
|
|
<div class="panel" ng-show="!updatingUser" quay-show="Features.MAILING">
|
2014-01-17 22:04:05 +00:00
|
|
|
<div class="panel-title">Change e-mail address</div>
|
|
|
|
|
|
|
|
<div class="panel-body">
|
2014-04-07 22:55:39 +00:00
|
|
|
<form class="form-change col-md-6" id="changeEmailForm" name="changeEmailForm" ng-submit="changeEmail()"
|
|
|
|
ng-show="!awaitingConfirmation && !registering">
|
2014-01-17 22:04:05 +00:00
|
|
|
<input type="email" class="form-control" placeholder="Your new e-mail address" ng-model="cuser.email" required>
|
|
|
|
<button class="btn btn-primary" ng-disabled="changeEmailForm.$invalid || cuser.email == user.email" type="submit">Change E-mail Address</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2013-11-06 22:59:16 +00:00
|
|
|
<!-- Change password tab -->
|
2014-01-15 19:11:49 +00:00
|
|
|
<div id="password" class="tab-pane">
|
2013-11-07 22:18:25 +00:00
|
|
|
<div class="row">
|
2014-01-15 18:55:57 +00:00
|
|
|
<div class="panel">
|
|
|
|
<div class="panel-title">Change Password</div>
|
2013-12-18 03:56:28 +00:00
|
|
|
|
2014-09-03 19:41:25 +00:00
|
|
|
<div class="loading" ng-show="updatingUser">
|
|
|
|
<div class="quay-spinner 3x"></div>
|
|
|
|
</div>
|
|
|
|
|
2014-01-15 18:55:57 +00:00
|
|
|
<span class="help-block" ng-show="changePasswordSuccess">Password changed successfully</span>
|
|
|
|
|
|
|
|
<div ng-show="!updatingUser" class="panel-body">
|
2014-04-07 22:55:39 +00:00
|
|
|
<form class="form-change col-md-6" id="changePasswordForm" name="changePasswordForm" ng-submit="changePassword()"
|
|
|
|
ng-show="!awaitingConfirmation && !registering">
|
2014-04-07 23:04:26 +00:00
|
|
|
<input type="password" class="form-control" placeholder="Your new password" ng-model="cuser.password" required
|
|
|
|
ng-pattern="/^.{8,}$/">
|
2014-01-15 18:55:57 +00:00
|
|
|
<input type="password" class="form-control" placeholder="Verify your new password" ng-model="cuser.repeatPassword"
|
2014-04-07 23:04:26 +00:00
|
|
|
match="cuser.password" required ng-pattern="/^.{8,}$/">
|
2014-01-15 18:55:57 +00:00
|
|
|
<button class="btn btn-danger" ng-disabled="changePasswordForm.$invalid" type="submit"
|
|
|
|
analytics-on analytics-event="change_pass">Change Password</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
2013-12-18 03:56:28 +00:00
|
|
|
</div>
|
2013-11-07 22:18:25 +00:00
|
|
|
</div>
|
2014-01-15 19:11:49 +00:00
|
|
|
</div>
|
2014-01-14 20:23:44 +00:00
|
|
|
|
2014-08-11 19:47:44 +00:00
|
|
|
<!-- External Login tab -->
|
|
|
|
<div id="external" class="tab-pane" quay-show="Features.GITHUB_LOGIN || Features.GOOGLE_LOGIN">
|
2014-01-15 19:11:49 +00:00
|
|
|
<div class="loading" ng-show="!cuser">
|
|
|
|
<div class="quay-spinner 3x"></div>
|
|
|
|
</div>
|
2014-08-11 19:47:44 +00:00
|
|
|
|
|
|
|
<!-- Github -->
|
|
|
|
<div class="row" quay-show="cuser && Features.GITHUB_LOGIN">
|
2014-01-15 18:55:57 +00:00
|
|
|
<div class="panel">
|
2014-02-18 20:04:39 +00:00
|
|
|
<div class="panel-title">GitHub Login:</div>
|
2014-01-15 18:55:57 +00:00
|
|
|
<div class="panel-body">
|
2014-08-11 22:25:01 +00:00
|
|
|
<div ng-show="hasGithubLogin && githubLogin" class="lead col-md-8">
|
2014-04-11 22:21:13 +00:00
|
|
|
<i class="fa fa-github fa-lg" style="margin-right: 6px;" data-title="GitHub" bs-tooltip="tooltip.title"></i>
|
2014-11-07 01:35:52 +00:00
|
|
|
<b><a href="{{githubEndpoint}}{{githubLogin}}" target="_blank">{{githubLogin}}</a></b>
|
2014-09-15 16:01:02 +00:00
|
|
|
<span class="delete-ui" button-title="'Detach'" delete-title="'Detach Account'" style="margin-left: 10px"
|
|
|
|
perform-delete="detachExternalLogin('github')"></span>
|
2014-01-15 18:55:57 +00:00
|
|
|
</div>
|
2014-08-11 22:25:01 +00:00
|
|
|
<div ng-show="hasGithubLogin && !githubLogin" class="lead col-md-8">
|
|
|
|
<i class="fa fa-github fa-lg" style="margin-right: 6px;" data-title="GitHub" bs-tooltip="tooltip.title"></i>
|
|
|
|
Account attached to Github Account
|
2014-09-15 16:01:02 +00:00
|
|
|
<span class="delete-ui" button-title="'Detach'" delete-title="'Detach Account'" style="margin-left: 10px"
|
|
|
|
perform-delete="detachExternalLogin('github')"></span>
|
2014-08-11 22:25:01 +00:00
|
|
|
</div>
|
|
|
|
<div ng-show="!hasGithubLogin" class="col-md-4">
|
2014-08-11 19:47:44 +00:00
|
|
|
<span class="external-login-button" provider="github" action="attach"></span>
|
2014-01-15 18:55:57 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2014-01-14 20:23:44 +00:00
|
|
|
</div>
|
2014-08-11 19:47:44 +00:00
|
|
|
|
|
|
|
<!-- Google -->
|
|
|
|
<div class="row" quay-show="cuser && Features.GOOGLE_LOGIN">
|
|
|
|
<div class="panel">
|
|
|
|
<div class="panel-title">Google Login:</div>
|
|
|
|
<div class="panel-body">
|
2014-08-11 22:25:01 +00:00
|
|
|
<div ng-show="hasGoogleLogin && googleLogin" class="lead col-md-8">
|
|
|
|
<i class="fa fa-google fa-lg" style="margin-right: 6px;" data-title="Google" bs-tooltip="tooltip.title"></i>
|
|
|
|
<b>{{ googleLogin }}</b>
|
2014-09-15 16:01:02 +00:00
|
|
|
<span class="delete-ui" button-title="'Detach'" delete-title="'Detach Account'" style="margin-left: 10px"
|
|
|
|
perform-delete="detachExternalLogin('google')"></span>
|
2014-08-11 22:25:01 +00:00
|
|
|
</div>
|
|
|
|
<div ng-show="hasGoogleLogin && !googleLogin" class="lead col-md-8">
|
|
|
|
<i class="fa fa-google fa-lg" style="margin-right: 6px;" data-title="Google" bs-tooltip="tooltip.title"></i>
|
|
|
|
Account attached to Google Account
|
2014-09-15 16:01:02 +00:00
|
|
|
<span class="delete-ui" button-title="'Detach'" delete-title="'Detach Account'" style="margin-left: 10px"
|
|
|
|
perform-delete="detachExternalLogin('google')"></span>
|
2014-08-11 19:47:44 +00:00
|
|
|
</div>
|
|
|
|
<div ng-show="!hasGoogleLogin" class="col-md-4">
|
|
|
|
<span class="external-login-button" provider="google" action="attach"></span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2014-01-14 20:23:44 +00:00
|
|
|
</div>
|
2013-11-15 19:42:31 +00:00
|
|
|
|
2013-11-22 23:20:51 +00:00
|
|
|
<!-- Robot accounts tab -->
|
|
|
|
<div id="robots" class="tab-pane">
|
|
|
|
<div class="robots-manager" user="user"></div>
|
|
|
|
</div>
|
|
|
|
|
2013-11-15 19:42:31 +00:00
|
|
|
<!-- Billing options tab -->
|
2014-04-05 03:26:10 +00:00
|
|
|
<div id="billingoptions" class="tab-pane" quay-require="['BILLING']">
|
2013-11-15 19:42:31 +00:00
|
|
|
<div class="billing-options" user="user"></div>
|
|
|
|
</div>
|
2013-11-07 21:33:56 +00:00
|
|
|
|
2013-12-21 03:38:53 +00:00
|
|
|
<!-- Billing History tab -->
|
2014-04-05 03:26:10 +00:00
|
|
|
<div id="billing" class="tab-pane" quay-require="['BILLING']">
|
2014-07-15 18:17:57 +00:00
|
|
|
<div class="billing-invoices" user="user" makevisible="invoicesShown"></div>
|
2013-12-21 03:38:53 +00:00
|
|
|
</div>
|
|
|
|
|
2013-11-07 21:33:56 +00:00
|
|
|
<!-- Convert to organization tab -->
|
2014-05-28 19:53:53 +00:00
|
|
|
<div id="migrate" class="tab-pane" quay-show="Config.AUTHENTICATION_TYPE == 'Database'">
|
2013-11-07 21:33:56 +00:00
|
|
|
<!-- Step 0 -->
|
|
|
|
<div class="panel" ng-show="convertStep == 0">
|
|
|
|
<div class="panel-body" ng-show="user.organizations.length > 0">
|
|
|
|
<div class="alert alert-info">
|
|
|
|
Cannot convert this account into an organization, as it is a member of {{user.organizations.length}} other
|
|
|
|
organization{{user.organizations.length > 1 ? 's' : ''}}. Please leave
|
|
|
|
{{user.organizations.length > 1 ? 'those organizations' : 'that organization'}} first.
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="panel-body" ng-show="user.organizations.length == 0">
|
2013-12-21 03:38:53 +00:00
|
|
|
<div class="alert alert-warning">
|
|
|
|
Note: Converting a user account into an organization <b>cannot be undone</b>
|
2013-11-07 21:33:56 +00:00
|
|
|
</div>
|
|
|
|
|
2013-12-21 03:38:53 +00:00
|
|
|
<button class="btn btn-primary" ng-click="showConvertForm()">Start conversion process</button>
|
2013-11-07 21:33:56 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Step 1 -->
|
|
|
|
<div class="convert-form" ng-show="convertStep == 1">
|
|
|
|
<h3>Convert to organization</h3>
|
|
|
|
|
|
|
|
<form method="post" name="convertForm" id="convertForm" ng-submit="convertToOrg()">
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="orgName">Organization Name</label>
|
|
|
|
<div class="existing-data">
|
|
|
|
<img src="//www.gravatar.com/avatar/{{ user.gravatar }}?s=24&d=identicon">
|
|
|
|
{{ user.username }}</div>
|
|
|
|
<span class="description">This will continue to be the namespace for your repositories</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="orgName">Admin User</label>
|
|
|
|
<input id="adminUsername" name="adminUsername" type="text" class="form-control" placeholder="Admin Username"
|
|
|
|
ng-model="org.adminUser" required autofocus>
|
|
|
|
<input id="adminPassword" name="adminPassword" type="password" class="form-control" placeholder="Admin Password"
|
|
|
|
ng-model="org.adminPassword" required>
|
2014-01-30 18:11:44 +00:00
|
|
|
<span class="description">
|
2014-01-30 21:06:48 +00:00
|
|
|
The username and password for the account that will become an administrator of the organization.
|
2014-08-08 17:50:04 +00:00
|
|
|
Note that this account <b>must be a separate registered account</b> from the account that you are
|
2014-01-30 21:06:48 +00:00
|
|
|
trying to convert, and <b>must already exist</b>.
|
2014-01-30 18:11:44 +00:00
|
|
|
</span>
|
2013-11-07 21:33:56 +00:00
|
|
|
</div>
|
|
|
|
|
2013-11-08 03:08:23 +00:00
|
|
|
<!-- Plans Table -->
|
2014-04-06 04:36:19 +00:00
|
|
|
<div class="form-group plan-group" quay-require="['BILLING']">
|
2013-11-08 03:08:23 +00:00
|
|
|
<label>Organization Plan</label>
|
|
|
|
<div class="plans-table" plans="orgPlans" current-plan="org.plan"></div>
|
|
|
|
</div>
|
|
|
|
|
2013-11-07 21:33:56 +00:00
|
|
|
<div class="button-bar">
|
2014-04-06 04:36:19 +00:00
|
|
|
<button class="btn btn-large btn-danger" type="submit"
|
|
|
|
ng-disabled="convertForm.$invalid || (Features.BILLING && !org.plan)"
|
2013-12-21 03:38:53 +00:00
|
|
|
analytics-on analytics-event="convert_to_organization">
|
2013-11-07 21:33:56 +00:00
|
|
|
Convert To Organization
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
2013-10-10 17:44:34 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2013-11-06 22:59:16 +00:00
|
|
|
|
2013-10-10 17:44:34 +00:00
|
|
|
</div>
|
2013-10-02 18:50:02 +00:00
|
|
|
</div>
|
2013-11-07 21:33:56 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- Modal message dialog -->
|
|
|
|
<div class="modal fade" id="cannotconvertModal">
|
|
|
|
<div class="modal-dialog">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
|
|
|
<h4 class="modal-title">Cannot convert account</h4>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
Your account could not be converted. Please try again in a moment.
|
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
|
|
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
|
|
|
</div>
|
|
|
|
</div><!-- /.modal-content -->
|
|
|
|
</div><!-- /.modal-dialog -->
|
|
|
|
</div><!-- /.modal -->
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Modal message dialog -->
|
|
|
|
<div class="modal fade" id="invalidadminModal">
|
|
|
|
<div class="modal-dialog">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
|
|
|
<h4 class="modal-title">Username or password invalid</h4>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
The username or password specified for the admin account is not valid.
|
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
|
|
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
|
|
|
</div>
|
|
|
|
</div><!-- /.modal-content -->
|
|
|
|
</div><!-- /.modal-dialog -->
|
|
|
|
</div><!-- /.modal -->
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Modal message dialog -->
|
|
|
|
<div class="modal fade" id="reallyconvertModal">
|
|
|
|
<div class="modal-dialog">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
|
|
|
<h4 class="modal-title">Convert to organization?</h4>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
<div class="alert alert-danger">You will not be able to login to this account once converted</div>
|
|
|
|
<div>Are you <b>absolutely sure</b> you would like to convert this account to an organization? Once done, there is no going back.</div>
|
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
|
|
<button type="button" class="btn btn-danger" data-dismiss="modal" ng-click="reallyConvert()">Absolutely: Convert Now</button>
|
|
|
|
<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
|
|
|
|
</div>
|
|
|
|
</div><!-- /.modal-content -->
|
|
|
|
</div><!-- /.modal-dialog -->
|
|
|
|
</div><!-- /.modal -->
|