我的作业页面,按钮字体大小统一,作品数宽度增加

cs_optimize_txz
Tim 9 years ago
parent 4c64e883ea
commit e4f6852d1b

@ -16,13 +16,13 @@
<%= link_to homework.course.name, course_path(homework.course), :target => '_blank', :class => 'hw_cgrey hw_classname fl mr15' %>
<span class="mr15 fl">类别:<%=homework.homework_type_ch %></span>
<span class="fl">作品:</span>
<span class="sy_corange hw_w20 fl "><%=homework.student_works.has_committed.count %></span>
<span class="sy_corange hw_w30 fl "><%=homework.student_works.has_committed.count %></span>
<span class="fl">/</span>
<span class="sy_cgrey hw_w20 fl mr15"><%= homework.homework_type == 3 ? '--' : homework.course.student.count %></span>
<span class="sy_cgrey hw_w30 fl mr15"><%= homework.homework_type == 3 ? '--' : homework.course.student.count %></span>
<span class="fl">待评阅:</span>
<span class="sy_corange hw_w20 fl"><%= homework.student_works.has_committed.where("teacher_score is null and teaching_asistant_score is null").count %></span>
<span class="sy_corange hw_w30 fl"><%= homework.student_works.has_committed.where("teacher_score is null and teaching_asistant_score is null").count %></span>
<span class="fl">/</span>
<span class="sy_cgrey hw_w20 fl mr15"><%=homework.student_works.has_committed.count %></span>
<span class="sy_cgrey hw_w30 fl mr15"><%=homework.student_works.has_committed.count %></span>
<span class="mr15 fl">发布时间:
<% if homework.publish_time %>
<%= format_date(homework.publish_time) %>

@ -38,7 +38,7 @@ a.hw_btn_green2{
border:1px solid #60b25e;
background:#fff;
text-align: center;
font-size: 14px;
font-size: 12px;
padding:0 10px;
height: 30px;
line-height: 30px;
@ -71,14 +71,14 @@ a:hover.hw_corange{ color: #e1412b;}
.hw_cir_lorange{ background:#f79981;}
.hw_cir_lgreen{ background:#7ecfa2;}
.hw_w20{ width:20px; display:block; text-align:center;}
.hw_w20{ width:20px; display:block; text-align:center;}
.hw_w30{ width:30px; display:block; text-align:center;}
/* 按钮*/
a.btn_orange_big{
display:inline-block;
border: 1px solid #ee4a1f;
color: #ee4a1f;
text-align: center;
font-size: 14px;
font-size: 12px;
padding:0 10px;
height: 30px;
line-height: 30px;

Loading…
Cancel
Save