diff --git a/app/views/welcome/_link_to_another.html.erb b/app/views/welcome/_link_to_another.html.erb
index 14640897c..e9a19be4e 100644
--- a/app/views/welcome/_link_to_another.html.erb
+++ b/app/views/welcome/_link_to_another.html.erb
@@ -1,6 +1,6 @@
-
-
<%=l(:label_projects_management_platform)%>
-
<%=l(:label_courses_management_platform)%>
-
<%=l(:label_contests_management_platform)%>
+
+
\ No newline at end of file
diff --git a/app/views/welcome/_search_course.html.erb b/app/views/welcome/_search_course.html.erb
index fda9dae7c..5721af9fb 100644
--- a/app/views/welcome/_search_course.html.erb
+++ b/app/views/welcome/_search_course.html.erb
@@ -1,58 +1,58 @@
-<%
- select_option = []
- (select_option << ['项目', 'projects']) if project_type == Project::ProjectType_project
- (select_option << ['课程', 'courses']) if project_type == Project::ProjectType_course
- select_option << ['用户', 'users']
- #select_option << ['教师', 'users_teacher'],
- #select_option << ['学生', 'users_student']
-%>
-
-<%= form_tag({controller: :welcome, action: :search }, method: :get) do %>
-
-
- <%= text_field_tag :q, nil, placeholder:'请输入要搜索的关键字', :size => 27 %>
- <%= select_tag(:search_type, options_for_select(select_option) ) %>
-
- <%#= hidden_field_tag 'project_type', project_type %>
- <%= submit_tag l(:label_search), :class => "enterprise", :name => nil %>
-
-<% end %>
+<%
+ select_option = []
+ (select_option << ['项目', 'projects']) if project_type == Project::ProjectType_project
+ (select_option << ['课程', 'courses']) if project_type == Project::ProjectType_course
+ select_option << ['用户', 'users']
+ #select_option << ['教师', 'users_teacher'],
+ #select_option << ['学生', 'users_student']
+%>
+
+<%= form_tag({controller: :welcome, action: :search }, method: :get) do %>
+
+
+ <%= text_field_tag :q, nil, placeholder:'请输入要搜索的关键字', :size => 27, %>
+ <%= select_tag(:search_type, options_for_select(select_option), :style => "float:right" ) %>
+
+ <%#= hidden_field_tag 'project_type', project_type %>
+ <%= submit_tag l(:label_search), :class => "enterprise", :name => nil, :style => "float:right" %>
+
+<% end %>
diff --git a/app/views/welcome/_search_project.html.erb b/app/views/welcome/_search_project.html.erb
index b86ff64f9..5922d4180 100644
--- a/app/views/welcome/_search_project.html.erb
+++ b/app/views/welcome/_search_project.html.erb
@@ -29,7 +29,7 @@ form #search_type{
border-bottom-left-radius: 0px;
border-top-left-radius: 0px;
border-left: 1px outset #83A9A9;
- margin-left: -4px;
+ margin-left: 0px;
-webkit-appearance: none;
-moz-appearance: none;
text-indent: 0.01px;
@@ -45,7 +45,7 @@ form #search_by
border-bottom-left-radius: 0px;
border-top-left-radius: 0px;
border-left: 1px outset #83A9A9;
- margin-left: -6px;
+ margin-left: 0px;
-webkit-appearance: none;
-moz-appearance: none;
text-indent: 0.01px;
@@ -87,13 +87,14 @@ form #search_by
<%= form_tag({controller: :welcome, action: :search }, method: :get) do %>
-
- <%= text_field_tag :q, nil, placeholder:'请输入要搜索的关键字', :size => 27 %>
-
- <%= select_tag(:search_type, options_for_select(select_option), :onchange => "searchTypeChange();" ) %>
- <%= select_tag(:search_by,options_for_select([["昵称","0"],["姓名","1"],["邮箱","2"]]), :onchange => "searchByChange();" ) %>
+
+
+ <%= text_field_tag :q, nil, placeholder:'请输入要搜索的关键字' %>
+
+ <%= select_tag(:search_type, options_for_select(select_option), :onchange => "searchTypeChange();", :style => "float:right" ) %>
+ <%= select_tag(:search_by,options_for_select([["昵称","0"],["姓名","1"],["邮箱","2"]]), :onchange => "searchByChange();",:style => "float:right" ) %>
<%#= hidden_field_tag 'project_type', project_type %>
- <%= submit_tag l(:label_search), :class => "enterprise", :name => nil %>
+ <%= submit_tag l(:label_search), :class => "enterprise", :name => nil,:style =>"float: right; margin-left:3px;margin-top:2px" %>
<% end %>
diff --git a/app/views/welcome/contest.html.erb b/app/views/welcome/contest.html.erb
index 07696386f..c85b75797 100644
--- a/app/views/welcome/contest.html.erb
+++ b/app/views/welcome/contest.html.erb
@@ -119,6 +119,7 @@
}
})();
+
<%#= render partial: 'wei_xin' %>
<%= render partial: 'link_to_another' %>
diff --git a/app/views/welcome/index.html.erb b/app/views/welcome/index.html.erb
index 4dd58641b..0dc62c6a3 100644
--- a/app/views/welcome/index.html.erb
+++ b/app/views/welcome/index.html.erb
@@ -71,7 +71,7 @@