选择实训弹窗调整

dev_local
杨树明 6 years ago
parent 1846687675
commit 5c5562822b

@ -39,48 +39,83 @@
<div class="user_bg_shadow bor-grey-e mb20 answer_Temp edu-back-white practicalTemp" id="answer_Temp">
<div class="fl mt15 font-16 mb10 padding10 practicalTitlefont">实训题</div>
<div class="fl mt15 font-16 mb10 padding10 practicalTitlefont">实训题</div>
<div class="fl font-16 mb10 practicalTitle">
<span class="Titlefont">初级题</span>
<div class="fr mr40 shixun-title-font">
<span class="color-red mr5 shixun-title-font">*</span>分值:<input class="borderFF8121"/> 分/题
<div class="colorFF8121">*大于等于0且不能大于100</div>
</div>
<div class="fl font-16 mb10 practicalTitle">
<div class="fr mr40 shixun-title-font">
<span class="color-red mr5 shixun-title-font">*</span>
随机出题量:<input class="borderFF8121"/> 题
<div class="colorFF8121">*不能为空</div>
<div class="colorFF8121">*必须为正整数</div>
<div class="colorFF8121">*不能大于可用题数</div>
</div>
<span class="Titlefont">初级题</span>
<div class="fr mr40 shixun-title-font">
<span class="color-orange mr5 shixun-title-font">3</span>
题可用
</div>
<div class="fr mr40 shixun-title-font">
<span class="color-red mr5 shixun-title-font">*</span>分值:<input class="borderFF8121"/> 分/题
<div class="colorFF8121sum">*大于等于0且不能大于100</div>
<div class="colorFF8121sum">*不能为空</div>
<div class="colorFF8121sum">*必须大于等于0</div>
<div class="colorFF8121sum">*不能大于100</div>
</div>
</div>
<div class="fr mr40 shixun-title-font">
<span class="color-red mr5 shixun-title-font">*</span>
随机出题量:<input class="borderFF8121"/> 题
<div class="colorFF8121">*不能为空</div>
<div class="colorFF8121">*必须为正整数</div>
<div class="colorFF8121">*不能大于可用题数</div>
</div>
<div class="fl font-16 mb10 practicalTitle">
<div class="fr mr40 shixun-title-font">
<span class="color-orange mr5 shixun-title-font">3</span>
题可用
</div>
<span class="Titlefont">中级题</span>
</div>
</div>
<div class="fl mb10 shixunsbox">
<div class="fl font-16 mb10 practicalTitle">
<div>
<a class="shixunsboxfont">命令加密ZPI压缩文件解压</a>
<span class="shixundelect">
<i data-tip-down="删除" class="fa fa-times-circle mr10 color-afafaf"></i>
</span>
</div>
<span class="Titlefont">高级题</span>
<div>
<a class="shixunsboxfont">命令加密ZPI压缩文件解压</a>
<span class="shixundelect">
<i data-tip-down="删除" class="fa fa-times-circle mr10 color-afafaf"></i>
</span>
</div>
</div>
<div>
<a class="shixunsboxfont">命令加密ZPI压缩文件解压</a>
<span class="shixundelect">
<i data-tip-down="删除" class="fa fa-times-circle mr10 color-afafaf"></i>
</span>
</div>
<div class="fl font-16 mb10 practicalTitle">
</div>
<span class="Titlefont">顶级题</span>
</div>
<!-- <div class="fl font-16 mb10 practicalTitle">-->
<!-- <span class="Titlefont">中级题</span>-->
<!-- </div>-->
<!-- <div class="fl font-16 mb10 practicalTitle">-->
<!-- <span class="Titlefont">高级题</span>-->
<!-- </div>-->
<!-- <div class="fl font-16 mb10 practicalTitle">-->
<!-- <span class="Titlefont">顶级题</span>-->
<!-- </div>-->
</div>

