2014-12-31 08:48:14 +08:00
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="<%= current_language %>">
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
|
<title><%=h html_title %></title>
|
2015-03-25 11:02:20 +08:00
|
|
|
|
<%= render :partial => "layouts/point_browser" %>
|
2014-12-31 08:48:14 +08:00
|
|
|
|
<meta name="description" content="<%= Redmine::Info.app_name %>" />
|
|
|
|
|
<meta name="keywords" content="issue,bug,tracker" />
|
|
|
|
|
<%= csrf_meta_tag %>
|
|
|
|
|
<%= favicon %>
|
2015-09-10 16:38:45 +08:00
|
|
|
|
<%= stylesheet_link_tag 'jquery/jquery-ui-1.9.2', 'application','prettify', 'nyan', :media => 'all' %>
|
2014-12-31 08:48:14 +08:00
|
|
|
|
<%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %>
|
|
|
|
|
<%= javascript_heads %>
|
|
|
|
|
<%= javascript_include_tag "jquery.leanModal.min" %>
|
2015-09-10 16:38:45 +08:00
|
|
|
|
<%= javascript_include_tag 'seems_rateable/jRating','prettify', 'seems_rateable/rateable'%>
|
2014-12-31 08:48:14 +08:00
|
|
|
|
<%= heads_for_theme %>
|
|
|
|
|
<%= call_hook :view_layouts_base_html_head %>
|
|
|
|
|
<!-- page specific tags -->
|
|
|
|
|
<%= yield :header_tags -%>
|
2015-08-25 15:09:02 +08:00
|
|
|
|
<%= stylesheet_link_tag 'base','header', :media => 'all'%>
|
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>
|
2014-12-31 08:48:14 +08:00
|
|
|
|
</head>
|
2015-09-29 15:13:05 +08:00
|
|
|
|
<body class="<%=h body_css_classes %>" onload="prettyPrint();">
|
2015-08-25 15:09:02 +08:00
|
|
|
|
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<div class="navContainer mb10">
|
|
|
|
|
<% if User.current.logged? %>
|
2015-08-25 18:59:45 +08:00
|
|
|
|
<%= render :partial => 'layouts/logined_header',:locals=>{:name=>@name,:type=>@type} %>
|
2015-08-25 15:09:02 +08:00
|
|
|
|
<% else%>
|
2015-08-25 18:59:45 +08:00
|
|
|
|
<%= render :partial => 'layouts/unlogin_header',:locals=>{:name=>@name,:type=>@type} %>
|
2015-08-25 15:09:02 +08:00
|
|
|
|
<% end%>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
|
2014-12-31 08:48:14 +08:00
|
|
|
|
<div id="wrapper">
|
|
|
|
|
<div id="wrapper2">
|
|
|
|
|
<div id="wrapper3">
|
|
|
|
|
<div id="main" class="nosidebar">
|
|
|
|
|
<div id="content_">
|
|
|
|
|
<%= render_flash_messages %>
|
|
|
|
|
<%= yield %>
|
|
|
|
|
<%= call_hook :view_layouts_base_content %>
|
|
|
|
|
<div style="clear:both;"></div>
|
2015-08-25 15:09:02 +08:00
|
|
|
|
<%#=render :partial => 'layouts/base_footer'%>
|
2014-12-31 08:48:14 +08:00
|
|
|
|
</div>
|
2015-05-26 09:37:29 +08:00
|
|
|
|
|
2014-12-31 08:48:14 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div id="ajax-indicator" style="display:none;"><span><%= l(:label_loading) %></span></div>
|
|
|
|
|
<div id="ajax-modal" style="display:none;"></div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2015-08-25 15:09:02 +08:00
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<%= render :partial => 'layouts/footer' %>
|
|
|
|
|
<div class="cl"></div>
|
2014-12-31 08:48:14 +08:00
|
|
|
|
<%= call_hook :view_layouts_base_body_bottom %>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|