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 -%>
|
2015-11-17 15:24:01 +08:00
|
|
|
|
<!-- MathJax的配置 -->
|
|
|
|
|
<script type="text/javascript"
|
|
|
|
|
src="/javascripts/MathJax/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
|
|
|
|
|
</script>
|
|
|
|
|
<!-- 配置 : 在生成的公式图片上去掉Math定义的右键菜单,$$ $$ \( \) \[ \] 中的公式给予显示-->
|
|
|
|
|
<script type="text/x-mathjax-config">
|
|
|
|
|
MathJax.Hub.Config({
|
|
|
|
|
showMathMenu: false,
|
|
|
|
|
showMathMenuMSIE: false,
|
|
|
|
|
tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}
|
|
|
|
|
});
|
|
|
|
|
</script>
|
2015-08-25 14:24:20 +08:00
|
|
|
|
</head>
|
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>
|