X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/3dc2b0008be4e09b47f73aeeb97d005cd7836619..0eb72b526bf8bbb011551ecf019f604e17a534f1:/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 b78210830e..b10ca8b15d 100644 --- a/apps/workbench/app/views/users/welcome.html.erb +++ b/apps/workbench/app/views/users/welcome.html.erb @@ -1,21 +1,45 @@ -<%= image_tag "dax.png", style: "float: left; max-width: 25%; margin-right: 2em" %> -

Hi there! Please log in to use <%= Rails.configuration.site_name %>.

-
-
+<%# Copyright (C) The Arvados Authors. All rights reserved. + +SPDX-License-Identifier: AGPL-3.0 %> + +<% content_for :breadcrumbs do raw '' end %> + +
+
-

When you click on the button below you will be taken to a Google sign-in page. - After entering your information, you will be redirected back to <%= Rails.configuration.site_name %> - If you have never used <%= Rails.configuration.site_name %> before, logging in for the first - time will also create a new user account. <%= Rails.configuration.site_name %> uses your name and - email address from Google services only for identification, and can not access any personal information - beyond that. -

+ <%= image_tag "dax.png", style: "width: 112px; height: 150px; margin-right: 2em", class: 'pull-left' %> + +

Please log in.

+

- - Click here to log in to <%= Rails.configuration.site_name %> with a Google account + + 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 %>. + +

+ + 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. +

+ <%# 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 %> +
- -