Replace all remaining references to Clinical Future with Curoverse.
[arvados.git] / services / api / app / views / layouts / application.html.erb
1 <!DOCTYPE html>
2 <html>
3 <head>
4   <title>Server</title>
5   <%= stylesheet_link_tag    "application" %>
6   <%= javascript_include_tag "application" %>
7   <%= csrf_meta_tags %>
8 </head>
9 <body>
10 <div id="header">
11   <div class="apptitle">ARVADOS <span class="beta"><span>BETA</span></span></div>
12   <div style="float:right">
13     <% if current_user %>
14     <%= current_user.full_name %>
15     <% if current_user.is_admin %>
16     &nbsp;&bull;&nbsp;
17     <a class="logout" href="/admin/users">Admin</a>
18     <% end %>
19     &nbsp;&bull;&nbsp;
20     <a class="logout" href="/logout">Log out</a>
21     <% else %>
22     <a class="logout" href="/auth/joshid">Log in</a>
23     <% end %>
24
25     <% if current_user and session[:real_uid] and session[:switch_back_to] and User.find(session[:real_uid].to_i).verify_userswitch_cookie(session[:switch_back_to]) %>
26     &nbsp;&bull;&nbsp;
27     <span class="sudo-warning">Logged in as <b><%= current_user.full_name %></b>. <%= link_to "Back to #{User.find(session[:real_uid]).full_name}", switch_to_user_path(session[:real_uid]), :method => :post, :class => 'sudo-logout' %></span>
28     <% end %>
29   </div>
30 </div>
31
32
33 <%= yield %>
34
35 <div style="clear:both"></div>
36
37 <% if current_user or session['invite_code'] %>
38 <div id="footer">
39   <div style="float:right">Questions &rarr; <a href="mailto:arvados@curoverse.com">arvados@curoverse.com</a></div>
40   <div style="clear:both"></div>
41 </div>
42 <% end %>
43
44 </body>
45 </html>