forge旧版浏览器标签和logo更改

dev_local_lzdx
daiao 4 years ago
parent dbe11144e4
commit d11b3fd5d2

@ -4076,7 +4076,7 @@ module ApplicationHelper
end
def favicon
"<link rel='shortcut icon' type='image/x-icon' href='https://www.educoder.net/favicon.ico?1537840119' />".html_safe
"<link rel='shortcut icon' type='image/x-icon' href='https://data.educoder.net/images/avatars/LaboratorySetting/1tab?t=1610677202' />".html_safe
end
def robot_exclusion_tag

@ -5,8 +5,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="pr <%= shixuns_controller.include?(params[:controller]) ? " active" : "" %>"><%= link_to "实训项目", shixuns_path %></li>
<li class="<%= course_controller.include?(params[:controller]) ? " active" : "" %>"><%= link_to "教学课堂", "/classrooms" %></li>
<li class="pr <%= shixuns_controller.include?(params[:controller]) ? " active" : "" %>"><%= link_to "实践项目", shixuns_path %></li>
<% careers = Career.published.order("created_at asc") %>
<% if careers.present? %>

@ -7,8 +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="pr <%= shixuns_controller.include?(params[:controller]) ? " active" : "" %>"><%= link_to "实训项目", shixuns_path %></li>
<li class="<%= course_controller.include?(params[:controller]) ? " active" : "" %>"><%= link_to "教学课堂", "/classrooms" %></li>
<li class="pr <%= shixuns_controller.include?(params[:controller]) ? " active" : "" %>"><%= link_to "实践项目", shixuns_path %></li>
<% careers = Career.published.order("created_at asc") %>
<% if careers.present? %>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.8 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Loading…
Cancel
Save