123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151 |
- @{
- ViewBag.Title = "WaittingPage";
- Layout = "~/Views/Shared/Examinee.cshtml";
- }
- <form id="form1">
- @Html.Hidden("hide_Exam_Url")
- @Html.Hidden("hide_State")
- <div class="PageLoad">
- <img src="@Url.Content("~/Content/Examiner/Image/loading.jpg")" /></div>
- <span id="test"></span>
- <div id="paper_body">
- <div id="topContainer">
- <div id="information_bar">
- </div>
- <div id="control_bar">
- <div id="control_container">
- <div>
- 离考试结束还有</div>
- <div class="timer">
- </div>
- <input type="button" value="" id="btn_takePaper" class="newexambtn" />
- </div>
- </div>
- <div class="box">
- </div>
- </div>
- <div class="tooltip1">
- <span style="font-weight: bold">温馨提示:</span>试卷共有<span id="exam_count" class="tooltip_text"></span>道题,还剩<span
- id="exam_over" class="tooltip_text"></span>道,标记<span id="exam_sign" class="tooltip_text"></span>道。
- <font color="red">红色</font>代表标记,<font color="green">绿色</font>代表已做,<font color="blue">蓝色</font>代表未做。</div>
- <span id="txt_message" style="display: none"></span><span id="txt_ListRoomMessage"
- style="display: none"></span><span id="txt_GetExamineeMessage" style="display: none">
- </span><span id="txt_changeState" style="display: none"></span><span id="txt_autoSave"
- style="display: none"></span>
- <div id="ExamPaper">
- <div id="navigation_bar">
- <div class="navigation_desc2">
- 题目导航</div>
- <div id="navigation_container">
- <div id="navigation_body" class="navigation_body">
- </div>
- </div>
- <div id="navigation_button">
- </div>
- </div>
- <div class="q_placehold">
- <div id="question">
- </div>
- <div class="q_buttom">
- </div>
- </div>
- <div style="clear: both">
- </div>
- </div>
- <div id="buttonContainer">
- </div>
- </div>
- <div id="ExamMessage" style="display: none; margin-top: 0px; text-align: center;
- overflow: hidden; zoom: 100%;">
- <div style="background-image: url('@Url.Content("~/Content/Examiner/Image/takepaper.jpg")'); background-repeat: no-repeat;
- background-position: top; height: 800px;">
- <div style="margin: 440px auto; width: 100%; float: left; text-align: center;" id="divClose"
- name="divClose">
- <span id="lbScore">@ViewBag.lbScore</span>
- <br />
- <a id="login" href="javascript:launchEnter()" style="vertical-align: top;">
- <img border='0' src="@Url.Content("~/Content/Examiner/Image/ReExam.gif")" /></a> <a href="javascript:launchClose()">
- <img border='0' src="@Url.Content("~/Content/Examiner/Image/eColse.gif")" /></a>
- </div>
- <div style="clear: both">
- </div>
- </div>
- </div>
- @Html.Hidden("hdf_Testmethod")
- </form>
- @section header{
- <link href="~/Content/Examiner/common.css" type="text/css" rel="stylesheet" />
- <link href="~/Content/Examiner/examStyle.css" type="text/css" rel="stylesheet" />
- }
- @section scripts{
- <script type="text/javascript" src="~/Scripts/Examinee/hashtable.js"></script>
- <script type="text/javascript" src="~/Scripts/Examinee/jquery.timers.js"></script>
- <script type="text/javascript" src="~/Scripts/Examinee/jquery-jtemplates_uncompressed.js"></script>
- <script type="text/javascript" src="~/Scripts/Examinee/jquery.countdown.js"></script>
- <script type="text/javascript" src="~/Scripts/Examinee/iexam.interactively.js"></script>
- <script type="text/javascript" src="~/Scripts/Examinee/examinee.js"></script>
- <script type="text/javascript" src="~/Scripts/Examinee/paperBuilder.js"></script>
- <script type="text/javascript" src="~/Scripts/Examinee/jquery.xml2json.js"></script>
- <script type="text/javascript">
- var examinee =@Html.Raw(ViewBag.examinee);
- @ViewBag.controllabled
- if (typeof (examineeBehaviour) != 'undefined') {
- var behaviour = new examineeBehaviour();
- var examInfo;
- var paper = new Array();
- var allWarring;
- var personWarring;
- $(function () {
- $.get("@Url.Content("~/OnlineTest/ExamQuesion")?test_id=@(ViewBag.test_id)&paper_id=@(ViewBag.newPaperid)", function (paperxml) {
-
- examInfo = paperxml.examInfo;
- var paperInfo = paperxml.paper;
- var questionCount = 0;
- $(paperInfo).each(function (i, j) {
- if (j.questions != null) {
- if (j.questions.length > 0) {
- questionCount += j.questions.length;
- questiont = j;
- }
- else {
- questionCount += 1;
- var question = new Array();
- question.push(j.questions);
- j.questions = question;
- }
- paper.push(j);
- }
- });
- examInfo.questionCount = questionCount;
- allWarring = paperxml.allWarring;
- personWarring = paperxml.personWarring;
- if (allWarring == null) { allWarring = new Object(); }
- if (personWarring == null) { personWarring = new Object(); }
- var builder = new paperBuilder();
- builder.BuildInformationPanel(examInfo);
- builder.BuildPaper(paper);
- behaviour.bindSignEvent();
- var methodType = $("#hdf_Testmethod").val();
- if (methodType != "0") {
- $("#divClose").hide();
- }
- else {
- var readPaper = $('[id$=hide_State]').val();
- if (readPaper == "0") {
- document.getElementById("login").style.display = "none";
- $('[id$=lbScore]').hide();
- }
- }
- });
- });
- }
-
- </script>
- }
|