2015-03-26 15:12:14 +08:00
|
|
|
|
<% course_model %>
|
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="en">
|
|
|
|
|
<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 %>
|
|
|
|
|
<%= javascript_heads %>
|
|
|
|
|
<%= heads_for_theme %>
|
|
|
|
|
<%= call_hook :view_layouts_base_html_head %>
|
2015-11-03 11:19:38 +08:00
|
|
|
|
<%= stylesheet_link_tag 'public', 'leftside', 'courses','header','prettify', 'org'%>
|
2015-09-10 16:38:45 +08:00
|
|
|
|
<%= javascript_include_tag "course","header",'prettify' %>
|
2015-03-26 15:12:14 +08:00
|
|
|
|
<!-- page specific tags -->
|
|
|
|
|
<%= 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-03-26 15:12:14 +08:00
|
|
|
|
</head>
|
|
|
|
|
<!--add by huang-->
|
2015-09-29 15:13:05 +08:00
|
|
|
|
<body onload="prettyPrint();">
|
2015-08-26 17:54:41 +08:00
|
|
|
|
|
|
|
|
|
<div class="navContainer mb10">
|
|
|
|
|
<% if User.current.logged? %>
|
|
|
|
|
<%= render :partial => 'layouts/logined_header' %>
|
|
|
|
|
<% else%>
|
|
|
|
|
<%= render :partial => 'layouts/unlogin_header' %>
|
|
|
|
|
<% end%>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
|
2015-03-26 15:12:14 +08:00
|
|
|
|
<div id="Container">
|
2015-08-26 17:54:41 +08:00
|
|
|
|
<%#= render :partial => 'layouts/new_header' %>
|
2015-03-26 15:12:14 +08:00
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
|
|
|
|
|
<div id="content02" >
|
2015-03-26 16:01:25 +08:00
|
|
|
|
<%= render_flash_messages %>
|
|
|
|
|
<%= yield %>
|
|
|
|
|
<%= call_hook :view_layouts_base_content %>
|
2015-03-26 15:12:14 +08:00
|
|
|
|
</div><!--Content end-->
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
|
2015-08-26 17:54:41 +08:00
|
|
|
|
<%#= render :partial => 'layouts/new_footer' %>
|
2015-03-26 15:12:14 +08:00
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
</div><!--Container end-->
|
2015-08-26 17:54:41 +08:00
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<%= render :partial => 'layouts/footer' %>
|
|
|
|
|
<div class="cl"></div>
|
2015-03-26 15:12:14 +08:00
|
|
|
|
<%= render :partial => 'layouts/new_feedback' %>
|
|
|
|
|
<div id="ajax-indicator" style="display:none;">
|
|
|
|
|
<span><%= l(:label_loading) %></span>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="ajax-modal" style="display:none;"></div>
|
|
|
|
|
<%= call_hook :view_layouts_base_body_bottom %>
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
|
|
</html>
|