From 2f2d4257c2aa9cdebb285c3a00ce5f9c96949586 Mon Sep 17 00:00:00 2001
From: sw <939547590@qq.com>
Date: Wed, 22 Apr 2015 14:10:45 +0800
Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=8F=90=E4=BA=A4=E4=BD=9C?=
=?UTF-8?q?=E4=B8=9A=E6=8C=89=E9=92=AE=E6=A0=B7=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/views/homework_attach/_homeworks_list.html.erb | 4 ++--
public/stylesheets/css.css | 5 ++++-
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/app/views/homework_attach/_homeworks_list.html.erb b/app/views/homework_attach/_homeworks_list.html.erb
index f5d0f3616..c235133a1 100644
--- a/app/views/homework_attach/_homeworks_list.html.erb
+++ b/app/views/homework_attach/_homeworks_list.html.erb
@@ -48,8 +48,8 @@
您还没提交作品,请点击提交作品按钮:)
-
- <%= link_to "提交作品", new_exercise_book_path(@bid), :style => "width:80px; margin:20px 0 0 350px;" %>
+
+ <%= link_to "提交作品", new_exercise_book_path(@bid), :style => "margin:20px 20px 0 0;width:80px;" %>
diff --git a/public/stylesheets/css.css b/public/stylesheets/css.css
index 57b3499db..2efec2bbf 100644
--- a/public/stylesheets/css.css
+++ b/public/stylesheets/css.css
@@ -5,10 +5,13 @@ div,img,tr,td,textarea{ border:0;}
table,tr,td{border:0; cellspacing:0; cellpadding:0;}
ul,li{ list-style-type:none}
.cl{ clear:both; overflow:hidden; }
-a{ text-decoration:none; }
+a{ text-decoration:none !important; }
a:hover{ text-decoration:underline;}
.container{ width:940px; margin:0 auto; }
+.mr20{margin-right: 20px}
+.mt20{margin-top: 20px}
+.w80{width:80px;}
/* 作业列表 */
.ttl{ }
.ctt{clear:both; }