Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

EZP-31880: Login screen - change the order of items found by access key #1498

Merged
merged 2 commits into from
Sep 18, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 18 additions & 16 deletions src/bundle/Resources/views/themes/admin/account/#/index.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -13,30 +13,32 @@
<div class="ez-login__input-label-wrapper">
<label class="ez-login__input-label" for="username">{{ 'authentication.username'|trans|desc('Username') }}</label>
</div>
<input
type="text"
id="username"
class="form-control ez-login__input ez-login__input--username"
name="_username"
value="{{ last_username }}"
required="required"
autofocus="autofocus"
<input
type="text"
id="username"
class="form-control ez-login__input ez-login__input--username"
name="_username"
value="{{ last_username }}"
required="required"
autofocus="autofocus"
autocomplete="on"
tabindex="1"
/>
</div>
<div class="form-group{% if error %} has-error{% endif %} position-relative">
<div class="ez-login__input-label-wrapper">
<label class="ez-login__input-label" for="password">{{ 'authentication.password'|trans|desc('Password') }}</label>
<a href="{{ path('ezplatform.user.forgot_password') }}">{{ 'authentication.forgot_password'|trans|desc('Forgot password?') }}</a>
<a href="{{ path('ezplatform.user.forgot_password') }}" tabindex="4">{{ 'authentication.forgot_password'|trans|desc('Forgot password?') }}</a>
</div>
<input
type="password"
id="password"
class="form-control ez-login__input ez-login__input--password"
name="_password"
<input
type="password"
id="password"
class="form-control ez-login__input ez-login__input--password"
name="_password"
required="required"
tabindex="2"
/>
<button type="button" class="ez-login__password-visibility-toggler">
<button type="button" class="ez-login__password-visibility-toggler" tabindex="5">
<svg class="ez-icon ez-icon--medium ez-icon--dark ez-icon--view">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="{{ asset('bundles/ezplatformadminui/img/ez-icons.svg#view') }}"></use>
</svg>
Expand All @@ -48,7 +50,7 @@

<input type="hidden" name="_csrf_token" value="{{ csrf_token("authenticate") }}" />

<button type="submit" class="btn btn-primary ez-login__btn ez-login__btn--sign-in">{{ 'authentication.sign_in'|trans|desc('#') }}</button>
<button type="submit" class="btn btn-primary ez-login__btn ez-login__btn--sign-in" tabindex="3">{{ 'authentication.sign_in'|trans|desc('#') }}</button>
</fieldset>
</form>

Expand Down