更新css文件,新建作业静态页面

This commit is contained in:
sw 2015-05-19 17:41:19 +08:00
parent 7684a6b253
commit 09b3ba8a6a
3 changed files with 158 additions and 11 deletions

View File

@ -13,6 +13,7 @@ class HomeworkCommonController < ApplicationController
end
def new
respond_to do |format|
format.html
end

View File

@ -1 +1,143 @@
发布作业
<div class="project_r_h">
<h2 class="project_h2">发布作业</h2>
</div>
<div class="hwork_new">
<ul class="hwork_new_basic mb10">
<li >
<label class="label02"><span class="c_red">*</span>&nbsp;名称:&nbsp;</label>
<input type="text" name="" class="w548 h26 mb10 fl" >
</li>
<div class="cl"></div>
<li >
<label class="label02 ">&nbsp;&nbsp;作业描述及&nbsp;&nbsp;&nbsp;&nbsp;<br />评分依据:&nbsp;</label>
<textarea name="" placeholder="请在此填入作业的要求及评分依据" class=" w548 h150 mb10 fl" ></textarea>
</li>
<div class="cl"></div>
<li >
<label class="label02">&nbsp;&nbsp;附件:&nbsp;</label>
<input type="submit" name="" value="文件浏览" class="sub_btn">&nbsp;&nbsp;&nbsp;&nbsp;<span class=" c_grey ">-文件不超过200MB</span>
</li>
<div class="cl"></div>
<li class="fl">
<label class="label02"><span class="c_red">*</span>&nbsp;截止日期:&nbsp;</label>
<input type="text" name="" class="hwork_input02 fl" value="2015-04-03 12:00" >
<a href="javascript:void(0);" class="pic_date mt5 ml5"></a>
<div class="cl"></div>
</li>
<li class="fl ml100">
<label class="label02">&nbsp;发布日期:&nbsp;</label>
<input type="text" name="" class="hwork_input02 fl" value="2015-04-03 12:00" >
<a href="javascript:void(0);" class="pic_date mt5 ml5"></a>
<div class="cl"></div>
</li>
<div class="cl"></div>
</ul><!--hwork_new_basic end--->
<div class="hwork_new_set" >
<p class="fl ml20 f14 mb10 c_orange">基本规则设置总分为100分</p>
<div class="cl"></div>
<form name="frm">
<ul class="ml10">
<li>
<label class="label02">迟交扣分:&nbsp;</label>
<select class="fl mb10 h26 w70" name="s2" >
<option >1</option>
<option selected="selected">2</option>
<option >3</option>
<option >4</option>
<option >5</option>
</select>
<span class="fl mt5">&nbsp;分</span>
<div class="cl"></div>
</li>
<li >
<label class="label02" >是否匿评:&nbsp;</label>
<input type="checkbox" name="" checked="" class="mb10 mt5 fl" id="cb" onclick="chg()">
<div class="cl"></div>
</li>
<li >
<label class="label02">评分比例:&nbsp;</label>
<select class="fl mb10 h26 w70" >
<option>0% </option>
<option>10% </option>
<option>20%</option>
<option>30%</option>
<option >40%</option>
<option>50%</option>
<option selected="selected">60%</option>
<option>70%</option>
<option>80%</option>
<option>90%</option>
<option >100%</option>
</select>
<span class="ml5 fl mt5">×&nbsp;教辅评分</span>
<span class="ml5 fl mt5">&nbsp;&nbsp;+&nbsp;&nbsp;</span>
<select class="fl mb10 h26 w70" >
<option>0% </option>
<option>10% </option>
<option>20%</option>
<option>30%</option>
<option selected="selected">40%</option>
<option>50%</option>
<option >60%</option>
<option>70%</option>
<option>80%</option>
<option>90%</option>
<option >100%</option>
</select>
<span class="ml5 fl mt5">×&nbsp;匿评得分</span>
<span class="ml5 fl mt5">=&nbsp;学生得分</span>
<div class="cl"></div>
</li>
<li >
<label class="label02" >&nbsp;&nbsp;</label>
<span class=" fl c_red">如果教师对学生作品进行了评分,则教师评分为学生最终得分。</span>
<div class="cl"></div>
</li>
</ul>
</form>
</div><!--hwork_new_set end-->
<div class="hwork_new_set" id="h1" >
<p class="fl ml20 f14 mb10 c_orange">学生互评设置</p>
<div class="cl"></div>
<ul class="ml10">
<li >
<label class="label02">互评启动时间:&nbsp;</label>
<input type="text" name="" class="hwork_input02 fl" value="2015-04-03 12:00" >
<a href="javascript:void(0);" class="pic_date mt5 ml5"></a>
<div class="cl"></div>
</li>
<li >
<label class="label02">互评结束时间:&nbsp;</label>
<input type="text" name="" class="hwork_input02 fl" value="2015-04-23 12:00" >
<a href="javascript:void(0);" class="pic_date mt5 ml5"></a>
<p class="ml5 fl mt5">互评将持续<span class="c_red">&nbsp;20&nbsp;</span>天</p>
<div class="cl"></div>
</li>
<li >
<label class="label02">匿评分配数:&nbsp;</label>
<input type="text" name="" class=" hwork_input02 fl" value="3" >
<p class="ml5 fl mt5">每个学生将收到<span class="c_red">&nbsp;3&nbsp;</span>份待匿评作品</p>
<div class="cl"></div>
</li>
<li >
<label class="label02">缺评扣分:&nbsp;</label>
<select class="fl mb10 h26 w70" >
<option >1</option>
<option selected="selected">2</option>
<option >3</option>
<option >4</option>
<option >5</option>
</select>
<span class="fl mt5">&nbsp;分</span>
<p class="ml5 fl mt5">学生漏评1个作品将扣<span class="c_red">&nbsp;2&nbsp;</span>分</p>
<div class="cl"></div>
</li>
</ul> <!-- h1 end--->
</div><!--hwork_new_set end-->
<a class="blue_btn fl mr10 " onClick="show_window();" >提交</a><a href="#" target="_blank" class="grey_btn fl ">取消</a>
</div><!--hwork_new end-->
<div class="cl"></div>

