Examination_system/Examination_system-1/.svn/pristine/35/35c883e76eee5d92fd50f4af8bb...

233 lines
8.6 KiB
Plaintext

<%@page contentType="text/html;charset=UTF-8"%>
<%@page import="org.apache.jasper.tagplugins.jstl.core.ForEach"%>
<%@taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<c:set var="bonuspath" value="${pageContext.request.contextPath}" />
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>培训考试系统</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="keywords" content="">
<meta name="description" content="">
<link rel="stylesheet" type="text/css" href="${bonuspath}/static/EduCationTrainUI/TestDemo/css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="${bonuspath}/static/EduCationTrainUI/TestDemo/css/font-awesome.min.css">
<link rel="stylesheet" href="${bonuspath}/static/EduCationTrainUI/TestDemo/css/animate.min.css">
<link rel="stylesheet" href="${bonuspath}/static/EduCationTrainUI/TestDemo/css/templatemo-style.css">
<link href='${bonuspath}/static/EduCationTrainUI/TestDemo/css/css.css' rel='stylesheet' type='text/css'>
<style type="text/css">
h4,h5,a{
color: #666666;
cursor:pointer;
}
#daohangl{
background-image: url(${bonuspath}/static/EduCationTrainUI/TestDemo/img/heard.png);
}
.activeBack{
background-color:black;
}
.welcome{
position:absolute;
margin-left: 20px;
}
.div-inline{
float: left;
width: 20%;
padding:0px;
margin-left:2.5%;
margin-right:2.5%;
height: 300px;
background: white;
display: inline-block;
}
.further.active{
display:inline;
}
.img-position{
text-align:center;
}
</style>
<!-- <script>
$(function(){
$(".smoothScroll").click(function(){
debugger
console.log(this);
if($('.activeBack')){
$('.activeBack').removeClass("activeBack");
debugger
}
debugger
$(this).addClass("activeBack");
});
})
</script> -->
</head>
<body>
<!-- start navigation -->
<div id="daohangl" class="navbar navbar-default navbar-fixed-top">
<div class="container">
<div class="row">
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="${pageContext.request.contextPath}/backstage/index" id="index" class="smoothScroll activeBack" >首页</a></li><!-- #66AF33 -->
<c:if test="${sessionUser.ifPermiss ne '1'}">
<li><a onclick="toWaitExamPage()" class="smoothScroll">开始考试</a></li>
<li><a onclick="toSelfExamPage()" class="smoothScroll">自测练习</a></li>
<!--<li><a href="#" id="person" onclick="gradeInfo()" class="smoothScroll">个人中心</a></li>
<li><a href="#" id="person" onclick="logon()" class="smoothScroll">退出</a></li> -->
</c:if>
<c:if test="${sessionUser.ifPermiss ne '1'}">
<li><a href="#" id="person" onclick="gradeInfo()" class="smoothScroll">个人中心</a></li>
</c:if>
<li><a href="#" id="person" onclick="logon()" class="smoothScroll">退出</a></li>
<li class="welcome">
<a>
<small>欢迎光临,</small>
<span id="user-info-name ">
<c:choose>
<c:when test="${!empty sessionUser.name}"> ${sessionUser.name }</c:when>
<c:otherwise>用户</c:otherwise>
</c:choose>
</span>
</a>
</li>
<c:if test="${sessionUser.ifPermiss eq '1'}">
<li><a href="#" onclick="inter()" class="smoothScroll">进入后台</a></li>
</c:if>
<li><a href="#" onclick="proctor()" class="smoothScroll">大屏监考</a></li>
</ul>
</div>
</div>
</div>
</div>
<br>
<br>
<div>
<p><img src="${bonuspath}/static/EduCationTrainUI/TestDemo/img/0001.png" height=400px width=100% /></p>
</div>
<div class="div-inline" >
<div class="img-position">
<p><img src="${bonuspath}/static/EduCationTrainUI/TestDemo/img/zyzsjsmo_home.png" /></p>
<h3>考试须知: </h3>
<p>考试开始后15分钟后不得参加考试 </p>
<p>考试题型,考试时长等</p>
<%-- <a href="${pageContext.request.contextPath}/backstage/TestRemind" style="font-size:20px;color:#FF962A"> --%>
<a href="#" style="font-size:20px;color:#FF962A">
<b>进一步了解></b>
</a>
</div>
</div>
<div class="div-inline">
<div class="img-position">
<p><img src="${bonuspath}/static/EduCationTrainUI/TestDemo/img/mobile_forbiden.png" width=80px /></p>
<h3>严肃考试,禁止事项: </h3>
<p>不要在考试期间对试卷进行拍照,录屏等; </p>
<p>禁止通过微信,QQ等聊天软件交流考试答案;</p>
<p>禁止通过浏览器搜索考试答案; </p>
</div>
</div>
<div class="div-inline" style="width:35%;margin-left:10%">
<img src="${bonuspath}/static/EduCationTrainUI/TestDemo/img/onlineTest.png" />
</div>
<div class="div-inline" >
<div class="img-position">
<p><img src="${bonuspath}/static/EduCationTrainUI/TestDemo/img/test-system.png" width=80px /></p>
<h3>完善的考试系统:</h3>
<p>多种题库考试 </p>
<p>实时成绩统计,考生考完即可得到成绩 </p>
<p>随机出题功能、限制账号登录等功能</p>
</div>
</div>
<div class="div-inline">
<div class="img-position">
<p><img src="${bonuspath}/static/EduCationTrainUI/TestDemo/img/lock.png" width=80px /></p>
<h3>加密保护,安全: </h3>
<p>保护用户数据隐私 </p>
<p>多种试题保护机制,防止泄露试题信息 </p>
<p>防作弊、随机乱序等考场环境设置</p>
</div>
</div>
<script src="${bonuspath}/static/EduCationTrainUI/TestDemo/js/jquery.min.js"></script>
<script src="${bonuspath}/static/EduCationTrainUI/TestDemo/js/bootstrap.min.js"></script>
<script src="${bonuspath}/static/EduCationTrainUI/TestDemo/js/jquery.simple-text-rotator.js"></script>
<script src="${bonuspath}/static/EduCationTrainUI/TestDemo/js/smoothscroll.js"></script>
<script src="${bonuspath}/static/EduCationTrainUI/TestDemo/js/wow.min.js"></script>
<script src="${bonuspath}/static/EduCationTrainUI/TestDemo/js/jquery.flexslider.js"></script>
<script src="${bonuspath}/static/EduCationTrainUI/TestDemo/js/templatemo-script.js"></script>
<script src="${bonuspath}/static/EduCationTrainUI/TestDemo/js/video.js"></script>
<!-- end javascript -->
</body>
<script src="${bonuspath}/static/EduCationTrainUI/TestDemo/js/jquery.min.js"></script>
<script src="${bonuspath}/static/EduCationTrainUI/TestDemo/js/bootstrap.min.js"></script>
<script src="${bonuspath}/static/EduCationTrainUI/TestDemo/js/jquery.simple-text-rotator.js"></script>
<script src="${bonuspath}/static/EduCationTrainUI/TestDemo/js/smoothscroll.js"></script>
<script src="${bonuspath}/static/EduCationTrainUI/TestDemo/js/wow.min.js"></script>
<script src="${bonuspath}/static/EduCationTrainUI/TestDemo/js/jquery.flexslider.js"></script>
<script src="${bonuspath}/static/EduCationTrainUI/TestDemo/js/templatemo-script.js"></script>
<script src="${bonuspath}/static/EduCationTrainUI/TestDemo/js/video.js"></script>
<!-- end javascript -->
</body>
<script type="text/javascript">
function inter(){
$(location).attr("href","${bonuspath}/intercontroller");
}
function proctor(){
$(location).attr("href","${bonuspath}/proctor");
}
function logon(){
$(location).attr("href","${bonuspath}/system_logout");
}
function gradeInfo(){
$(location).attr("href","${bonuspath}/gardeInfo");
}
function toWaitExamPage() {
$(location).attr("href","${bonuspath}/backstage/waitExamPage");
}
function toSelfExamPage() {
$(location).attr("href","${bonuspath}/backstage/selfExamPage");
}
$(function() {
changeIsActive();
})
function changeIsActive() {
$.ajax({
type:"POST",
url:'${bonuspath}/backstage/registration/changeIsActive',
data: {},
success:function(data){
},
error:function(data){
console.log(data);
console.log("服务器出错,请查看!");
}
});
}
</script>
</html>