精品课程

This commit is contained in:
huang 2016-01-15 10:35:56 +08:00
parent 5730786c1d
commit 157502d450
5 changed files with 55 additions and 0 deletions

View File

@ -204,6 +204,46 @@
</div> </div>
<div class="cl"></div> <div class="cl"></div>
</div><!--项目标签 end--> </div><!--项目标签 end-->
<!--课程推荐-->
<ul class="courseR">
<p class="fontGrey2 f14">课程推荐</p>
<li class="mt15"> <img src="images/courses/pic_courses.jpg" width="40" height="40" alt="logo" class="fl mr10 rankPortrait" />
<div class="fl">
<p class="f12 mb5"><a href="javascript:void:(0);" class="hidden fl w170">前端技术(2015秋季学期</a></p>
<p class="f12"><span class="fl mr15 fontGrey4">资源(<a href="javascript:void:(0);" class="linkBlue2">29</a>)</span><span class="fl fontGrey4">作业(<a href="javascript:void:(0);" class="linkBlue2">8</a>)</span></p>
</div>
<div class="cl"></div>
</li>
<li class="mt15"> <img src="images/courses/pic_courses.jpg" width="40" height="40" alt="logo" class="fl mr10 rankPortrait" />
<div class="fl">
<p class="f12 mb5"><a href="javascript:void:(0);" class="hidden fl w170">前端技术II(2015秋季学期</a></p>
<p class="f12"><span class="fl mr15 fontGrey4">资源(<a href="javascript:void:(0);" class="linkBlue2">29</a>)</span><span class="fl fontGrey4">作业(<a href="javascript:void:(0);" class="linkBlue2">8</a>)</span></p>
</div>
<div class="cl"></div>
</li>
<li class="mt15"> <img src="images/courses/pic_courses.jpg" width="40" height="40" alt="logo" class="fl mr10 rankPortrait" />
<div class="fl">
<p class="f12 mb5"><a href="javascript:void:(0);" class="hidden fl w170">数据库(2015秋季学期</a></p>
<p class="f12"><span class="fl mr15 fontGrey4">资源(<a href="javascript:void:(0);" class="linkBlue2">29</a>)</span><span class="fl fontGrey4">作业(<a href="javascript:void:(0);" class="linkBlue2">8</a>)</span></p>
</div>
<div class="cl"></div>
</li>
<li class="mt15"> <img src="images/courses/pic_courses.jpg" width="40" height="40" alt="logo" class="fl mr10 rankPortrait" />
<div class="fl">
<p class="f12 mb5"><a href="javascript:void:(0);" class="hidden fl w170">离散数学(2015秋季学期</a></p>
<p class="f12"><span class="fl mr15 fontGrey4">资源(<a href="javascript:void:(0);" class="linkBlue2">29</a>)</span><span class="fl fontGrey4">作业(<a href="javascript:void:(0);" class="linkBlue2">8</a>)</span></p>
</div>
<div class="cl"></div>
</li>
<li class="mt15"> <img src="images/courses/pic_courses.jpg" width="40" height="40" alt="logo" class="fl mr10 rankPortrait" />
<div class="fl">
<p class="f12 mb5"><a href="javascript:void:(0);" class="hidden fl w170">组成原理(2015秋季学期</a></p>
<p class="f12"><span class="fl mr15 fontGrey4">资源(<a href="javascript:void:(0);" class="linkBlue2">29</a>)</span><span class="fl fontGrey4">作业(<a href="javascript:void:(0);" class="linkBlue2">8</a>)</span></p>
</div>
<div class="cl"></div>
</li>
<div class="cl"></div>
</ul>
</div><!--LSide end--> </div><!--LSide end-->
<div id="RSide" class="fl"> <div id="RSide" class="fl">

View File

@ -0,0 +1,5 @@
class AddIsExcellentToCourse < ActiveRecord::Migration
def change
add_column :courses, :is_excellent, :integer, :default => false
end
end

View File

@ -0,0 +1,7 @@
class AddExcellentCourse < ActiveRecord::Migration
def up
end
def down
end
end

View File

@ -1257,3 +1257,5 @@ div.disable_link {background-color: #c1c1c1 !important;}
.fn {font-weight:normal} .fn {font-weight:normal}
.boutiqueP {position:absolute; left:0px; top:0px;} .boutiqueP {position:absolute; left:0px; top:0px;}
/*160114课程推荐*/
.courseR {width:220px; padding:10px; background-color:#ffffff; margin-top:10px;}

View File

@ -216,6 +216,7 @@ a.c_green{ color:#28be6c;}
.fontGrey {color:#cecece;} .fontGrey {color:#cecece;}
.fontGrey2 {color:#888888;} .fontGrey2 {color:#888888;}
.fontGrey3 {color:#484848;} .fontGrey3 {color:#484848;}
.fontGrey4{color:#999999;}
.fontBlue {color:#3498db;} .fontBlue {color:#3498db;}
a.underline {text-decoration:underline;} a.underline {text-decoration:underline;}
a.fontBlue {color:#297fb8;} a.fontBlue {color:#297fb8;}