From 09b3ba8a6af7e7377bb4c4c5d4954e05911f3c95 Mon Sep 17 00:00:00 2001
From: sw <939547590@qq.com>
Date: Tue, 19 May 2015 17:41:19 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0css=E6=96=87=E4=BB=B6?=
=?UTF-8?q?=EF=BC=8C=E6=96=B0=E5=BB=BA=E4=BD=9C=E4=B8=9A=E9=9D=99=E6=80=81?=
=?UTF-8?q?=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/controllers/homework_common_controller.rb | 1 +
app/views/homework_common/new.html.erb | 144 +++++++++++++++++-
public/stylesheets/courses.css | 24 +--
3 files changed, 158 insertions(+), 11 deletions(-)
diff --git a/app/controllers/homework_common_controller.rb b/app/controllers/homework_common_controller.rb
index b9a55028d..d9f93b7da 100644
--- a/app/controllers/homework_common_controller.rb
+++ b/app/controllers/homework_common_controller.rb
@@ -13,6 +13,7 @@ class HomeworkCommonController < ApplicationController
end
def new
+
respond_to do |format|
format.html
end
diff --git a/app/views/homework_common/new.html.erb b/app/views/homework_common/new.html.erb
index 101648660..b6968151a 100644
--- a/app/views/homework_common/new.html.erb
+++ b/app/views/homework_common/new.html.erb
@@ -1 +1,143 @@
-发布作业
\ No newline at end of file
+
+
发布作业
+
+
+
\ No newline at end of file
diff --git a/public/stylesheets/courses.css b/public/stylesheets/courses.css
index 5333b91a7..5f75bdf9b 100644
--- a/public/stylesheets/courses.css
+++ b/public/stylesheets/courses.css
@@ -133,8 +133,8 @@ a.re_de{ color:#6883b6; margin-left:15px;}
.tb_{ background-color: #eaeaea; height:40px; }
.tb_ ul{height:40px; }
.tb_ li{float:left;height:34px;width: 90px;cursor:pointer; font-size:14px; padding-top:6px; text-align:center; }
-a.tb_all{ margin-left:212px; font-size:12px; display:block; height:23px; padding-top:4px; width:90px; color:#7a7a7a; border:1px solid #cbcbcb; background:#fff; text-align: center;}
-a:hover.tb_all{ background:#eaeaea; text-decoration:none;}
+a.tb_all{ float:right; font-size:12px; display:block; height:18px; padding-top:2px; width:90px; color:#ff5d31; border:1px solid #ff5d31; background:#fff; text-align: center;}
+a:hover.tb_all{ background:#ff5d31; color:#fff; text-decoration:none;}
.work_tb_{ background-color: #eaeaea; height:40px; }
a.work_edit{color: #64bdd9; display:block; padding:1px 5px; border:1px solid #64bdd9;}
@@ -583,14 +583,18 @@ a:hover.Reply_pic{border:1px solid #64bdd9;}
/*.talk_new{ border-bottom:1px dashed #d9d9d9; padding-bottom:10px;}*/
#about_newtalk{ display:none;}
-
-
-
-
-
-
-
-
+.ml14{ margin-left:14px;}
+.w548{ width:552px;}
+.w547{ width:544px;}
+.w196{ width:196px;}
+.w459{ width:459px;}
+.hwork_new_set{border:1px dashed #CCC; background:#f5f5f5; text-align:center; padding:10px 0; margin-bottom:10px;}
+.hwork_new_grey{background:#dbdbdb; width:610px; padding:10px 20px; margin:0 auto; text-align:left; margin-bottom:5px;}
+.hwork_new_left{ width:220px; float:left; }
+.hwork_new_right{ width:350px; float:left; margin-left:40px;}
+.w305{ width:305px;}
+.icon_add{ background:url(../images/courses/icons.png) 0px -310px no-repeat; width:16px; height:27px; display:block;float:left; margin-right:5px;}
+a:hover.icon_add{background:url(../images/courses/icons.png) -20px -310px no-repeat;}