socialforge/app/views/layouts/login.html.erb

34 lines
1.2 KiB
Plaintext
Raw Normal View History

2015-08-25 14:24:20 +08:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title><%= h html_title %></title>
<meta name="description" content="<%= Redmine::Info.app_name %>" />
<meta name="keywords" content="issue,bug,tracker" />
<%= csrf_meta_tag %>
<%= favicon %>
<%= stylesheet_link_tag 'jquery/jquery-ui-1.9.2', 'css/common', 'css/structure', :media => 'all' %>
2015-08-25 14:24:20 +08:00
<%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %>
2015-08-24 16:22:22 +08:00
<%= javascript_heads %>
2015-08-25 14:24:20 +08:00
<%= javascript_include_tag "bootstrap","avatars","new_user"%>
<%= heads_for_theme %>
<%= call_hook :view_layouts_base_html_head %>
<%= yield :header_tags -%>
</head>
2016-06-16 10:21:21 +08:00
<body style="background-color: #fff">
2015-08-24 16:22:22 +08:00
<div class="navContainer">
2015-08-25 14:24:20 +08:00
<% is_current_user = User.current.logged? && User.current == @user%>
<% if User.current.logged? %>
<%= render :partial => 'layouts/logined_header' %>
<% else%>
<%= render :partial => 'layouts/unlogin_header' %>
<% end%>
2015-08-24 16:22:22 +08:00
</div>
2015-08-25 14:51:07 +08:00
2015-08-25 14:24:20 +08:00
<%= yield %>
<div class="cl"></div>
<%= render :partial => 'layouts/footer' %>
<div class="cl"></div>
<%= call_hook :view_layouts_base_body_bottom %>
</body>
</html>