班级成员列表的搜索框文字显示不全,且输入框没有上下居中

This commit is contained in:
Linda 2017-05-24 10:44:38 +08:00
parent 1fb264eb34
commit fdcb9d16bc
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ group :development, :test do
gem 'pry-byebug'
gem "test-unit", "~>3.0"
end
# gem 'rspec-rails', '~> 3.0'
gem 'rspec-rails', '~> 3.0'
gem 'factory_girl_rails'
end

View File

@ -41,7 +41,7 @@
<%= link_to '学号排序', course_member_path(@course, :order => "student_id", :role => 'as', :sort => @sort), :class => "fl #{@order == 'student_id' ? 'color-blue' : ''}", :remote => true %>
<span class="mr5 ml5 fl">|</span>
<%= link_to '姓名排序', course_member_path(@course, :order => "lastname", :role => 'as', :sort => @sort), :class => "fl #{@order == 'lastname' ? 'color-blue' : ''}", :remote => true %>
<span class="fr right mt10"><input class="pr15 pl5 color-grey" type="text" value="<%= @search %>" id="all_student_list_search" placeholder="输入姓名、学号进行搜索"/><i class="fa fa-search font-16 mt8 mr10" onclick="submit_member_all_student_list_search('<%= @course.id %>');" style="color:#ddd;"></i></span>
<span class="fr right mt10" style=" height: 36px; line-height:36px;width:205px; margin-top:11px;"><input class="mr15 pl5 color-grey" style="width:160px;" type="text" value="<%= @search %>" id="all_student_list_search" placeholder="输入姓名、学号进行搜索"/><i class="fa fa-search font-16 mt8 mr10" onclick="submit_member_all_student_list_search('<%= @course.id %>');" style="color:#ddd;"></i></span>
</p>
<!--------------全部学生-------------------->
<ul class="all pl20 pr20 color-grey">