2014-09-15 10:58:14 +08:00
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="<%= current_language %>">
|
|
|
|
|
<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-09-18 17:44:16 +08:00
|
|
|
|
<%= stylesheet_link_tag 'jquery/jquery-ui-1.9.2','application', 'nyan','prettify', :media => 'all' %>
|
2014-09-15 10:58:14 +08:00
|
|
|
|
<%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %>
|
|
|
|
|
<%= javascript_heads %>
|
2015-09-18 17:44:16 +08:00
|
|
|
|
<%= javascript_include_tag "jquery.leanModal.min" ,'prettify','avatars'%>
|
2014-09-15 10:58:14 +08:00
|
|
|
|
<%= javascript_include_tag 'seems_rateable/jRating', 'seems_rateable/rateable'%>
|
|
|
|
|
<%= heads_for_theme %>
|
|
|
|
|
<%= call_hook :view_layouts_base_html_head %>
|
|
|
|
|
<!-- page specific tags -->
|
|
|
|
|
<%= yield :header_tags -%>
|
2015-09-18 17:44:16 +08:00
|
|
|
|
<%= stylesheet_link_tag 'base','header','new_user' ,: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-09-15 10:58:14 +08:00
|
|
|
|
</head>
|
2015-09-29 15:13:05 +08:00
|
|
|
|
<body 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>
|
|
|
|
|
|
2015-09-18 17:44:16 +08:00
|
|
|
|
<!--<div id="wrapper">-->
|
|
|
|
|
<!--<div id="wrapper2">-->
|
|
|
|
|
<!--<div id="wrapper3">-->
|
|
|
|
|
<!--<%#=render :partial => 'layouts/base_header'%>-->
|
|
|
|
|
<!--<div id="main" class="nosidebar">-->
|
|
|
|
|
<!--<div id="content_">-->
|
2014-09-15 10:58:14 +08:00
|
|
|
|
<%= render_flash_messages %>
|
|
|
|
|
<%= yield %>
|
|
|
|
|
<%= call_hook :view_layouts_base_content %>
|
|
|
|
|
<div style="clear:both;"></div>
|
2015-09-18 17:44:16 +08:00
|
|
|
|
<!--</div>-->
|
2014-09-15 10:58:14 +08:00
|
|
|
|
|
2015-09-18 17:44:16 +08:00
|
|
|
|
<!--</div>-->
|
|
|
|
|
<!--</div>-->
|
2014-09-15 10:58:14 +08:00
|
|
|
|
|
2015-01-10 18:01:41 +08:00
|
|
|
|
<div id="ajax-indicator" style="display:none;"><span><%= l(:label_loading) %></span></div>
|
2014-09-15 10:58:14 +08:00
|
|
|
|
<div id="ajax-modal" style="display:none;"></div>
|
|
|
|
|
|
|
|
|
|
|
2015-09-18 17:44:16 +08:00
|
|
|
|
<!--</div>-->
|
|
|
|
|
<!--</div>-->
|
2015-08-25 15:09:02 +08:00
|
|
|
|
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<%= render :partial => 'layouts/footer' %>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
|
2015-01-09 12:29:49 +08:00
|
|
|
|
<%= call_hook :view_layouts_base_body_bottom %>
|
2014-09-15 10:58:14 +08:00
|
|
|
|
</body>
|
|
|
|
|
</html>
|