diff options
author | Kushal Pandya <kushalspandya@gmail.com> | 2019-09-02 12:44:13 +0530 |
---|---|---|
committer | Kushal Pandya <kushalspandya@gmail.com> | 2019-09-02 12:44:13 +0530 |
commit | 68e1c9206bc45719a7239dc98485764416ff2dad (patch) | |
tree | 707a8b61ddc32447bce464e8fdad184fa2f0f788 /app/views/layouts/devise.html.haml | |
parent | effd7e72e3499328ae64746d5be1227fd4c8a561 (diff) | |
download | gitlab-ce-68e1c9206bc45719a7239dc98485764416ff2dad.tar.gz |
Add browser and platform flags
- Adds CSS classes to represent browser & platform
- Adds JS flags to `gl` object to represent
browser & platform
Diffstat (limited to 'app/views/layouts/devise.html.haml')
-rw-r--r-- | app/views/layouts/devise.html.haml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/layouts/devise.html.haml b/app/views/layouts/devise.html.haml index e9a4a068599..d36e08f44a4 100644 --- a/app/views/layouts/devise.html.haml +++ b/app/views/layouts/devise.html.haml @@ -1,8 +1,9 @@ !!! 5 %html.devise-layout-html{ class: system_message_class } = render "layouts/head" - %body.ui-indigo.login-page.application.navless{ data: { page: body_data_page, qa_selector: 'login_page' } } + %body.ui-indigo.login-page.application.navless{ class: "#{client_class_list}", data: { page: body_data_page, qa_selector: 'login_page' } } = header_message + = render "layouts/init_client_detection_flags" .page-wrap = render "layouts/header/empty" .login-page-broadcast |