2019-12-21 20:55:43 +05:30
|
|
|
- @hide_breadcrumbs = true
|
2019-12-26 22:10:19 +05:30
|
|
|
- page_title _('Enter Admin Mode')
|
2019-12-21 20:55:43 +05:30
|
|
|
|
|
|
|
.row.justify-content-center
|
2020-04-08 14:13:33 +05:30
|
|
|
.col-md-5.new-session-forms-container
|
2019-12-21 20:55:43 +05:30
|
|
|
.login-page
|
|
|
|
#signin-container
|
2020-04-08 14:13:33 +05:30
|
|
|
= render 'admin/sessions/tabs_normal', tab_title: _('Enter Admin Mode')
|
2019-12-21 20:55:43 +05:30
|
|
|
.tab-content
|
2020-01-01 13:55:28 +05:30
|
|
|
- if !current_user.require_password_creation_for_web?
|
|
|
|
.login-box.tab-pane.active{ id: 'login-pane', role: 'tabpanel' }
|
|
|
|
.login-body
|
|
|
|
= render 'admin/sessions/new_base'
|
|
|
|
|
|
|
|
- if omniauth_enabled? && button_based_providers_enabled?
|
|
|
|
.clearfix
|
2020-04-08 14:13:33 +05:30
|
|
|
= render 'devise/shared/omniauth_box', hide_remember_me: true
|
2020-01-01 13:55:28 +05:30
|
|
|
|
|
|
|
-# Show a message if none of the mechanisms above are enabled
|
|
|
|
- if current_user.require_password_creation_for_web? && !omniauth_enabled?
|
2019-12-21 20:55:43 +05:30
|
|
|
.prepend-top-default.center
|
|
|
|
= _('No authentication methods configured.')
|