socialforge/app/views/layouts/base_projects.html.erb

120 lines
4.1 KiB
Plaintext
Raw Normal View History

<% @nav_dispaly_project_label = 1
2015-05-19 10:10:52 +08:00
@nav_dispaly_forum_label = 1 %>
<%#@nav_dispaly_project_label = 1 %>
<!DOCTYPE html>
<html lang="en">
2015-05-19 10:10:52 +08:00
<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 %>
2016-09-19 14:23:33 +08:00
<%= stylesheet_link_tag 'jquery/jquery-ui-1.9.2','css/common','css/structure','scm','css/public', 'css/project','css/popup','prettify','repository','css/gantt', 'css/calendar' %>
<%= javascript_include_tag 'cookie','project',"avatars", 'header','prettify','select_list_move','attachments' %>
2015-12-06 15:03:36 +08:00
2015-05-19 10:10:52 +08:00
<%= call_hook :view_layouts_base_html_head %>
<!-- 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: [['$','$'], ['\\(','\\)']]}
});
2016-03-25 15:46:40 +08:00
</script>
2015-05-19 10:10:52 +08:00
</head>
<!--add by huang-->
2015-09-29 15:13:05 +08:00
<body onload="prettyPrint();">
<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-05-19 10:10:52 +08:00
<div id="Container">
<div class="cl"></div>
<div id="content">
2016-09-23 09:29:31 +08:00
<%= render :partial => 'layouts/base_project_top' %>
2015-05-19 10:10:52 +08:00
<div id="LSide" class="fl">
2016-09-27 09:13:40 +08:00
2015-05-19 10:10:52 +08:00
<!--邀请加入-->
2016-09-23 11:28:00 +08:00
<div class="subNavBoxProject">
2015-05-19 10:10:52 +08:00
<div id="project_memu_list">
2016-10-08 15:58:05 +08:00
<%#= render :partial => 'projects/development_group', :locals => {:project => @project} %>
2015-05-19 10:10:52 +08:00
</div>
2016-09-23 11:28:00 +08:00
</div>
<!--项目侧导航 end-->
2015-05-19 10:10:52 +08:00
<div class="cl"></div>
<!-- 项目描述 -->
<div class="project_intro">
<div id="course_description" class="course_description">
<h4 ><%= l(:label_project_overview)%></h4>
<div id="course_description_content" class="break_word">
<%= textilizable(@project.description) if @project.description && !@project.description.blank? %>
</div>
</div>
<div class="lg-foot" id="lg-foot" onclick="show_more_msg();">
<label id="expend_more_information" value="show_more"><%= l(:label_expend_information)%></label>
<span class="g-arr-down">
<img id="arrow" src="/images/jiantou.jpg" width="12" height="6" />
</span>
</div>
</div><!--项目简介 end-->
2015-05-19 10:10:52 +08:00
<!-- tag模块 -->
<div class="project_Label">
2016-01-20 18:37:39 +08:00
<h4 class="mb5"><%= l(:label_tag)%></h4>
2015-05-19 10:10:52 +08:00
<div class="tag_h">
<div id="tags">
<%= render :partial => 'tags/project_tag', :locals => {:obj => @project,:object_flag => "2"}%>
</div>
</div>
<div class="cl"></div>
2015-05-19 10:10:52 +08:00
</div><!--项目标签 end-->
2016-06-17 14:31:42 +08:00
<div class="fontGrey5 mt10 ml10 mb10">访问计数 <%= @project.visits.to_i %> 自2016年5月</div>
</div>
2015-05-19 10:10:52 +08:00
</div>
<div class="fl">
2015-05-19 10:10:52 +08:00
<%= render_flash_messages %>
<%= yield %>
<%= call_hook :view_layouts_base_content %>
<div style="clear:both;"></div>
</div>
<div style="clear:both;"></div>
</div><!--Container end-->
<div class="cl"></div>
<%= render :partial => 'layouts/footer' %>
<div class="cl"></div>
2016-08-31 10:30:23 +08:00
<% if hidden_unproject_infos %>
<%= render :partial => 'layouts/new_feedback' %>
<% end %>
2015-12-17 15:15:00 +08:00
2015-05-19 10:10:52 +08:00
<div id="ajax-indicator" style="display:none;">
<span><%= l(:label_loading) %></span>
</div>
<div id="ajax-modal" style="display:none;"></div>
<div id="nh_tx_dialog_html" class="white_content" style="display:none;">
<%=render :partial => 'layouts/upload_avatar', :locals => {:source => @project} %>
</div>
2015-05-19 10:10:52 +08:00
<%= call_hook :view_layouts_base_body_bottom %>
</body>
</html>