课程大纲样式调整
This commit is contained in:
parent
0ff8f0a774
commit
6867a88a94
|
@ -98,7 +98,7 @@
|
||||||
<li class=" mb5 ml85">
|
<li class=" mb5 ml85">
|
||||||
<label >公开 :</label>
|
<label >公开 :</label>
|
||||||
<input <%= @course.is_public == 1 ? 'checked' : ''%> id="course_is_public" name="course[is_public]" type="checkbox" value="<%=@course.is_public.to_i %>">
|
<input <%= @course.is_public == 1 ? 'checked' : ''%> id="course_is_public" name="course[is_public]" type="checkbox" value="<%=@course.is_public.to_i %>">
|
||||||
<span class="c_grey">(选中后班级外用户可见该班级,否则仅对班级内成员可见)</span>
|
<span class="c_grey">(选中后对所有用户可见,否则仅对本班级成员可见)</span>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
</li>
|
</li>
|
||||||
<li class="ml85">
|
<li class="ml85">
|
||||||
|
|
|
@ -58,13 +58,13 @@
|
||||||
<li class=" mb5 ml80">
|
<li class=" mb5 ml80">
|
||||||
<label >公开 :</label>
|
<label >公开 :</label>
|
||||||
<input id="course_is_public" name="course[is_public]" type="checkbox" value="1">
|
<input id="course_is_public" name="course[is_public]" type="checkbox" value="1">
|
||||||
<span class="c_grey">(选中后班级外用户可见该班级,否则仅对班级内成员可见)</span>
|
<span class="c_grey">(选中后对所有用户可见,否则仅对本班级成员可见)</span>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
</li>
|
</li>
|
||||||
<li class=" mb5 ml30">
|
<li class=" mb5 ml30">
|
||||||
<label >学生列表公开 :</label>
|
<label >学生列表公开 :</label>
|
||||||
<input id="course_open_student" name="course[open_student]" type="checkbox" value="1">
|
<input id="course_open_student" name="course[open_student]" type="checkbox" value="1">
|
||||||
<span class="c_grey">(选中后班级外用户可见学生列表,否则仅对班级内成员可见)</span>
|
<span class="c_grey">(选中后对所有用户可见,否则仅对本班级成员可见)</span>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
</li>
|
</li>
|
||||||
<li class=" mb5 ml30">
|
<li class=" mb5 ml30">
|
||||||
|
|
|
@ -76,13 +76,13 @@
|
||||||
<li class=" mb5 ml80">
|
<li class=" mb5 ml80">
|
||||||
<label >公开 :</label>
|
<label >公开 :</label>
|
||||||
<input <%= @course.is_public == 1 ? 'checked' : ''%> id="course_is_public" name="course[is_public]" type="checkbox">
|
<input <%= @course.is_public == 1 ? 'checked' : ''%> id="course_is_public" name="course[is_public]" type="checkbox">
|
||||||
<span class="c_grey">(选中后班级外用户可见该班级,否则仅对班级内成员可见)</span>
|
<span class="c_grey">(选中后对所有用户可见,否则仅对本班级成员可见)</span>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
</li>
|
</li>
|
||||||
<li class=" mb5 ml30">
|
<li class=" mb5 ml30">
|
||||||
<label >学生列表公开 :</label>
|
<label >学生列表公开 :</label>
|
||||||
<input <%= @course.open_student == 1 ? 'checked' : ''%> id="course_open_student" name="course[open_student]" type="checkbox" style="margin-left: 1px;"/>
|
<input <%= @course.open_student == 1 ? 'checked' : ''%> id="course_open_student" name="course[open_student]" type="checkbox" style="margin-left: 1px;"/>
|
||||||
<span class="c_grey">(选中后班级外用户可见学生列表,否则仅对班级内成员可见)</span>
|
<span class="c_grey">(选中后对所有用户可见,否则仅对本班级成员可见)</span>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
</li>
|
</li>
|
||||||
<li class=" mb5 ml30">
|
<li class=" mb5 ml30">
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<%= image_tag("../images/syllabus.jpg",width:"60px", height: "60px") %>
|
<%= image_tag("../images/syllabus.jpg",width:"60px", height: "60px") %>
|
||||||
</div>
|
</div>
|
||||||
<div class="fl ml15">
|
<div class="fl ml15">
|
||||||
<p class="homepageImageName mb5" title="<%=@syllabus.title %>"><%=@syllabus.title %></p>
|
<p class="homepageSyllabusName mb5" title="<%=@syllabus.title %>"><%=@syllabus.title %></p>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<p >课程信息</p>
|
<p >课程信息</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="HomeWork">
|
<div class="HomeWork">
|
||||||
<p class="f16 mb10">课程信息</p>
|
<p class="f16 mb10"><%=@syllabus.title %>课程大纲</p>
|
||||||
<div class="HomeWorkCon">
|
<div class="HomeWorkCon">
|
||||||
<%= labelled_form_for @syllabus, :url =>syllabus_path(@syllabus),
|
<%= labelled_form_for @syllabus, :url =>syllabus_path(@syllabus),
|
||||||
:html => {:nhname=>'form',:multipart => true, :id => 'syllabus-form'} do |f| %>
|
:html => {:nhname=>'form',:multipart => true, :id => 'syllabus-form'} do |f| %>
|
||||||
|
|
|
@ -153,4 +153,6 @@ a.course-title{ font-size:14px; font-weight: bold; color:#000;white-space:nowrap
|
||||||
a:hover.course-title{ color:#269ac9;}
|
a:hover.course-title{ color:#269ac9;}
|
||||||
|
|
||||||
/*新建页面*/
|
/*新建页面*/
|
||||||
.name_input{ border:1px solid #64bdd9; height:16px; width:310px; background:#fff; margin-bottom:10px; padding:5px;}
|
.name_input{ border:1px solid #64bdd9; height:16px; width:310px; background:#fff; margin-bottom:10px; padding:5px;}
|
||||||
|
|
||||||
|
.homepageSyllabusName {font-size:16px; color:#484848; height:25px; float:left; font-weight: bold; max-width:120px;overflow: hidden; white-space:nowrap; text-overflow:ellipsis;}
|
||||||
|
|
Loading…
Reference in New Issue