Merge branch '8784-dir-listings'
[arvados.git] / apps / workbench / app / views / users / welcome.html.erb
1 <%# Copyright (C) The Arvados Authors. All rights reserved.
2
3 SPDX-License-Identifier: AGPL-3.0 %>
4
5 <% content_for :breadcrumbs do raw '<!-- -->' end %>
6
7 <div class="row">
8   <div class="col-sm-8 col-sm-push-4" style="margin-top: 1em">
9     <div class="well clearfix">
10       <%= image_tag "dax.png", style: "width: 112px; height: 150px; margin-right: 2em", class: 'pull-left' %>
11
12       <h3 style="margin-top:0">Please log in.</h3>
13
14       <p>
15
16         The "Log in" button below will show you a Google sign-in page.
17         After you assure Google that you want to log in here with your
18         Google account, you will be redirected back here to
19         <%= Rails.configuration.site_name %>.
20
21       </p><p>
22
23         If you have never used <%= Rails.configuration.site_name %>
24         before, logging in for the first time will automatically
25         create a new account.
26
27       </p><p>
28
29         <i><%= Rails.configuration.site_name %> uses your name and
30           email address only for identification, and does not retrieve
31           any other personal information from Google.</i>
32
33       </p>
34         <%# Todo: add list of external authentications providers to
35             discovery document, then generate the option list here. Right
36             now, don't provide 'auth_provider' to get the default one. %>
37         <div class="pull-right">
38           <%= link_to arvados_api_client.arvados_login_url(return_to: request.url), class: "btn btn-primary" do %>
39           Log in to <%= Rails.configuration.site_name %>
40           <i class="fa fa-fw fa-arrow-circle-right"></i>
41           <% end %>
42         </div>
43     </div>
44   </div>
45 </div>