2014-12-19 23:12:32 +08:00
|
|
|
|
<% @nav_dispaly_home_path_label = 1
|
|
|
|
|
@nav_dispaly_main_course_label = 1
|
|
|
|
|
@nav_dispaly_main_project_label = 1
|
|
|
|
|
@nav_dispaly_main_contest_label = 1 %>
|
|
|
|
|
<% @nav_dispaly_forum_label = 1%>
|
2014-07-21 11:14:17 +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-10 16:38:45 +08:00
|
|
|
|
<%= stylesheet_link_tag 'jquery/jquery-ui-1.9.2', 'application', 'nyan','prettify', :media => 'all' %>
|
2014-07-21 11:14:17 +08:00
|
|
|
|
<%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %>
|
|
|
|
|
<%= javascript_heads %>
|
2015-09-10 16:38:45 +08:00
|
|
|
|
<%= javascript_include_tag "jquery.leanModal.min",'prettify' %>
|
2014-07-21 11:14:17 +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 -%>
|
2016-06-24 09:30:46 +08:00
|
|
|
|
<%= stylesheet_link_tag 'css/common','css/structure','css/public', :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-07-21 11:14:17 +08:00
|
|
|
|
</head>
|
|
|
|
|
<body class="<%=h body_css_classes %>">
|
2015-08-25 18:26:54 +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 18:26:54 +08:00
|
|
|
|
<% else%>
|
2015-08-25 18:59:45 +08:00
|
|
|
|
<%= render :partial => 'layouts/unlogin_header' ,:locals=>{:name=>@name,:type=>@type}%>
|
2015-08-25 18:26:54 +08:00
|
|
|
|
<% end%>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="cl"></div>
|
2014-07-21 11:14:17 +08:00
|
|
|
|
<div id="wrapper">
|
|
|
|
|
<div id="wrapper2">
|
|
|
|
|
<div id="wrapper3">
|
2015-08-25 18:26:54 +08:00
|
|
|
|
<%#=render :partial => 'layouts/base_header'%>
|
2014-07-21 11:14:17 +08:00
|
|
|
|
<div id="main" class="nosidebar">
|
|
|
|
|
<div id="content_">
|
|
|
|
|
<%= render_flash_messages %>
|
|
|
|
|
<%= yield %>
|
|
|
|
|
<%= call_hook :view_layouts_base_content %>
|
2015-08-25 18:26:54 +08:00
|
|
|
|
<!--<div style="clear:both;"></div>-->
|
|
|
|
|
<!--<%#=render :partial => 'layouts/base_footer'%>-->
|
2014-07-21 11:14:17 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</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 18:26:54 +08:00
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<%= render :partial => 'layouts/footer' %>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
|
2014-07-21 11:14:17 +08:00
|
|
|
|
<%= call_hook :view_layouts_base_body_bottom %>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|