2013-12-11 23:20:24 +00:00
|
|
|
<div class="user-setup-element">
|
|
|
|
<div class="panel-group" id="accordion">
|
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<h4 class="panel-title accordion-title">
|
2014-03-17 21:34:23 +00:00
|
|
|
<a id="signinToggle" class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" data-target="#collapseSignin">
|
2013-12-11 23:20:24 +00:00
|
|
|
Sign In
|
|
|
|
</a>
|
|
|
|
</h4>
|
|
|
|
</div>
|
2013-12-11 23:27:35 +00:00
|
|
|
<div id="collapseSignin" class="panel-collapse collapse" ng-class="hasSignedIn() ? 'in' : 'out'">
|
2013-12-11 23:20:24 +00:00
|
|
|
<div class="panel-body">
|
2015-07-16 12:00:51 +00:00
|
|
|
<div class="signin-form" signed-in="signedIn()" sign-in-started="signInStarted()" redirect-url="redirectUrl" invite-code="inviteCode"></div>
|
2013-12-11 23:20:24 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-05-11 17:32:24 +00:00
|
|
|
<div class="panel panel-default"
|
2015-09-04 20:14:46 +00:00
|
|
|
quay-show="Features.USER_CREATION && Config.AUTHENTICATION_TYPE == 'Database' && Features.DIRECT_LOGIN">
|
2013-12-11 23:20:24 +00:00
|
|
|
<div class="panel-heading">
|
|
|
|
<h6 class="panel-title accordion-title">
|
|
|
|
<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" data-target="#collapseRegister">
|
|
|
|
Create Account
|
|
|
|
</a>
|
|
|
|
</h6>
|
|
|
|
</div>
|
2013-12-11 23:27:35 +00:00
|
|
|
<div id="collapseRegister" class="panel-collapse collapse" ng-class="hasSignedIn() ? 'out' : 'in'">
|
2013-12-11 23:20:24 +00:00
|
|
|
<div class="panel-body">
|
2014-09-11 19:45:41 +00:00
|
|
|
<div class="signup-form" user-registered="handleUserRegistered(username)" invite-code="inviteCode"></div>
|
2013-12-11 23:20:24 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-05-11 17:32:24 +00:00
|
|
|
<div class="panel panel-default"
|
2015-09-04 20:14:46 +00:00
|
|
|
quay-show="Features.MAILING && Config.AUTHENTICATION_TYPE == 'Database' && Features.DIRECT_LOGIN">
|
2013-12-11 23:20:24 +00:00
|
|
|
<div class="panel-heading">
|
|
|
|
<h6 class="panel-title accordion-title">
|
|
|
|
<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" data-target="#collapseForgot">
|
|
|
|
Forgot Password
|
|
|
|
</a>
|
|
|
|
</h6>
|
|
|
|
</div>
|
|
|
|
<div id="collapseForgot" class="panel-collapse collapse out">
|
2015-12-28 20:25:31 +00:00
|
|
|
<div style="text-align: center" ng-show="sendingRecovery">
|
|
|
|
<div class="cor-loader-inline"></div>
|
|
|
|
</div>
|
2014-09-22 23:11:48 +00:00
|
|
|
<div class="panel-body" ng-show="!sendingRecovery">
|
2015-12-28 20:25:31 +00:00
|
|
|
<form class="form-signin" ng-submit="sendRecovery()" ng-show="!sent">
|
2013-12-11 23:20:24 +00:00
|
|
|
<input type="text" class="form-control input-lg" placeholder="Email" ng-model="recovery.email">
|
|
|
|
<button class="btn btn-lg btn-primary btn-block" type="submit">Send Recovery Email</button>
|
|
|
|
</form>
|
2014-11-24 21:07:38 +00:00
|
|
|
|
2015-12-28 20:25:31 +00:00
|
|
|
<div class="co-alert co-alert-danger" ng-show="invalidRecovery">{{errorMessage}}</div>
|
|
|
|
<div class="co-alert co-alert-info" ng-show="sent.status == 'org'">
|
|
|
|
The e-mail address <code>{{ sent.orgemail }}</code> is assigned to organization <code>{{ sent.orgname }}</code>.
|
|
|
|
To access that organization, an admin user must be used.
|
|
|
|
<br><br>
|
|
|
|
An e-mail has been sent to
|
|
|
|
<code>{{ sent.orgemail }}</code> with the full list of admin users.
|
|
|
|
</div>
|
|
|
|
<div class="co-alert co-alert-success" ng-show="sent.status == 'sent'">Account recovery email was sent.</div>
|
2013-12-11 23:20:24 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|