X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/c70fde67e6f6937dd63889da4df185003ce44e60..4c8559157a16bf3d2781714fdec0275fb7f53ac6:/apps/workbench/app/views/users/welcome.html.erb diff --git a/apps/workbench/app/views/users/welcome.html.erb b/apps/workbench/app/views/users/welcome.html.erb index 4541d5be29..f23daa7690 100644 --- a/apps/workbench/app/views/users/welcome.html.erb +++ b/apps/workbench/app/views/users/welcome.html.erb @@ -3,48 +3,39 @@
- <%= image_tag "dax.png", style: "width: 147px; height: 197px; max-width: 25%; margin-right: 2em", class: 'pull-left' %> + <%= image_tag "dax.png", style: "width: 112px; height: 150px; margin-right: 2em", class: 'pull-left' %> -

Please log in.

+

Please log in.

The "Log in" button below will show you a Google sign-in page. - After you assure Google that you want to log in here with your - Google account, you will be redirected back here to - <%= Rails.configuration.site_name %>. + After you assure Google that you want to log in here with your + Google account, you will be redirected back here to + <%= Rails.configuration.site_name %>.

- If you have never used <%= Rails.configuration.site_name %> - before, logging in for the first time will automatically - create a new account. + If you have never used <%= Rails.configuration.site_name %> + before, logging in for the first time will automatically + create a new account.

<%= Rails.configuration.site_name %> uses your name and - email address only for identification, and does not retrieve - any other personal information from Google. + email address only for identification, and does not retrieve + any other personal information from Google.

-

- - <%= form_tag(arvados_api_client.arvados_login_url(), :method => :get, :authenticity_token => false) do %> - <%= hidden_field_tag 'return_to', request.url %> -

- - <%# Todo: add list of external authentications providers to - discovery document, then generate the option list on the fly. Right - now, don't provide 'auth_provider' and hope that the default one is - the one we want. %> - - <%#= select_tag "auth_provider", "".html_safe, class: "form-control", style: "width: 15em; display: inline" %> - <%= button_tag type: 'submit', name: nil, class: "btn btn-primary" do %> - Log in to <%= Rails.configuration.site_name %> + <%# Todo: add list of external authentications providers to + discovery document, then generate the option list here. Right + now, don't provide 'auth_provider' to get the default one. %> +
+ <%= link_to arvados_api_client.arvados_login_url(return_to: request.url), class: "btn btn-primary" do %> + Log in to <%= Rails.configuration.site_name %> + <% end %>
- <% end %> -