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/directives/user-setup.html
Joseph Schorr 4aab834156 Move to Angular 1.5
This has been reasonably well tested, but further testing should be done on staging.

Also optimizes avatar handling to use a constant size and not 404.

Fixes #1434
2016-05-17 16:32:08 -04:00

38 lines
1.5 KiB
HTML

<div class="user-setup-element">
<div class="user-setup-element-view">
<div class="setup-logo-container" ng-show="hideLogo != 'true'">
<img ng-src="{{ Config.getEnterpriseLogo(true) }}">
</div>
<div class="user-setup-content">
<div class="pane-container-container">
<div class="pane-container" ng-class="currentView">
<!-- Create Account -->
<div class="content-pane">
<div class="signup-form" user-registered="handleUserRegistered(username)" invite-code="inviteCode"></div>
</div>
<!-- Sign in -->
<div class="content-pane">
<div class="signin-form" signed-in="signedIn()" sign-in-started="signInStarted()" redirect-url="redirectUrl" invite-code="inviteCode"></div>
</div>
<!-- Recover Account -->
<div class="content-pane">
<div class="recovery-form"></div>
</div>
</div>
</div>
</div>
<div class="user-footer-links">
<a ng-click="setView('createAccount')"
quay-show="Features.USER_CREATION && Config.AUTHENTICATION_TYPE == 'Database' && Features.DIRECT_LOGIN"
ng-if="currentView != 'createAccount'">Create Account</a>
<a ng-click="setView('signin')" ng-if="currentView != 'signin'">Sign In</a>
<a ng-click="setView('forgotPassword')"
quay-show="Features.MAILING && Config.AUTHENTICATION_TYPE == 'Database' && Features.DIRECT_LOGIN"
ng-if="currentView != 'forgotPassword'">Forgot Password?</a>
</div>
</div>
</div>