diff --git a/WebRoot/WEB-INF/jsp/sunvote/student/student_list2.jsp b/WebRoot/WEB-INF/jsp/sunvote/student/student_list2.jsp index 95787a9..b7ab6d6 100644 --- a/WebRoot/WEB-INF/jsp/sunvote/student/student_list2.jsp +++ b/WebRoot/WEB-INF/jsp/sunvote/student/student_list2.jsp @@ -102,7 +102,7 @@ 新增 批量上传 - 查看班级报表 + diff --git a/WebRoot/WEB-INF/jsp/sunvote/teacher/stduent_report.jsp b/WebRoot/WEB-INF/jsp/sunvote/teacher/stduent_report.jsp index ca99364..8ce2598 100644 --- a/WebRoot/WEB-INF/jsp/sunvote/teacher/stduent_report.jsp +++ b/WebRoot/WEB-INF/jsp/sunvote/teacher/stduent_report.jsp @@ -66,6 +66,8 @@

班级最高得分率0.0%

+ +
diff --git a/WebRoot/WEB-INF/jsp/sunvote/teacher/teacher_main.jsp b/WebRoot/WEB-INF/jsp/sunvote/teacher/teacher_main.jsp index fa4b97f..7aea2a2 100644 --- a/WebRoot/WEB-INF/jsp/sunvote/teacher/teacher_main.jsp +++ b/WebRoot/WEB-INF/jsp/sunvote/teacher/teacher_main.jsp @@ -94,10 +94,11 @@
-
测验
+

          试卷

@@ -204,7 +205,7 @@ self.location.href = "<%=basePath%>" + "paper/npaper.do?" + "name=" + name + "&time=" + time ; $(".title_time").modal("hide"); }); - $(".test").click(function(){ + $("#test").click(function(){ $(".content_r").html(''); }) @@ -212,6 +213,10 @@ var path = "student/listcs.do?class_id=" + classID + "&term_id=" + termID ; $(".content_r").html(''); } + + function report(classId){ + window.open('<%=basePath%>report/report.do?classid=' + classId); + } /* $(".analysis").click(function(){ $(".content_r").html(''); }) */ diff --git a/WebRoot/static/css/style1.css b/WebRoot/static/css/style1.css index 441373a..aa7c2fb 100644 --- a/WebRoot/static/css/style1.css +++ b/WebRoot/static/css/style1.css @@ -1,4 +1,4 @@ -html,body{width:100%;height:100%;} +html,body{width:100%;height:100%;} ul{padding:0;} .content{height:100%;} .on{background:#b6ebf1;} @@ -10,7 +10,7 @@ ul{padding:0;} .content .content_l{height:100%;overflow-y:auto;padding:0;} .content .content_l li p{line-height:50px;font-size:25px;text-align:center;} .content .content_r{padding:0;overflow-x:hidden;} -.content .content_r .tabel_t{background:#50b5c9;padding-top:5%;} +.content .content_r .tabel_t{background:#50b5c9;padding-top:5%;position:relative;} .content .content_r .tabel_t .name{color:#fff;text-align:center;} .header .navbar{background:#fff;border-bottom:1px solid #ccc;height:70px;} .circle{border-bottom:1px solid #fff;} @@ -23,4 +23,7 @@ ul{padding:0;} .tabel_b .tab_top .col-md-3{font-size:20px;color:#8ab1b8;} .tabel_b .tab_top .col-md-9 .color{float:left;margin-right:10%;} .tabel_b .tab_top .col-md-9 .color li{float:left;} -.tabel_b .tab_top .col-md-9 .color li span{display:inline-block;width:15px;height:6px;vertical-align: middle;margin-left:5px;margin-right:5px;} \ No newline at end of file +.tabel_b .tab_top .col-md-9 .color li span{display:inline-block;width:15px;height:6px;vertical-align: middle;margin-left:5px;margin-right:5px;} + +.prev{width:50px;height:50px;background:url(../images/prev.png) no-repeat;background-size:100%;position:absolute;top:40%;left:3%;} +.next{width:50px;height:50px;background:url(../images/next.png) no-repeat;background-size:100%;position:absolute;top:40%;right:3%;} \ No newline at end of file diff --git a/WebRoot/static/images/next.png b/WebRoot/static/images/next.png new file mode 100644 index 0000000..8e4e759 --- /dev/null +++ b/WebRoot/static/images/next.png diff --git a/WebRoot/static/images/prev.png b/WebRoot/static/images/prev.png new file mode 100644 index 0000000..6b641b4 --- /dev/null +++ b/WebRoot/static/images/prev.png diff --git a/WebRoot/static/js/control1.js b/WebRoot/static/js/control1.js index e38a0e9..cc986d5 100644 --- a/WebRoot/static/js/control1.js +++ b/WebRoot/static/js/control1.js @@ -66,6 +66,25 @@ endDate=date_arry[1]; getData(startDate,endDate); }) + + $(".prev").click(function(){ + _index-=1; + if(_index<0){ + _index=data_temp.data.studentList.length-1; + } + $(".content_l li").eq(_index).siblings().removeClass("on"); + $(".content_l li").eq(_index).addClass("on"); + data(_index,data_temp); + }) + $(".next").click(function(){ + _index+=1; + if(_index>(data_temp.data.studentList.length-1)){ + _index=0; + } + $(".content_l li").eq(_index).siblings().removeClass("on"); + $(".content_l li").eq(_index).addClass("on"); + data(_index,data_temp); + }) });