|
|
|
@ -7,9 +7,8 @@
|
|
|
|
|
<ul id="header-nav">
|
|
|
|
|
<!-- <li class="<%#= params[:controller] == "welcome" ? 'active' : '' %>"><%#= link_to "首页", home_path %></li>-->
|
|
|
|
|
<li class="<%= subjects_controller.include?(params[:controller]) ? " active" : "" %>"><%= link_to "实践课程", subjects_path %></li>
|
|
|
|
|
<li class="<%= course_controller.include?(params[:controller]) ? " active" : "" %>"><%= link_to "翻转课堂", courses_path %></li>
|
|
|
|
|
|
|
|
|
|
<li class="pr <%= shixuns_controller.include?(params[:controller]) ? " active" : "" %>"><%= link_to "实训项目", shixuns_path %><img src="/images/educoder/hot-h.png" class="nav-img" /></li>
|
|
|
|
|
<li class="pr <%= shixuns_controller.include?(params[:controller]) ? " active" : "" %>"><%= link_to "实训项目", shixuns_path %></li>
|
|
|
|
|
<li class="<%= course_controller.include?(params[:controller]) ? " active" : "" %>"><%= link_to "教学课堂", courses_path %></li>
|
|
|
|
|
|
|
|
|
|
<% careers = Career.published.order("created_at asc") %>
|
|
|
|
|
<% if careers.present? %>
|
|
|
|
@ -76,7 +75,7 @@
|
|
|
|
|
<li><%= link_to "新建开发项目", signin_path %></li>
|
|
|
|
|
</ul>
|
|
|
|
|
<ul class="fl with50 edu-txt-center">
|
|
|
|
|
<li><%= link_to "加入翻转课堂", signin_path %></li>
|
|
|
|
|
<li><%= link_to "加入教学课堂", signin_path %></li>
|
|
|
|
|
<li><%= link_to "加入开发项目", signin_path %></li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|