18947: Update keep-balance package script.
[arvados.git] / services / api / app / views / static / intro.html.erb
1 <%# Copyright (C) The Arvados Authors. All rights reserved.
2
3 SPDX-License-Identifier: AGPL-3.0 %>
4
5 <% content_for :js do %>
6 $(function(){
7   $('button.login').button().click(function(){window.location=$(this).attr('href')});
8 });
9 <% end %>
10 <div id="intropage">
11   <img class="arvados-logo" src="<%= asset_path('logo.png') %>" style="display:block; margin:2em auto"/>
12   <div style="width:30em; margin:2em auto 0 auto">
13     <h1>Welcome</h1>
14     <h4>ARVADOS</h4>
15
16     <% if !current_user and session['invite_code'] %>
17
18     <p>Arvados lets you manage and process biomedical data.</p>
19     <p style="float:right;margin-top:1em">
20       <button class="login" href="/login">Log in and get started</button>
21     </p>
22
23     <% else %>
24
25     <% if !current_user %>
26     <p style="float:right;margin-top:1em">
27       <a href="/login">Log in here.</a>
28     </p>
29     <% end %>
30
31     <% end %>
32
33     <div style="clear:both;height:8em"></div>
34   </div>
35 </div>