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 %>
|
2015-08-25 16:39:22 +08:00
|
|
|
<%= stylesheet_link_tag 'jquery/jquery-ui-1.9.2', 'new_user', 'user_leftside', :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>
|
2015-08-27 10:01:13 +08:00
|
|
|
<
|
|
|
|
<script type="text/javascript" charset="utf-8">
|
|
|
|
$(function() {
|
|
|
|
$(document).keyup(function (e) {
|
|
|
|
var e = e || event,
|
|
|
|
code = e.which || e.keyCode;
|
|
|
|
if (code == 13 && $("#loginInBox").css('display') == 'block') {
|
|
|
|
e.preventDefault();
|
|
|
|
$('#main_login_form').submit();
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
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 %>
|
2015-08-27 09:28:13 +08:00
|
|
|
<div class="cl"></div>
|
|
|
|
<%= render :partial => 'layouts/footer' %>
|
|
|
|
<div class="cl"></div>
|
|
|
|
<%= call_hook :view_layouts_base_body_bottom %>
|
|
|
|
</body>
|
|
|
|
</html>
|