From a5fe620452739f972e5de42eec8f4b05c4d358e6 Mon Sep 17 00:00:00 2001 From: Tim Date: Wed, 3 Aug 2016 14:57:02 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=98=E5=BA=93=E7=BF=BB=E9=A1=B5=E5=B1=85?= =?UTF-8?q?=E4=B8=AD=E5=AF=B9=E9=BD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/users/user_homeworks.html.erb | 12 ++++++++---- public/stylesheets/css/public.css | 1 + 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/app/views/users/user_homeworks.html.erb b/app/views/users/user_homeworks.html.erb index 91c8beeae..d2fd17028 100644 --- a/app/views/users/user_homeworks.html.erb +++ b/app/views/users/user_homeworks.html.erb @@ -60,11 +60,15 @@ <%=render :partial => 'homework_repository_list', :locals => {:homeworks => @homeworks,:type=>'1',:is_import => 0,:property => @property,:search=>''} %> -
- +
+
+
    + <%= pagination_links_full @hw_pages, @hw_count, :per_page_links => false, :remote => @is_remote, :flag => true, :is_new => true%> +
+
+
+
<% end %>
diff --git a/public/stylesheets/css/public.css b/public/stylesheets/css/public.css index cc27955d5..26c43756d 100644 --- a/public/stylesheets/css/public.css +++ b/public/stylesheets/css/public.css @@ -527,6 +527,7 @@ a.list-title{ font-size:14px; font-weight: bold; color:#000; white-space:nowrap; a.pages-big{ width:50px;} .pages .active{ background-color:#3b94d6; border:1px solid #3b94d6; color:#fff;} .pages{width:330px; margin:20px auto 10px;} +.pages li {display:inline-block;} /*课程列表界面样式*/ a.course-title{ font-size:14px; font-weight: bold; color:#000;white-space:nowrap; overflow:hidden; text-overflow:ellipsis; display:block; width:590px;}