Commit 21804155c3dcbe9fda5b84dc01da6dbd93aeac30
1 parent
95539872
1、修改jq和bootstrap路径
2、优化登录页文本框焦点获取不到现象
Showing
11 changed files
with
167 additions
and
168 deletions
WebRoot/WEB-INF/jsp/sunvote/homework/homework_report.jsp
... | ... | @@ -55,7 +55,7 @@ |
55 | 55 | <ul class="nav nav-tabs" role="tablist" style="padding-bottom:3%"> |
56 | 56 | |
57 | 57 | <c:forEach items="${pd.CLASSES}" var="var" varStatus="vs"> |
58 | - <li class="btn ${pd.CLASS_ID==var.CLASS_ID?'btn-primary':'btn-default'} }btn-default btn-lg" onclick="homeReport('${var.CLASS_ID}')">${var.CLASS_NAME}</li> | |
58 | + <li class="btn ${pd.CLASS_ID==var.CLASS_ID?'btn-primary':'btn-default'} btn-default btn-lg" onclick="homeReport('${var.CLASS_ID}')">${var.CLASS_NAME}</li> | |
59 | 59 | </c:forEach> |
60 | 60 | |
61 | 61 | </ul> |
... | ... | @@ -80,7 +80,7 @@ |
80 | 80 | class="span10 date-picker" name="lastStart" id="lastStart" |
81 | 81 | value="${pd.START_DATE}" type="text" data-date-format="yyyy-mm-dd" |
82 | 82 | readonly="readonly" style="width:88px;" placeholder="开始日期" |
83 | - title="开始日期" /> | |
83 | + title="开始日期" />— | |
84 | 84 | </td> |
85 | 85 | <td style="padding-left:2px;"><input |
86 | 86 | class="span10 date-picker" name="lastEnd" id="lastEnd" value="${pd.END_DATE}" | ... | ... |
WebRoot/WEB-INF/jsp/sunvote/homework/homework_student_report.jsp
... | ... | @@ -9,11 +9,11 @@ |
9 | 9 | %> |
10 | 10 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
11 | 11 | <title>班级-测试名单</title> |
12 | -<script src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script> | |
12 | +<script src="../static/js/jquery.min.js"></script> | |
13 | 13 | <script |
14 | - src="http://cdn.staticfile.org/twitter-bootstrap/4.0.0-alpha.2/js/bootstrap.min.js"></script> | |
14 | + src="../static/js/bootstrap.min.js"></script> | |
15 | 15 | <link |
16 | - href="http://cdn.staticfile.org/twitter-bootstrap/4.0.0-alpha.2/css/bootstrap.min.css" | |
16 | + href="../static/css/bootstrap.min.css" | |
17 | 17 | rel="stylesheet" type="text/css" media="all" /> |
18 | 18 | <link href="../static/css/jquery.circliful.css" rel="stylesheet" |
19 | 19 | type="text/css" /> | ... | ... |
WebRoot/WEB-INF/jsp/sunvote/teacher/creat_question.jsp
... | ... | @@ -16,7 +16,7 @@ |
16 | 16 | <!-- 最新版本的 Bootstrap 核心 CSS 文件 --> |
17 | 17 | <link rel="stylesheet" href="../static/css/bootstrap.min.css"> |
18 | 18 | <link rel="stylesheet" href="../static/css/style.css"/> |
19 | - <script type="text/javascript" src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script> | |
19 | + <script type="text/javascript" src="../static/js/jquery.min.js"></script> | |
20 | 20 | <!-- 最新的 Bootstrap 核心 JavaScript 文件 --> |
21 | 21 | <script src="../static/js/bootstrap.min.js"></script> |
22 | 22 | </head> | ... | ... |
WebRoot/WEB-INF/jsp/sunvote/teacher/creat_template.jsp
... | ... | @@ -16,7 +16,7 @@ |
16 | 16 | <!-- 最新版本的 Bootstrap 核心 CSS 文件 --> |
17 | 17 | <link rel="stylesheet" href="../static/css/bootstrap.min.css"> |
18 | 18 | <link rel="stylesheet" href="../static/css/style.css"/> |
19 | - <script type="text/javascript" src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script> | |
19 | + <script type="text/javascript" src="../static/js/jquery.min.js"></script> | |
20 | 20 | <!-- 最新的 Bootstrap 核心 JavaScript 文件 --> |
21 | 21 | <script src="../static/js/bootstrap.min.js"></script> |
22 | 22 | </head> | ... | ... |
WebRoot/WEB-INF/jsp/sunvote/teacher/en_creat_question.jsp
... | ... | @@ -16,7 +16,7 @@ |
16 | 16 | <!-- 最新版本的 Bootstrap 核心 CSS 文件 --> |
17 | 17 | <link rel="stylesheet" href="../static/css/bootstrap.min.css"> |
18 | 18 | <link rel="stylesheet" href="../static/css/style.css"/> |
19 | - <script type="text/javascript" src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script> | |
19 | + <script type="text/javascript" src="../static/js/jquery.min.js"></script> | |
20 | 20 | <!-- 最新的 Bootstrap 核心 JavaScript 文件 --> |
21 | 21 | <script src="../static/js/bootstrap.min.js"></script> |
22 | 22 | </head> | ... | ... |
WebRoot/WEB-INF/jsp/sunvote/teacher/en_stduent_report.jsp
... | ... | @@ -9,11 +9,11 @@ |
9 | 9 | %> |
10 | 10 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
11 | 11 | <title>班级-测试名单</title> |
12 | -<script src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script> | |
12 | +<script src="../static/js/jquery.min.js"></script> | |
13 | 13 | <script |
14 | - src="http://cdn.staticfile.org/twitter-bootstrap/4.0.0-alpha.2/js/bootstrap.min.js"></script> | |
14 | + src="../static/js/bootstrap.min.js"></script> | |
15 | 15 | <link |
16 | - href="http://cdn.staticfile.org/twitter-bootstrap/4.0.0-alpha.2/css/bootstrap.min.css" | |
16 | + href="../static/css/bootstrap.min.css" | |
17 | 17 | rel="stylesheet" type="text/css" media="all" /> |
18 | 18 | <link href="../static/css/jquery.circliful.css" rel="stylesheet" |
19 | 19 | type="text/css" /> | ... | ... |
WebRoot/WEB-INF/jsp/sunvote/teacher/indexPage.jsp
... | ... | @@ -16,7 +16,7 @@ |
16 | 16 | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
17 | 17 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
18 | 18 | <title>首页</title> |
19 | - <link rel="stylesheet" href="http://lib.sinaapp.com/js/bootstrap/3.0.0/css/bootstrap.min.css" /> | |
19 | + <link rel="stylesheet" href="../static/css/bootstrap.min.css" /> | |
20 | 20 | <link rel="stylesheet" href="css/style.css" /> |
21 | 21 | <style> |
22 | 22 | body{ background-color: #fff } |
... | ... | @@ -27,8 +27,8 @@ |
27 | 27 | <!--[if IE]> |
28 | 28 | <script src="http://libs.baidu.com/html5shiv/3.7/html5shiv.min.js"></script> |
29 | 29 | <![endif]--> |
30 | - <script src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script> | |
31 | - <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> | |
30 | + <script src="../static/js/jquery.min.js"></script> | |
31 | + <link rel="stylesheet" href="../static/css/bootstrap.min.css" > | |
32 | 32 | </head> |
33 | 33 | <body> |
34 | 34 | <div class="container content"> | ... | ... |
WebRoot/WEB-INF/jsp/sunvote/teacher/paper_report.jsp
... | ... | @@ -16,8 +16,8 @@ |
16 | 16 | |
17 | 17 | <!-- Bootstrap --> |
18 | 18 | <link href="../static/css/bootstrap.min.css" rel="stylesheet"> |
19 | - <script src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script> | |
20 | - <script src="http://lib.sinaapp.com/js/bootstrap/3.0.0/js/bootstrap.min.js"></script> | |
19 | + <script src="../static/js/jquery.min.js"></script> | |
20 | + <script src="../static/js/bootstrap.min.js"></script> | |
21 | 21 | |
22 | 22 | |
23 | 23 | <style> |
... | ... | @@ -133,8 +133,6 @@ |
133 | 133 | </div> |
134 | 134 | |
135 | 135 | </div> |
136 | - <script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script> | |
137 | - <script src="../static/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script> | |
138 | 136 | <!-- ECharts --> |
139 | 137 | <script src="../static/js/echarts-all.js"></script> |
140 | 138 | <!-- 自定义js --> | ... | ... |
WebRoot/WEB-INF/jsp/sunvote/teacher/stduent_report.jsp
... | ... | @@ -9,11 +9,11 @@ |
9 | 9 | %> |
10 | 10 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
11 | 11 | <title>班级-测试名单</title> |
12 | -<script src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script> | |
12 | +<script src="../static/js/jquery.min.js"></script> | |
13 | 13 | <script |
14 | - src="http://cdn.staticfile.org/twitter-bootstrap/4.0.0-alpha.2/js/bootstrap.min.js"></script> | |
14 | + src="../static/js/bootstrap.min.js"></script> | |
15 | 15 | <link |
16 | - href="http://cdn.staticfile.org/twitter-bootstrap/4.0.0-alpha.2/css/bootstrap.min.css" | |
16 | + href="../static/css/bootstrap.min.css" | |
17 | 17 | rel="stylesheet" type="text/css" media="all" /> |
18 | 18 | <link href="../static/css/jquery.circliful.css" rel="stylesheet" |
19 | 19 | type="text/css" /> | ... | ... |
WebRoot/WEB-INF/jsp/sunvote/teacher/teacher_main.jsp
... | ... | @@ -17,9 +17,7 @@ |
17 | 17 | <title>中天电子-教育管理系统</title> |
18 | 18 | |
19 | 19 | <!-- Bootstrap --> |
20 | -<link | |
21 | - href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" | |
22 | - rel="stylesheet"> | |
20 | +<link href="../static/css/bootstrap.min.css" rel="stylesheet"> | |
23 | 21 | <link href="../static/css/teach.css?a=1" rel="stylesheet"> |
24 | 22 | <link href="../static/css/mb_style.css" rel="stylesheet"> |
25 | 23 | |
... | ... | @@ -54,125 +52,140 @@ |
54 | 52 | <p id="name">${pd.TEACHER.TNAME }</p> |
55 | 53 | <p id="school">${pd.TEACHER.SNAME }</p> |
56 | 54 | </div> |
57 | - <br/> | |
58 | - <br /> | |
59 | - <br/> | |
55 | + <br /> <br /> <br /> | |
60 | 56 | </div> |
61 | - | |
62 | - <div class="testpaper tab1"> | |
63 | - <p>轻松考<span class="right jiao"></span></p> | |
57 | + | |
58 | + <div class="testpaper tab1"> | |
59 | + <p> | |
60 | + 轻松考<span class="right jiao"></span> | |
61 | + </p> | |
64 | 62 | <ul class="menu_1"> |
65 | - <li > | |
63 | + <li> | |
66 | 64 | <p id="qingsongkao_paper">试卷管理</p> |
67 | 65 | </li> |
68 | - <li > | |
66 | + <li> | |
69 | 67 | <p>测验分析</p> |
70 | 68 | <ul class="menu_2"> |
71 | - <c:forEach items="${pd.CLASSINFO}" var="var" varStatus="vs"> | |
72 | - <li onclick="event.stopPropagation();report('${var.CLASS_ID}')"><p>${var.CLASS_NAME}${var.CNAME} 成绩</p></li> | |
73 | - </c:forEach> | |
69 | + <c:forEach items="${pd.CLASSINFO}" var="var" varStatus="vs"> | |
70 | + <li onclick="event.stopPropagation();report('${var.CLASS_ID}')"><p>${var.CLASS_NAME}${var.CNAME} | |
71 | + 成绩</p></li> | |
72 | + </c:forEach> | |
74 | 73 | </ul> |
75 | 74 | </li> |
76 | 75 | </ul> |
77 | - | |
78 | - </div> | |
79 | - <div class="analyse tab1"> | |
80 | - <p> | |
81 | - 即时测<span class="right jiao"></span> | |
82 | - </p> | |
83 | - | |
84 | - <ul class="menu_1"> | |
76 | + | |
77 | + </div> | |
78 | + <div class="analyse tab1"> | |
79 | + <p> | |
80 | + 即时测<span class="right jiao"></span> | |
81 | + </p> | |
82 | + | |
83 | + <ul class="menu_1"> | |
85 | 84 | <li> |
86 | 85 | <p id="jishice_paper">试卷管理</p> |
87 | 86 | </li> |
88 | - | |
87 | + | |
89 | 88 | <li> |
90 | 89 | <p>测验分析</p> |
91 | 90 | <ul class="menu_2"> |
92 | - <c:forEach items="${pd.CLASSINFO}" var="var" varStatus="vs"> | |
93 | - <li onclick="event.stopPropagation();report2('${var.CLASS_ID}')"><p>${var.CLASS_NAME}${var.CNAME} 成绩</p></li> | |
94 | - </c:forEach> | |
91 | + <c:forEach items="${pd.CLASSINFO}" var="var" varStatus="vs"> | |
92 | + <li onclick="event.stopPropagation();report2('${var.CLASS_ID}')"><p>${var.CLASS_NAME}${var.CNAME} | |
93 | + 成绩</p></li> | |
94 | + </c:forEach> | |
95 | 95 | </ul> |
96 | 96 | </li> |
97 | 97 | </ul> |
98 | - </div> | |
99 | - <div class="analyse tab1"> | |
100 | - <p > | |
101 | - 课后练<span class="right jiao"></span> | |
102 | - </p> | |
103 | - | |
104 | - <ul class="menu_1"> | |
98 | + </div> | |
99 | + <div class="analyse tab1"> | |
100 | + <p> | |
101 | + 课后练<span class="right jiao"></span> | |
102 | + </p> | |
103 | + | |
104 | + <ul class="menu_1"> | |
105 | 105 | <li> |
106 | - <p id="practice_manage" onclick="event.stopPropagation();homeWorkList('${pd.TEACHER.SCHOOL_ID}')">练习列表</p> | |
106 | + <p id="practice_manage" | |
107 | + onclick="event.stopPropagation();homeWorkList('${pd.TEACHER.SCHOOL_ID}')">练习列表</p> | |
107 | 108 | </li> |
108 | 109 | <li> |
109 | - <p id="practice_do" onclick="event.stopPropagation();homeWork('${pd.TEACHER.SCHOOL_ID}')">布置练习</p> | |
110 | + <p id="practice_do" | |
111 | + onclick="event.stopPropagation();homeWork('${pd.TEACHER.SCHOOL_ID}')">布置练习</p> | |
110 | 112 | </li> |
111 | 113 | <li> |
112 | - <p id="practice_report" onclick="event.stopPropagation();homeReport()">练习报表</p> | |
114 | + <p id="practice_report" | |
115 | + onclick="event.stopPropagation();homeReport()">练习报表</p> | |
113 | 116 | </li> |
114 | 117 | </ul> |
118 | + </div> | |
115 | 119 | </div> |
116 | - </div> | |
117 | - <div class="content_r"> | |
118 | - <iframe name="mainFrame" id="mainFrame" frameborder="0" width="100%" height="100%"></iframe> | |
119 | - | |
120 | - </div> | |
120 | + <div class="content_r"> | |
121 | + <iframe name="mainFrame" id="mainFrame" frameborder="0" width="100%" | |
122 | + height="100%"></iframe> | |
121 | 123 | |
122 | - <div class="modal fade title_time" tabindex="-1" role="dialog"> | |
123 | - <div class="modal-dialog" role="document" style="z-index:1400"> | |
124 | - <div class="modal-content"> | |
125 | - <div class="modal-header"> | |
126 | - <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> | |
127 | - <h4 class="modal-title">新建试卷</h4> | |
128 | - </div> | |
129 | - <div class="modal-body"> | |
130 | - <div class="form-group"> | |
131 | - <label for="enter_title" class="col-sm-4 control-label">测验标题</label> | |
132 | - <div class="col-sm-6"> | |
133 | - <input type="text" class="form-control" id="enter_title" placeholder="输入测验标题(不能超过100个字符)" maxlength="100" minlength="1"> | |
134 | - </div> | |
135 | - <div class="clearfix"></div> | |
136 | - </div> | |
137 | - <div class="form-group"> | |
138 | - <label for="enter_time" class="col-sm-4 control-label">测验时长(分钟)</label> | |
139 | - <div class="col-sm-6"> | |
140 | - <input type="number" class="form-control" id="enter_time" placeholder="输入测验时长(单位:分钟)" maxlength="3" oninput="if(value.length>3) value=value.slice(0,3)"> | |
141 | - </div> | |
142 | - <div class="clearfix"></div> | |
143 | - </div> | |
144 | - | |
145 | - <div class="form-group"> | |
146 | - <label for="enter_time" class="col-sm-4 control-label">模板</label> | |
147 | - <div class="col-sm-6"> | |
148 | - <select class="chosen-select form-control" name="TEMPLATE_ID" id="TEMPLATE_ID" data-placeholder=""> | |
149 | - <option value="">自定义</option> | |
150 | - <c:forEach items="${templateInfos}" var="var" varStatus="vs"> | |
151 | - <option value="${var.PAGETEMPLATE_ID}">${var.NAME}</option> | |
152 | - </c:forEach> | |
153 | - </select> | |
154 | - </div> | |
155 | - <div class="clearfix"></div> | |
124 | + </div> | |
125 | + | |
126 | + <div class="modal fade title_time" tabindex="-1" role="dialog"> | |
127 | + <div class="modal-dialog" role="document" style="z-index:1400"> | |
128 | + <div class="modal-content"> | |
129 | + <div class="modal-header"> | |
130 | + <button type="button" class="close" data-dismiss="modal" | |
131 | + aria-label="Close"> | |
132 | + <span aria-hidden="true">×</span> | |
133 | + </button> | |
134 | + <h4 class="modal-title">新建试卷</h4> | |
135 | + </div> | |
136 | + <div class="modal-body"> | |
137 | + <div class="form-group"> | |
138 | + <label for="enter_title" class="col-sm-4 control-label">测验标题</label> | |
139 | + <div class="col-sm-6"> | |
140 | + <input type="text" class="form-control" id="enter_title" | |
141 | + placeholder="输入测验标题(不能超过100个字符)" maxlength="100" minlength="1"> | |
142 | + </div> | |
143 | + <div class="clearfix"></div> | |
144 | + </div> | |
145 | + <div class="form-group"> | |
146 | + <label for="enter_time" class="col-sm-4 control-label">测验时长(分钟)</label> | |
147 | + <div class="col-sm-6"> | |
148 | + <input type="number" class="form-control" id="enter_time" | |
149 | + placeholder="输入测验时长(单位:分钟)" maxlength="3" | |
150 | + oninput="if(value.length>3) value=value.slice(0,3)"> | |
151 | + </div> | |
152 | + <div class="clearfix"></div> | |
153 | + </div> | |
154 | + | |
155 | + <div class="form-group"> | |
156 | + <label for="enter_time" class="col-sm-4 control-label">模板</label> | |
157 | + <div class="col-sm-6"> | |
158 | + <select class="chosen-select form-control" name="TEMPLATE_ID" | |
159 | + id="TEMPLATE_ID" data-placeholder=""> | |
160 | + <option value="">自定义</option> | |
161 | + <c:forEach items="${templateInfos}" var="var" varStatus="vs"> | |
162 | + <option value="${var.PAGETEMPLATE_ID}">${var.NAME}</option> | |
163 | + </c:forEach> | |
164 | + </select> | |
165 | + </div> | |
166 | + <div class="clearfix"></div> | |
167 | + </div> | |
168 | + | |
169 | + </div> | |
170 | + <div class="modal-footer"> | |
171 | + <button type="button" class="btn btn-primary" id="time_submit">确定</button> | |
172 | + <button type="button" class="btn btn-primary" data-dismiss="modal">取消</button> | |
173 | + </div> | |
174 | + </div> | |
175 | + <!-- /.modal-content --> | |
156 | 176 | </div> |
157 | - | |
158 | - </div> | |
159 | - <div class="modal-footer"> | |
160 | - <button type="button" class="btn btn-primary" id="time_submit">确定</button> | |
161 | - <button type="button" class="btn btn-primary" data-dismiss="modal">取消</button> | |
162 | - </div> | |
163 | - </div><!-- /.modal-content --> | |
164 | - </div><!-- /.modal-dialog --> | |
165 | - </div><!-- /.modal --> | |
166 | - | |
167 | - | |
168 | - <script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script> | |
169 | - <script | |
170 | - src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> | |
171 | - <script src="../static/js/model.js"></script> | |
172 | - <script src="../static/js/loading.js"></script> | |
173 | - <script src="../static/js/remove.js?a=2"></script> | |
174 | - <script src="../static/js/dailog.js"></script> | |
175 | - <script type="text/javascript"> | |
177 | + <!-- /.modal-dialog --> | |
178 | + </div> | |
179 | + <!-- /.modal --> | |
180 | + | |
181 | + | |
182 | + <script src="../static/js/jquery.min.js"></script> | |
183 | + <script src="../static/js/bootstrap.min.js"></script> | |
184 | + <script src="../static/js/model.js"></script> | |
185 | + <script src="../static/js/loading.js"></script> | |
186 | + <script src="../static/js/remove.js?a=2"></script> | |
187 | + <script src="../static/js/dailog.js"></script> | |
188 | + <script type="text/javascript"> | |
176 | 189 | function chooseClass(classID,termID){ |
177 | 190 | var path = "../student/listcs.do?class_id=" + classID + "&term_id=" + termID ; |
178 | 191 | //$(".content_r").html('<iframe name="mainFrame" id="mainFrame" frameborder="0" style="width:100%;height:'+$(".content_l").height()+'px;" src=' + path + '></iframe>'); |
... | ... | @@ -238,37 +251,38 @@ |
238 | 251 | if(name != null&& name != '' && time != null && time != ''){ |
239 | 252 | var itime = parseInt(time); |
240 | 253 | if(itime > 0 && itime <= 300){ |
241 | - self.location.href = encodeURI("<%=basePath%>" + "paper/npaper.do?" + "name=" + name + "&time=" + time +"&TEMPLATE_ID=" + TEMPLATE_ID); | |
242 | - $(".title_time").modal("hide"); | |
243 | - }else{ | |
244 | - alert("请输入正确的时间,时间不能超过300分钟"); | |
254 | + self.location.href = encodeURI("<%=basePath%>" | |
255 | + + "paper/npaper.do?" + "name=" + name | |
256 | + + "&time=" + time + "&TEMPLATE_ID=" | |
257 | + + TEMPLATE_ID); | |
258 | + $(".title_time").modal("hide"); | |
259 | + } else { | |
260 | + alert("请输入正确的时间,时间不能超过300分钟"); | |
261 | + } | |
262 | + } | |
263 | + }); | |
264 | + | |
265 | + $("#qingsongkao_paper").click(function() { | |
266 | + var path = "../paper/list2.do?"; | |
267 | + //$(".content_r").html('<iframe name="mainFrame" id="mainFrame" frameborder="0" style="width:100%;height:'+$(".content_l").height()+'px;" src=' + path + '></iframe>'); | |
268 | + if ($("#mainFrame").attr('src') != (path)) { | |
269 | + $("#mainFrame").attr('src', path); | |
270 | + window.top.loading.show(); | |
245 | 271 | } |
246 | - } | |
247 | - }); | |
248 | - | |
249 | - $("#qingsongkao_paper").click(function (){ | |
250 | - var path = "../paper/list2.do?" ; | |
251 | - //$(".content_r").html('<iframe name="mainFrame" id="mainFrame" frameborder="0" style="width:100%;height:'+$(".content_l").height()+'px;" src=' + path + '></iframe>'); | |
252 | - if($("#mainFrame").attr('src') != (path)){ | |
253 | - $("#mainFrame").attr('src',path); | |
272 | + }); | |
273 | + | |
274 | + $("#jishice_paper").click(function() { | |
275 | + var path = "../teacher/teach_paper.do?"; | |
276 | + //if($("#mainFrame").attr('src') != (path)){ | |
277 | + $("#mainFrame").attr('src', path); | |
254 | 278 | window.top.loading.show(); |
279 | + //} | |
280 | + }); | |
281 | + | |
282 | + var defaultUrl = '${pd.DEFAULTURL}'; | |
283 | + if (defaultUrl != '' && defaultUrl != '') { | |
284 | + $("#mainFrame").attr('src', defaultUrl); | |
255 | 285 | } |
256 | - }); | |
257 | - | |
258 | - $("#jishice_paper").click(function (){ | |
259 | - var path = "../teacher/teach_paper.do?" ; | |
260 | - //if($("#mainFrame").attr('src') != (path)){ | |
261 | - $("#mainFrame").attr('src',path); | |
262 | - window.top.loading.show(); | |
263 | - //} | |
264 | - }); | |
265 | - | |
266 | - | |
267 | - | |
268 | - var defaultUrl = '${pd.DEFAULTURL}' ; | |
269 | - if(defaultUrl != '' && defaultUrl != ''){ | |
270 | - $("#mainFrame").attr('src',defaultUrl); | |
271 | - } | |
272 | - </script> | |
286 | + </script> | |
273 | 287 | </body> |
274 | 288 | </html> |
275 | 289 | \ No newline at end of file | ... | ... |
WebRoot/WEB-INF/jsp/system/index/login.jsp
... | ... | @@ -17,16 +17,13 @@ |
17 | 17 | <title>中天电子-教育管理系统</title> |
18 | 18 | |
19 | 19 | <!-- Bootstrap --> |
20 | -<link | |
21 | - href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" | |
22 | - rel="stylesheet"> | |
20 | +<link href="static/css/bootstrap.min.css" rel="stylesheet"> | |
23 | 21 | <link href="static/login/style_login.css" rel="stylesheet"> |
24 | 22 | |
25 | 23 | <script src="static/js/jquery-1.7.2.js"></script> |
26 | 24 | <script src="static/login/js/jquery.easing.1.3.js"></script> |
27 | 25 | <script type="text/javascript" src="static/js/jQuery.md5.js"></script> |
28 | 26 | <script type="text/javascript" src="static/js/jquery.tips.js"></script> |
29 | -<script type="text/javascript" src="static/js/jquery.cookie.js"></script> | |
30 | 27 | <script type="text/javascript" src="static/js/lang.js"></script> |
31 | 28 | <script type="text/javascript" > |
32 | 29 | if(lang() != 'zh'){ |
... | ... | @@ -34,6 +31,9 @@ |
34 | 31 | } |
35 | 32 | </script> |
36 | 33 | <style type="text/css"> |
34 | +body{ | |
35 | + margin:0; | |
36 | +} | |
37 | 37 | .div_foot { |
38 | 38 | height: 30px; |
39 | 39 | line-height: 35px; |
... | ... | @@ -61,8 +61,9 @@ |
61 | 61 | </div> |
62 | 62 | <div class="content_b"> |
63 | 63 | <div class="form_box"> |
64 | - <form action="" method="post" name="loginbox" id="loginbox" > | |
64 | + <div id="loginbox" > | |
65 | 65 | <div class="name_box"> |
66 | + | |
66 | 67 | <input type="text" name="loginname" id="loginname" value="" placeholder="用户名" autoComplete="off"/> |
67 | 68 | <svg t="1554790328236" class="icon_down" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2161" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><defs><style type="text/css"></style></defs><path d="M863.321996 251.674996 194.108395 251.674996 528.677333 621.186771Z" p-id="2162" fill="#333333"></path></svg> |
68 | 69 | </div> |
... | ... | @@ -80,7 +81,7 @@ |
80 | 81 | |
81 | 82 | </ul> |
82 | 83 | </div> |
83 | - </form> | |
84 | + </div> | |
84 | 85 | |
85 | 86 | </div> |
86 | 87 | </div> |
... | ... | @@ -276,25 +277,11 @@ |
276 | 277 | |
277 | 278 | } |
278 | 279 | </script> |
279 | - <script type="text/javascript" | |
280 | - src="static/login/js/jquery-1.5.1.min.js"></script> | |
281 | - <script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script> | |
282 | - <script | |
283 | - src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> | |
284 | - <script src="static/login/js/bootstrap.min.js"></script> | |
285 | - <script src="static/js/jquery-1.7.2.js"></script> | |
286 | - <script src="static/login/js/jquery.easing.1.3.js"></script> | |
287 | - <script src="static/login/js/jquery.mobile.customized.min.js"></script> | |
288 | - <script src="static/login/js/camera.min.js"></script> | |
289 | - <script src="static/login/js/templatemo_script.js"></script> | |
290 | - <script type="text/javascript" src="static/js/jQuery.md5.js"></script> | |
291 | - <script type="text/javascript" src="static/js/jquery.tips.js"></script> | |
292 | - <script type="text/javascript" src="static/js/jquery.cookie.js"></script> | |
280 | + | |
281 | + | |
293 | 282 | |
294 | 283 | <!-- 软键盘控件start --> |
295 | - <script type="text/javascript" | |
296 | - src="static/login/keypad/js/form/keypad.js"></script> | |
297 | - <script type="text/javascript" | |
298 | - src="static/login/keypad/js/framework.js"></script> | |
284 | + <script type="text/javascript" src="static/login/keypad/js/form/keypad.js"></script> | |
285 | + <script type="text/javascript" src="static/login/keypad/js/framework.js"></script> | |
299 | 286 | </body> |
300 | 287 | </html> |
301 | 288 | \ No newline at end of file | ... | ... |