login.html.haml 1.15 KB
Newer Older
1
- breadcrumb_title 'Kubernetes'
2 3
- page_title _("Login")

4 5
= render_gcp_signup_offer

6
.row.prepend-top-default
Filipa Lacerda's avatar
Filipa Lacerda committed
7
  .col-sm-4
8
    = render 'projects/clusters/sidebar'
Filipa Lacerda's avatar
Filipa Lacerda committed
9
  .col-sm-8
10
    = render 'projects/clusters/dropdown', dropdown_text: s_('ClusterIntegration|Create Kubernetes cluster on Google Kubernetes Engine')
Filipa Lacerda's avatar
Filipa Lacerda committed
11
    = render 'header'
12
.row
13
  .col-sm-8.col-sm-offset-4.signin-with-google
14
    - if @authorize_url
Filipa Lacerda's avatar
Filipa Lacerda committed
15
      = link_to @authorize_url do
Filipa Lacerda's avatar
Filipa Lacerda committed
16
        = image_tag('auth_buttons/signin_with_google.png', width: '191px')
17 18
      = _('or')
      = link_to('create a new Google account', 'https://accounts.google.com/SignUpWithoutGmail?service=cloudconsole&continue=https%3A%2F%2Fconsole.cloud.google.com%2Ffreetrial%3Futm_campaign%3D2018_cpanel%26utm_source%3Dgitlab%26utm_medium%3Dreferral', target: '_blank', rel: 'noopener noreferrer')
Filipa Lacerda's avatar
Filipa Lacerda committed
19 20 21
    - else
      - link = link_to(s_('ClusterIntegration|properly configured'), help_page_path("integration/google"), target: '_blank', rel: 'noopener noreferrer')
      = s_('Google authentication is not %{link_to_documentation}. Ask your GitLab administrator if you want to use this service.').html_safe % { link_to_documentation: link }