|
|
|
@ -19,47 +19,35 @@
|
|
|
|
|
<body class="<%= h body_css_classes %>">
|
|
|
|
|
<div id="wrapper">
|
|
|
|
|
<div id="wrapper2">
|
|
|
|
|
<div id="wrapper3">
|
|
|
|
|
<% if session[:enterprise_college] == 2 %>
|
|
|
|
|
<%=render :partial => 'layouts/base_enterprise_header'%>
|
|
|
|
|
<% elsif session[:enterprise_college] == 1 %>
|
|
|
|
|
<%=render :partial => 'layouts/base_college_header'%>
|
|
|
|
|
<% else %>
|
|
|
|
|
<%=render :partial => 'layouts/base_header'%>
|
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
<div id="wrapper3">
|
|
|
|
|
<%=render :partial => 'layouts/base_header'%>
|
|
|
|
|
<div id="main">
|
|
|
|
|
|
|
|
|
|
<!-- added by bai -->
|
|
|
|
|
<div class="top-content">
|
|
|
|
|
<table><tr><td>
|
|
|
|
|
<div class="top-content-home">
|
|
|
|
|
<table>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>创客主页</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>forge.trustie.net</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</div></td>
|
|
|
|
|
<td>
|
|
|
|
|
<div class="top-content-location">
|
|
|
|
|
<table>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>当前位置:</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><%=link_to l(:label_home),home_path %> > <%=link_to l(:label_project_deposit),:controller => 'projects', :action => 'index' %> > <%=link_to @project,project_path %></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</div></td>
|
|
|
|
|
<td>
|
|
|
|
|
<div class="top-content-search">
|
|
|
|
|
|
|
|
|
|
</div></td></tr>
|
|
|
|
|
</table>
|
|
|
|
|
<div class="top-content">
|
|
|
|
|
<table>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="info_font" style="width: 240px">软件项目托管社区</td>
|
|
|
|
|
<td style="width: 350px"><strong>当前位置: </strong></td>
|
|
|
|
|
<td rowspan="2" width="350px">
|
|
|
|
|
<div class="top-content-search">
|
|
|
|
|
<%= form_tag(:controller => 'projects', :action => "search", :method => :get) do %>
|
|
|
|
|
<%= text_field_tag 'name', params[:name], :size => 30 %>
|
|
|
|
|
<%= hidden_field_tag 'project_type', params[:project_type] %>
|
|
|
|
|
<%= submit_tag l(:label_search), :class => "small", :name => nil %>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td style="padding-left: 8px"><a>forge.trustie.net/courses</a></td>
|
|
|
|
|
<td ><%=link_to l(:label_home),home_path %> > <%=link_to l(:label_project_deposit),:controller => 'projects', :action => 'index' %> > <%=link_to @project,project_path %></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- end -->
|
|
|
|
|
|
|
|
|
|
<!--project page-->
|
|
|
|
|