|
|
|
@ -1,24 +1,5 @@
|
|
|
|
|
<style>
|
|
|
|
|
table,tr,td{border:0; cellspacing:0; cellpadding:0;}
|
|
|
|
|
ul,li{ list-style-type:none}
|
|
|
|
|
.cl{ clear:both; overflow:hidden; }
|
|
|
|
|
a{ text-decoration:none; text-align:center; }
|
|
|
|
|
a:hover{ text-decoration:underline;}
|
|
|
|
|
/**** 常用***/
|
|
|
|
|
.f_l{ float:left;}
|
|
|
|
|
.f_r{ float:right;}
|
|
|
|
|
.b_lblue{ background:#64bdd9;}
|
|
|
|
|
.b_dblue{ background:#55a1b9; cursor:pointer;}
|
|
|
|
|
.f_b{ font-weight: bold;}
|
|
|
|
|
.c_blue{ color:#64bdd9;}
|
|
|
|
|
.c_grey{ color:#999999;}
|
|
|
|
|
.c_grey02{ color:#666666;}
|
|
|
|
|
.f_14{ font-size:14px;}
|
|
|
|
|
.c_dblue{ color:#3e6d8e;}
|
|
|
|
|
.w90{width:90px;}
|
|
|
|
|
.ml10{margin-left:10px;}
|
|
|
|
|
.ml5{margin-left:5px;}
|
|
|
|
|
.b_grey{ background:#a3a3a3;}
|
|
|
|
|
.c_blue02{ color:#15bcce; font-weight: bold;}
|
|
|
|
|
.w280{ display:block; width:280px;float:left;}
|
|
|
|
|
.w70{ display:block;width:70px; text-align:center; float:left;}
|
|
|
|
@ -26,9 +7,6 @@
|
|
|
|
|
.c_blue03{ color:#0d90c4;}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***弹框***/
|
|
|
|
|
/*#popbox_tscore{width:480px;position:absolute;z-index:100;left:50%;top:50%;margin:-215px 0 0 -300px; background:#fff; -moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px; box-shadow:0px 0px 8px #194a81; overflow:auto;}*/
|
|
|
|
|
/*.alert .close02{width:26px;height:26px;overflow:hidden;position:absolute;top:-10px;right:-490px;background:url(images/close.png) no-repeat;cursor:pointer;}*/
|
|
|
|
|
.tscore_con h2{ display:block; background:#eaeaea; font-size:14px; color:#343333; height:31px; width: auto; text-align: center; padding-top:5px;}
|
|
|
|
|
.tscore_box{ width:350px; margin:15px auto;}
|
|
|
|
|
.tscore_box li{ height:25px;}
|
|
|
|
@ -40,11 +18,16 @@
|
|
|
|
|
<ul class="tscore_box">
|
|
|
|
|
<li ><span class="c_blue02 w280">作业名称</span><span class="c_blue02 w70">得分</span></li>
|
|
|
|
|
<% @member_score.student_homework_score[0].each do |homework_score| %>
|
|
|
|
|
|
|
|
|
|
<li><span class="c_grey02 w280"><%= homework_score.name %></span><span class="c_red w70"><%= format("%0.2f",homework_score[:score].nil? ? 0 : homework_score[:score]) %></span></li>
|
|
|
|
|
<li>
|
|
|
|
|
<span class="c_grey02 w280">
|
|
|
|
|
<%= homework_score.name %>
|
|
|
|
|
</span>
|
|
|
|
|
<span class="c_red w70">
|
|
|
|
|
<%= format("%0.2f",homework_score[:score].nil? ? 0 : homework_score[:score]) %>
|
|
|
|
|
</span>
|
|
|
|
|
</li>
|
|
|
|
|
<% end %>
|
|
|
|
|
<li><span class="c_blue03 w280">作业积分(总得分)</span><span class="c_red w70"><%= @member_score.student_homework_score[1] %></span></li>
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|