From b67afc2b9509e3e960a581f770c289d352b32289 Mon Sep 17 00:00:00 2001
From: lizanle <491823689@qq.com>
Date: Thu, 29 Oct 2015 09:07:26 +0800
Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E7=BA=B2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../courses/_course_outlines_list.html.erb | 56 +++----------------
app/views/courses/course_outline.js.erb | 9 +--
app/views/layouts/base_courses.html.erb | 24 ++++++++
config/routes.rb | 1 +
public/javascripts/course.js | 7 ++-
public/stylesheets/courses.css | 9 +--
6 files changed, 49 insertions(+), 57 deletions(-)
diff --git a/app/views/courses/_course_outlines_list.html.erb b/app/views/courses/_course_outlines_list.html.erb
index efadbede9..cb7c52cfb 100644
--- a/app/views/courses/_course_outlines_list.html.erb
+++ b/app/views/courses/_course_outlines_list.html.erb
@@ -1,14 +1,15 @@
-
+
未搜索到对应大纲,请重新输入
+
发布时间:2015-05-11
-
-
发布时间:2014-05-11
-
-
发布时间:2014-03-04
-
-
发布时间:2013-05-11
-
-
发布时间:2013-05-10
-
-
发布时间:2013-05-08
-
-
发布时间:2013-05-01
+
diff --git a/app/views/courses/course_outline.js.erb b/app/views/courses/course_outline.js.erb
index ea8f95c86..300ba6466 100644
--- a/app/views/courses/course_outline.js.erb
+++ b/app/views/courses/course_outline.js.erb
@@ -1,8 +1,9 @@
$('#ajax-modal').html('<%= escape_javascript(render :partial => 'course_outlines_list') %>');
showModal('ajax-modal', '300px');
-$('#ajax-modal').css('height','360px');
+//$('#ajax-modal').css('height','250px');
+$('#ajax-modal').css('padding-top','0px');
$('#ajax-modal').siblings().remove();
-$('#ajax-modal').before("
");
-$('#ajax-modal').parent().css("top","40%").css("left","46%");
+$('#ajax-modal').before('
');
+$('#ajax-modal').parent().css("top","30%").css("left","50%");
$('#ajax-modal').parent().addClass("courseOutlinePopup");
-$('#ajax-modal').css("padding-left","16px").css("padding-bottom","16px");
\ No newline at end of file
+$('#ajax-modal').css("padding-left","16px")//.css("padding-bottom","16px");
\ No newline at end of file
diff --git a/app/views/layouts/base_courses.html.erb b/app/views/layouts/base_courses.html.erb
index 4eb036bbf..4e9868efe 100644
--- a/app/views/layouts/base_courses.html.erb
+++ b/app/views/layouts/base_courses.html.erb
@@ -171,5 +171,29 @@
<%= call_hook :view_layouts_base_body_bottom %>