@ -1,22 +1,22 @@
<div class="mh360">
<table class="edu-pop-table color-grey edu-txt-center table-pa5" cellspacing="0" cellpadding="0">
<thead>
<thead class="block">
<tr>
<th>实训名称</th>
<th>创建者</th>
<th>级别</th>
<th class="width425p">实训名称</th>
<th class="width100p">创建者</th>
<th class="width100p">级别</th>
</tr>
</thead>
<tbody class="over260" id="shixun_list_block">
<tbody class="over300 block" id="shixun_list_block">
<% @shixuns.each do |shixun| %>
<tr>
<td class="clearfix" style="padding-left: 20px">
<td class="clearfix width420p" style="padding-left: 20px">
<input name="shixun_exercise[]" type="checkbox" class="magic-checkbox" id="shixun_input_<%= shixun.id %>" value="<%= shixun.id %>">
<label style="top:2px" for="shixun_input_<%= shixun.id %>"></label>
<%= link_to shixun.name, shixun_path(shixun), :class => "edu-info-dark task-hide mt3 ml20",:style=> "text-align:left", :target => "_blank" %>
</td>
<td><%= link_to shixun.owner.try(:show_name), user_path(shixun.owner), :class => "edu-txt-w140 mt3 task-hide" %></td>
<td><%= shixun.shixun_level %></td>
<td class="width100p"><%= link_to shixun.owner.try(:show_name), user_path(shixun.owner), :class => "mt3 task-hide" %></td>
<td class="width100p"><%= shixun.shixun_level %></td>
</tr>
<% end %>
</tbody>
@ -85,27 +85,3 @@
}
</script>
<script>
//滑动到底加载
function contentViewScroll(){
//滑动到底加载
if(e.currentTarget.scrollHeight-e.currentTarget.scrollTop===e.currentTarget.clientHeight){
<!-- var url= www.xxx.com-->
<!-- $.ajax({-->
<!-- type: "post",-->
<!-- url: url,-->
<!-- data: {-->
<!-- poll_question_id: <%#= poll_question.id %>,-->
<!-- poll_answer_id: <%#= poll_answer.id %>,-->
<!-- vote_text: obj.value-->
<!-- },-->
<!-- success: function (data) {-->
<!-- 填充到 tbody标签里-->
<!-- }-->
<!-- });-->
}
}
</script>

@ -230,6 +230,8 @@ input::-ms-clear{display:none;}
.color-grey-B4{color: #B4B4B4!important;}
.color-grey-74{color: #747A7F!important;}
.color-f5f5f5{color: #f5f5f5!important;}
.color-afafaf{color: #afafaf!important;}
a.color-grey-name:hover,a.color-dark:hover,a.color-grey-6:hover,a.color-grey-3:hover{color: #4cacff!important;}
a.color-grey-9:hover,a.color-grey-8:hover,a.color-grey-c:hover{color: #111C24!important;}
/*蓝色*/
@ -890,7 +892,7 @@ html>body #ajax-indicator { position: fixed; }
.practicalTemp{
width:1200px;
height:950px;
min-height:950px;
background:rgba(255,255,255,1);
border:1px solid rgba(238,238,238,1);
}
@ -901,7 +903,7 @@ html>body #ajax-indicator { position: fixed; }
font-weight:400;
color:rgba(102,102,102,1);
width: 1200px;
height: 60px;
min-height: 60px;
line-height: 25px;
padding-left: 10px;
border-bottom: 1px solid rgba(238,238,238,1);
@ -915,7 +917,7 @@ html>body #ajax-indicator { position: fixed; }
.Titlefont{
width: 48px;
height: 30px;
min-height: 30px;
font-size: 15px;
font-family: MicrosoftYaHei;
font-weight: 400;
@ -936,6 +938,59 @@ html>body #ajax-indicator { position: fixed; }
margin-left: 117px;
}
.colorFF8121sum{
color: #FF8121;
font-size: 12px;
text-align: left;
width: 160px;
margin-left: 62px;
}
.borderFF8121{
border:1px solid #FF8121
}
.shixunsbox{
width: 1180px;
padding-left: 20px;
padding-bottom: 20px;
border-bottom: 1px solid rgba(238,238,238,1);
}
.shixunsboxfont{
width:1060px;
min-height:12px;
font-size:4px;
font-family:MicrosoftYaHei;
font-weight:400;
color:rgba(122,122,122,1);
display: inline-block;
}
.shixundelect{
font-size: 18px;
}
.shixundelect:hover .color-afafaf{
color:#5b5b5b !important;
}
.block{
display: block;
}
.over300{
max-height: 300px;
overflow-y: auto;
display: block;
}
.width100p{
width:100px;
}
.width425p{
width:425px;
}
.width420p{
width:420px;
}
Loading…
Cancel
Save