5 <%= stylesheet_link_tag "application" %>
6 <%= javascript_include_tag "application" %>
11 <div class="apptitle">ORVOS <span class="beta"><span>BETA</span></span></div>
12 <div style="float:right">
14 <%= current_user.full_name %>
15 <% if current_user.is_admin %>
17 <a class="logout" href="/admin/users">Admin</a>
20 <a class="logout" href="/logout">Log out</a>
22 <a class="logout" href="/auth/joshid">Log in</a>
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]) %>
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>
35 <div style="clear:both"></div>
37 <% if current_user or session['invite_code'] %>
39 <div style="float:right">Questions → <a href="mailto:orvos@clinicalfuture.com">orvos@clinicalfuture.com</a></div>
40 <div style="clear:both"></div>