View File

@ -133,8 +133,8 @@ a.re_de{ color:#6883b6; margin-left:15px;}
.tb_{ background-color: #eaeaea; height:40px; }
.tb_ ul{height:40px; }
.tb_ li{float:left;height:34px;width: 90px;cursor:pointer; font-size:14px; padding-top:6px; text-align:center; }
a.tb_all{ margin-left:212px; font-size:12px; display:block; height:23px; padding-top:4px; width:90px; color:#7a7a7a; border:1px solid #cbcbcb; background:#fff; text-align: center;}
a:hover.tb_all{ background:#eaeaea; text-decoration:none;}
a.tb_all{ float:right; font-size:12px; display:block; height:18px; padding-top:2px; width:90px; color:#ff5d31; border:1px solid #ff5d31; background:#fff; text-align: center;}
a:hover.tb_all{ background:#ff5d31; color:#fff; text-decoration:none;}
.work_tb_{ background-color: #eaeaea; height:40px; }
a.work_edit{color: #64bdd9; display:block; padding:1px 5px; border:1px solid #64bdd9;}
@ -583,14 +583,18 @@ a:hover.Reply_pic{border:1px solid #64bdd9;}
/*.talk_new{ border-bottom:1px dashed #d9d9d9; padding-bottom:10px;}*/
#about_newtalk{ display:none;}
.ml14{ margin-left:14px;}
.w548{ width:552px;}
.w547{ width:544px;}
.w196{ width:196px;}
.w459{ width:459px;}
.hwork_new_set{border:1px dashed #CCC; background:#f5f5f5; text-align:center; padding:10px 0; margin-bottom:10px;}
.hwork_new_grey{background:#dbdbdb; width:610px; padding:10px 20px; margin:0 auto; text-align:left; margin-bottom:5px;}
.hwork_new_left{ width:220px; float:left; }
.hwork_new_right{ width:350px; float:left; margin-left:40px;}
.w305{ width:305px;}
.icon_add{ background:url(../images/courses/icons.png) 0px -310px no-repeat; width:16px; height:27px; display:block;float:left; margin-right:5px;}
a:hover.icon_add{background:url(../images/courses/icons.png) -20px -310px no-repeat;}