Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Escue <scott.escue@gmail.com>2018-06-05 00:28:18 +0300
committerMike Greiling <mike@pixelcog.com>2019-01-10 09:00:39 +0300
commit4dcaa4df3622ae267363fcff184d0929b2102035 (patch)
tree6135c100e67c14b3359aceea4a36c0d02e2dc9a1 /spec/javascripts/fixtures
parent6540a9468a8bce3f496423179db1862cfb9f5c8c (diff)
Addressing peer review feedback.
Replacing inline JS with ES 2015 functions included in pages/sessions/new. Also applying suggested server-side syntax improvements to OmniAuthCallbacksController.
Diffstat (limited to 'spec/javascripts/fixtures')
-rw-r--r--spec/javascripts/fixtures/signin_forms_and_buttons.html.haml21
1 files changed, 21 insertions, 0 deletions
diff --git a/spec/javascripts/fixtures/signin_forms_and_buttons.html.haml b/spec/javascripts/fixtures/signin_forms_and_buttons.html.haml
new file mode 100644
index 00000000000..32a9becb636
--- /dev/null
+++ b/spec/javascripts/fixtures/signin_forms_and_buttons.html.haml
@@ -0,0 +1,21 @@
+#signin-container
+ .tab-content
+ .active.login-box.tab-pane
+ .login-body
+ %form#new_ldap_user{ action: '/users/auth/ldapmain/callback', method: 'post' }
+
+ .login-box.tab-pane
+ .login-body
+ %form#new_user.new_user{ action: '/users/sign_in', method: 'post' }
+
+ #register-pane.login-box.tab-pane
+ .login-body
+ %form#new_new_user.new_new_user{ action: '/users', method: 'post' }
+
+ .omniauth-container
+ %span.light
+ %a#oauth-login-auth0.oauth-login.btn{ href: '/users/auth/auth0' } Auth0
+ %span.light
+ %a#oauth-login-facebook.oauth-login.btn{ href:'/users/auth/facebook?remember_me=1' } Facebook
+ %span.light
+ %a#oauth-login-saml.oauth-login.btn{ href:'/users/auth/saml' } SAML