From 628ffc67dd392cf50d667ac540ece8199561de21 Mon Sep 17 00:00:00 2001 From: sw <939547590@qq.com> Date: Thu, 7 May 2015 10:43:23 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=BE=E7=A8=8B=E4=BD=9C=E5=93=81=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E7=95=8C=E9=9D=A2=E5=A2=9E=E5=8A=A0=E8=BF=94=E5=9B=9E?= =?UTF-8?q?=E9=A1=B6=E9=83=A8=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../homework_attach/_homeworks_list.html.erb | 4 ++++ db/schema.rb | 10 +++++++++- public/images/course/to_top.png | Bin 0 -> 2873 bytes public/stylesheets/css.css | 1 + 4 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 public/images/course/to_top.png diff --git a/app/views/homework_attach/_homeworks_list.html.erb b/app/views/homework_attach/_homeworks_list.html.erb index 24ea2190c..689eaa08b 100644 --- a/app/views/homework_attach/_homeworks_list.html.erb +++ b/app/views/homework_attach/_homeworks_list.html.erb @@ -34,7 +34,11 @@ <% end %> +
+
+ 返


部 +
<% unless homeworks.nil? %> diff --git a/db/schema.rb b/db/schema.rb index dcbe017fb..8b5ea1461 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended to check this file into your version control system. -ActiveRecord::Schema.define(:version => 20150428021035) do +ActiveRecord::Schema.define(:version => 20150505025537) do create_table "activities", :force => true do |t| t.integer "act_id", :null => false @@ -541,6 +541,8 @@ ActiveRecord::Schema.define(:version => 20150428021035) do t.integer "is_teacher_score", :default => 0 end + add_index "homework_attaches", ["bid_id"], :name => "index_homework_attaches_on_bid_id" + create_table "homework_evaluations", :force => true do |t| t.string "user_id" t.string "homework_attach_id" @@ -553,6 +555,9 @@ ActiveRecord::Schema.define(:version => 20150428021035) do t.integer "bid_id" end + add_index "homework_for_courses", ["bid_id"], :name => "index_homework_for_courses_on_bid_id" + add_index "homework_for_courses", ["course_id"], :name => "index_homework_for_courses_on_course_id" + create_table "homework_users", :force => true do |t| t.string "homework_attach_id" t.string "user_id" @@ -1159,6 +1164,9 @@ ActiveRecord::Schema.define(:version => 20150428021035) do t.datetime "updated_at", :null => false end + add_index "students_for_courses", ["course_id"], :name => "index_students_for_courses_on_course_id" + add_index "students_for_courses", ["student_id"], :name => "index_students_for_courses_on_student_id" + create_table "taggings", :force => true do |t| t.integer "tag_id" t.integer "taggable_id" diff --git a/public/images/course/to_top.png b/public/images/course/to_top.png new file mode 100644 index 0000000000000000000000000000000000000000..1621b35108f2ccae90c680fa6fa2306eb5d33120 GIT binary patch literal 2873 zcmV-93&!+`P)Px#1ZP1_K>z@;j|==^1poj532;bRa{vGi!vFvd!vV){sAK>D3eHJHK~!i%?V1Nv zRA&~)Cy6t$M6pMWU1Lc#CL7}>Ye`nuAWg)!BE}f(1p%olDyUI3DzPv_QRz((X%-|_ z6bof&qDT=78ly?v-LofW%7r^#lbQ6`eg z8>nu`7&SK&jS8y{8^SAXS_6|6j5SKg7&SKrR%gsY+|AX9y|KK3Xc-d9Jz%V^1#sxK zg|O3hY!I^5w*M2j#-NwID9top z`1)lQey?<3*e$20BJFlKcH~XQ*6eYWz+X$iBW2*BI>2vL0?$k8j_^D;#9Uk_En*h_ z24w`?O?FYg%tWnvFej=%&V3(+;43!RmODWL{wB+~T3}ZJ{G9;qOTaxaE4~Y&^VcFG zXQi}VjrVP-mR-~z<2g6puLUmr5RJn(ys$HW%I^cGJpnkO3#{WhV{hIXY&|ujV&zsh z`9ya0{Ec9>+E8E_=|n*vFyk&g7(0aJsr5cc@Y~;G9($1OlT!H zqrb)13YbSTUx-} z5t&`_ylT9!!5speK%kRJQ%No4u=HmH`-{1M3uu2#KyvvO1QyScfxnP}CszVLye;v; zgMoGTVFBC+b7@VJ=>1*+K8w<&UeK7g}#LlIoM z009hKD1a@oqY~Kc(Sye$z*Pqi2DXmxj2W>VegoVFmJw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