Commit 876f9385f7c5f120bac0751ae5c3924e36706483

Authored by 孙向锦
1 parent 0d24fe84

李聪定制

WebRoot/WEB-INF/jsp/sunvote/admin/admin_main.jsp
... ... @@ -14,7 +14,7 @@
14 14 <meta charset="utf-8">
15 15 <meta http-equiv="X-UA-Compatible" content="IE=edge">
16 16 <meta name="viewport" content="width=device-width, initial-scale=1">
17   -<title>中天电子-教育管理系统</title>
  17 +<title>南昊作业考试管理平台</title>
18 18  
19 19 <!-- Bootstrap -->
20 20 <!-- <link
... ... @@ -109,7 +109,7 @@
109 109 </div>
110 110 <div class="testpaper tab1">
111 111 <p>
112   - 轻松考<span class="right jiao"></span>
  112 + 易考测<span class="right jiao"></span>
113 113 </p>
114 114 <ul class="menu_1">
115 115 <li>
... ...
WebRoot/WEB-INF/jsp/sunvote/sclass/sclass_edit.jsp
... ... @@ -73,17 +73,7 @@
73 73 <td style="width:75px;text-align: right;padding-top: 13px;">班级编码:</td>
74 74 <td><input type="text" name="CLASS_CODE" id="CLASS_CODE" value="${pd.CLASS_CODE}" maxlength="255" placeholder="这里输入班级编码" title="班级编码" style="width:98%;"/></td>
75 75 </tr>
76   - <tr>
77   - <td style="width:75px;text-align: right;padding-top: 13px;">班级基站:</td>
78   - <td>
79   - <%-- <input type="text" name="BASESTATION_ID" id="BASESTATION_ID" value="${pd.BASESTATION_ID}" maxlength="255" placeholder="这里输入班级基站" title="班级基站" style="width:98%;"/></td> --%>
80   - <select class="chosen-select form-control" name="BASESTATION_ID" id="BASESTATION_ID" data-placeholder="这里输入班级基站">
81   - <c:forEach var="item" items="${basestations}">
82   - <option value="${item.ID}" <c:if test="${pd.BASESTATION_ID==item.ID}">selected="true"</c:if>>${item.NAME}</option>
83   - </c:forEach>
84   - </select>
85   - </td>
86   - </tr>
  76 +
87 77 <tr>
88 78 <td style="text-align: center;" colspan="10">
89 79 <a class="btn btn-mini btn-primary" onclick="save();">保存</a>
... ... @@ -169,16 +159,7 @@
169 159 $("#CLASS_CODE").focus();
170 160 return false;
171 161 }
172   - if($("#BASESTATION_ID").val()==""){
173   - $("#BASESTATION_ID").tips({
174   - side:3,
175   - msg:'请输入班级基站',
176   - bg:'#AE81FF',
177   - time:2
178   - });
179   - $("#BASESTATION_ID").focus();
180   - return false;
181   - }
  162 +
182 163 $("#Form").submit();
183 164 $("#zhongxin").hide();
184 165 $("#zhongxin2").show();
... ...
WebRoot/WEB-INF/jsp/sunvote/sclass/sclass_edit2.jsp
... ... @@ -76,17 +76,6 @@
76 76 <td><input type="text" name="CLASS_CODE" id="CLASS_CODE" value="${pd.CLASS_CODE}" maxlength="255" placeholder="这里输入班级编码" title="班级编码" style="width:98%;"/></td>
77 77 </tr> --%>
78 78 <tr>
79   - <td style="width:75px;text-align: right;padding-top: 13px;">班级基站:</td>
80   - <td>
81   - <%-- <input type="text" name="BASESTATION_ID" id="BASESTATION_ID" value="${pd.BASESTATION_ID}" maxlength="255" placeholder="这里输入班级基站" title="班级基站" style="width:98%;"/></td> --%>
82   - <select class="chosen-select form-control" name="BASESTATION_ID" id="BASESTATION_ID" data-placeholder="这里输入班级基站">
83   - <c:forEach var="item" items="${basestations}">
84   - <option value="${item.ID}" <c:if test="${pd.BASESTATION_ID==item.ID}">selected="true"</c:if>>${item.NAME}</option>
85   - </c:forEach>
86   - </select>
87   - </td>
88   - </tr>
89   - <tr>
90 79 <td style="text-align: center;" colspan="10">
91 80 <a class="btn btn-mini btn-primary" onclick="save();">保存</a>
92 81 <a class="btn btn-mini btn-danger" onclick="window.top.modal.remove();">取消</a>
... ...
WebRoot/WEB-INF/jsp/sunvote/sclass/sclass_list2.jsp
... ... @@ -59,7 +59,6 @@
59 59 <th class="center">班级名称</th>
60 60 <th class="center">班级类型</th>
61 61 <!-- <th class="center">班级编码</th> -->
62   - <th class="center">班级基站</th>
63 62 <th class="center">操作</th>
64 63 </tr>
65 64 </thead>
... ... @@ -89,7 +88,6 @@
89 88 <td class='center'><a href="student/listcs.do?SCHOOL_ID=${pd.SCHOOL_ID}&class_id=${var.ID }">${var.CLASS_NAME}</a></td>
90 89 <td class='center'>${myelfun:findClassTypeName(var.CLASS_TYPE)}</td>
91 90 <%-- <td class='center'>${var.CLASS_CODE}</td> --%>
92   - <td class='center'>${myelfun:findBasestationName(var.BASESTATION_ID)}</td>
93 91  
94 92 <td><a onclick="edit('${var.ID}');" style="margin-right:10px;"><img src="static/images/eidtor.png" /></a><a onclick="del('${var.ID}');"><img src="static/images/remove.png" /></a></td>
95 93 </tr>
... ...
WebRoot/WEB-INF/jsp/sunvote/teacher/teacher_main.jsp
... ... @@ -14,7 +14,7 @@
14 14 <meta charset="utf-8">
15 15 <meta http-equiv="X-UA-Compatible" content="IE=edge">
16 16 <meta name="viewport" content="width=device-width, initial-scale=1">
17   -<title>中天电子-教育管理系统</title>
  17 +<title>南昊作业考试管理平台</title>
18 18  
19 19 <!-- Bootstrap -->
20 20 <link href="../static/css/bootstrap.min.css" rel="stylesheet">
... ... @@ -62,7 +62,7 @@
62 62  
63 63 <div class="testpaper tab1">
64 64 <p>
65   - 轻松考<span class="right jiao"></span>
  65 + 易考测<span class="right jiao"></span>
66 66 </p>
67 67 <ul class="menu_1">
68 68 <li>
... ...
WebRoot/WEB-INF/jsp/system/index/login.jsp
... ... @@ -14,12 +14,11 @@
14 14 <meta charset="utf-8">
15 15 <meta http-equiv="X-UA-Compatible" content="IE=edge">
16 16 <meta name="viewport" content="width=device-width, initial-scale=1">
17   -<title>中天电子-教育管理系统</title>
  17 +<title>南昊作业考试管理平台</title>
18 18  
19 19 <!-- Bootstrap -->
20 20 <link href="static/css/bootstrap.min.css" rel="stylesheet">
21 21 <link href="static/login/style_login.css" rel="stylesheet">
22   -<link href="static/css/mb_style.css" rel="stylesheet">
23 22  
24 23 <script src="static/js/jquery-2.1.4.min.js"></script>
25 24 <script type="text/javascript" src="static/js/jquery.cookie.js"></script>
... ... @@ -34,28 +33,160 @@
34 33 }
35 34 </script>
36 35 <style type="text/css">
37   -body{
38   - margin:0;
  36 +html,body{
  37 + width:100%;
  38 + height:100%;
  39 + margin:0;
  40 + padding:0;
39 41 }
40   -.div_foot {
41   - height: 30px;
42   - line-height: 35px;
43   - position: fixed;
44   - bottom: 0;
45   - width: 100%;
46   - text-align: center;
47   - font-family: Arial;
48   - font-size: 14px;
49   - letter-spacing: 1px;
  42 +img{
  43 + width:100%;
  44 + display: inherit;
50 45 }
51   -.clear_history{
52   - text-align:right;
53   - line-height:30px;
54   - margin: 0;
  46 +p{
  47 + margin:0;
55 48 }
56   -.clear_history a{
57   - text-decoration: underline;
58   - margin-right: 15px;
  49 +.login{
  50 + width:100%;
  51 + min-width: 1200px;
  52 + height:100%;
  53 + background: #EFEEF5;
  54 +}
  55 +.login_box{
  56 + width:82.3%;
  57 + min-width: 987.6px;
  58 + max-width: 1581px;
  59 + height:77.87%;
  60 + background: #fff;
  61 + position: absolute;
  62 + top:0;
  63 + bottom:0;
  64 + left:0;
  65 + right:0;
  66 + margin: auto;
  67 + z-index: 9;
  68 + box-shadow:0px 18px 33px 10px rgba(89,89,89,0.2);
  69 +}
  70 +.error{
  71 + font-size: 12px;
  72 + color:#F25F62;
  73 + float: left;
  74 +}
  75 +.error img{
  76 + width: 12px;
  77 + float:left;
  78 + margin-top:3px;
  79 + margin-left:10px;
  80 +}
  81 +.error_info{
  82 + margin-left: 5px;
  83 +}
  84 +input:focus-within{
  85 + border-style:solid;
  86 + border-color: #48A3A5;
  87 + box-shadow: 0 0 5px #48A3A5;
  88 +}
  89 +.login_box .login_box_left_box{
  90 + width:40%;
  91 + float: left;
  92 +}
  93 +.login_box .login_box_left_box .login_logo{
  94 + width:140px;
  95 + margin-top:80px;
  96 + margin-left: 60px;
  97 +}
  98 +.login_box .login_box_left_box .login_box_contianer{
  99 + margin-top:60px;
  100 +}
  101 +.login_box .login_box_left_box .login_box_contianer h3{
  102 + text-align: center;
  103 +}
  104 +.login_box .login_box_left_box .login_box_contianer .form_item{
  105 + width:70%;
  106 + margin:0 auto;
  107 + margin-bottom:20px;
  108 + text-align: center;
  109 +}
  110 +.login_box .login_box_left_box .login_box_contianer .form_item input{
  111 + width: 90%;
  112 + height: 50px;
  113 + line-height: 50px;
  114 + padding:0 10px;
  115 + border-radius: 5px;
  116 + border:1px solid #ccc;
  117 + outline: none;
  118 + background: #ECECEC
  119 +}
  120 +.login_btn{
  121 + outline-style: none;
  122 + border: none;
  123 + color: #fff;
  124 + width:90%;
  125 + height:50px;
  126 + line-height: 50px;
  127 + border-radius:8px;
  128 + background: #48A3A5;
  129 +}
  130 +.login_box .login_box_right_box{
  131 + height:100%;
  132 + overflow: hidden;
  133 + margin-left: 40%;
  134 + position: relative;
  135 + background: #48A3A6;
  136 +}
  137 +.login_box .login_box_right_box .dec{
  138 + position: absolute;
  139 + bottom:100px;
  140 + left:100px;
  141 +}
  142 +.login_box .login_box_right_box .dec_big{
  143 + font-size: 40px;
  144 + color: #ECECEC;
  145 +}
  146 +.login_box .login_box_right_box .dec_mini{
  147 + font-size: 24px;
  148 + color: #ECECEC;
  149 +}
  150 +.login_box .login_box_right_box .right_box_img{
  151 + width: 400px;
  152 + position: absolute;
  153 + right:-23px;
  154 + top:-25px;
  155 +}
  156 +.right_box_bottom_img{
  157 + width: 200px;
  158 + height:200px;
  159 + background: #fff;
  160 + border-radius: 100px;
  161 + position: absolute;
  162 + bottom:-100px;
  163 + right:-100px;
  164 +}
  165 +.right_box_bottom_img img{
  166 + width:25%;
  167 + margin:30px 0 0 30px;
  168 +}
  169 +.login .left_bottom_img{
  170 + position: absolute;
  171 + bottom:0;
  172 + left:0;
  173 + width:19%;
  174 +}
  175 +.login .right_bottom_img{
  176 + width:6.25%;
  177 + position: absolute;
  178 + right:5%;
  179 + bottom:3%;
  180 +}
  181 +.text_right{
  182 + text-align: right !important;
  183 +}
  184 +.text_right img{
  185 + display: inline;
  186 + vertical-align: middle;
  187 +}
  188 +.text_right span{
  189 + vertical-align: middle;
59 190 }
60 191 </style>
61 192  
... ... @@ -67,48 +198,55 @@ body{
67 198 <![endif]-->
68 199 </head>
69 200 <body>
70   - <div class="content">
71   - <div class="content_t">
72   - <img src="static/login/title.png" alt="SunVote" />
73   - </div>
74   - <div class="content_b">
75   - <div class="form_box">
76   - <div id="loginbox" >
77   - <div class="name_box">
78   - <input type="text" id="username1" placeholder="账号" value="" style="opacity:0;position: absolute;top:0;height:0px;z-index:-1" autoComplete="off"/>
79   - <input type="text" id="loginname" value="" placeholder="用户名" autoComplete="off"/>
80   - <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>
81   - </div>
82   - <div class="psw_box">
83   -
84   - <input type="password" id="password1" placeholder="密 码" value="" style="opacity:0;position: absolute;top:0;height:0px;z-index:-1" autoComplete="off"/>
85   - <input type="text" id="password" placeholder="密 码" value="" autoComplete="off"/>
86   - <div class="rember" style="width:50%;float:left;text-align:left;margin-top:10px;display:inline-block;line-height:34px;">
87   - <input type="checkbox" id="rem_flag"/>
88   - <span>记住密码</span>
89   - </div>
90   - <div class="language" style="display:inline-block;width:50%;margin-top:10px;text-align:right;">
91   - <select name="language" id="language" style="line-height:34px;height:34px;width:120px;">
92   - <option value="zh">中文</option>
93   - <option value="en">English</option>
94   - </select>
95   - </div>
96   - </div>
97   - <a href="#" onclick="severCheck();" class="login_btn">登录</a>
98   -
99   - <div class="history">
100   - <ul>
101   -
102   - </ul>
103   - <p class="clear_history"><a onclick="clear_history()">清除记录</a></p>
104   - </div>
105   - </div>
106   -
107   - </div>
108   - </div>
109   - <div class="div_foot">
110   - <!-- 备案许可证号: <a target= "_blank" href="http://www.miitbeian.gov.cn/">湘ICP备09025927号-10</a> -->
111   - </div>
  201 + <div class="login">
  202 + <div class="login_box">
  203 + <div class="login_box_left_box">
  204 + <div class="login_logo">
  205 + <img src="static/login/login_logo.png" alt="">
  206 + </div>
  207 + <div class="login_box_contianer">
  208 + <h3>登录账号</h3>
  209 +
  210 + <div class="form_item">
  211 + <input id="loginname" type="text" value="" placeholder="请输入用户名" />
  212 + </div>
  213 + <div class="form_item">
  214 + <input id="password" type="password" value="" placeholder="请输入密码" />
  215 + </div>
  216 + <div class="form_item text_right">
  217 + <!-- <div class="error">
  218 + <img src="static/login/login_5.png" alt="">
  219 + <span class="error_info">密码输入不正确</span>
  220 + </div> -->
  221 + <img src="static/login/login_12.png" id="rem_flag" alt="" style="width:14px;" data-type="1" class="checkbox">
  222 + <span>记住密码</span>
  223 + </div>
  224 + <div class="form_item">
  225 + <button href="#" type="submit" onclick="severCheck();" class="login_btn">登录</button>
  226 + </div>
  227 +
  228 + </div>
  229 + </div>
  230 + <div class="login_box_right_box">
  231 + <div class="dec">
  232 + <p class="dec_big">南昊考试作业管理平台</p>
  233 + <p class="dec_mini">让天下师生减负提分!</p>
  234 + </div>
  235 + <div class="right_box_img">
  236 + <img src="static/login/login_11.png" alt="">
  237 + </div>
  238 + <div class="right_box_bottom_img">
  239 + <img src="static/login/login_7.png" alt="">
  240 + </div>
  241 + </div>
  242 + </div>
  243 + <div class="left_bottom_img">
  244 + <img src="static/login/login_10.png" alt="">
  245 + </div>
  246 + <div class="right_bottom_img">
  247 + <img src="static/login/cycle.png" alt="">
  248 + </div>
  249 + </div>
112 250 <script type="text/javascript">
113 251  
114 252 if(window.top != window.self){
... ... @@ -124,52 +262,6 @@ body{
124 262 }
125 263 }
126 264  
127   - $(".icon_down").click(function(){
128   - $("#loginname").focus();
129   -
130   - });
131   - $("#loginname").focus(function(e){
132   -
133   - $("#password").attr("type","password");
134   - var _html="";
135   - var u_list=JSON.parse(storage.getItem('userNameList'));
136   - console.log(u_list);
137   - if((u_list!=null)||(u_list.length>0)){
138   - $("#loginname").blur(function(){
139   - $(".history").hide();
140   - })
141   - for(var i=0;i<u_list.length;i++){
142   - _html+='<li>'+u_list[i]+'</li>';
143   - }
144   - $(".history ul").html(_html);
145   - $(".history").show();
146   - }
147   -
148   - });
149   -
150   - $('.history').hover(function(){ //鼠标悬停下拉框时,解绑blur事件
151   - $("#loginname").unbind("blur");
152   - },function(){
153   - $("#loginname").blur(function(){ //鼠标移出下拉框时,添加blur事件
154   - $(".history").hide();
155   - })
156   - });
157   -
158   - $(document).on('click','.history li',function(){
159   - var p_list=JSON.parse(storage.getItem('passWordList'));
160   - $("#loginname").val($(this).text());
161   - $("#password").val(p_list[$(this).index()]);
162   - $(".history").hide();
163   - })
164   -
165   - //更换语言
166   - $("#language").change(function(){
167   - $.cookie("lang",$("#language").val());
168   - window.location.reload();
169   - })
170   - console.log($.cookie("lang"));
171   -
172   -
173 265 //客户端校验
174 266 function check() {
175 267  
... ... @@ -180,7 +272,6 @@ body{
180 272 bg : '#FF5080',
181 273 time : 3
182 274 });
183   - showfh();
184 275 $("#loginname").focus();
185 276 return false;
186 277 } else {
... ... @@ -193,7 +284,6 @@ body{
193 284 bg : '#FF5080',
194 285 time : 3
195 286 });
196   - showfh();
197 287 $("#password").focus();
198 288 return false;
199 289 }
... ... @@ -235,7 +325,6 @@ body{
235 325 bg : '#FF5080',
236 326 time : 15
237 327 });
238   - showfh();
239 328 $("#loginname").focus();
240 329 }else if("codeerror" == data.result){
241 330 $("#code").tips({
... ... @@ -244,7 +333,6 @@ body{
244 333 bg : '#FF5080',
245 334 time : 15
246 335 });
247   - showfh();
248 336 $("#code").focus();
249 337 }else{
250 338 $("#loginname").tips({
... ... @@ -253,7 +341,6 @@ body{
253 341 bg : '#FF5080',
254 342 time : 15
255 343 });
256   - showfh();
257 344 $("#loginname").focus();
258 345 }
259 346 }
... ... @@ -261,9 +348,6 @@ body{
261 348 }
262 349 }
263 350  
264   - var storage=window.localStorage;
265   - var userNameList=[];
266   - var passWordList=[];
267 351  
268 352 //console.log(JSON.parse(storage.getItem('userNameList')));
269 353  
... ... @@ -311,27 +395,11 @@ body{
311 395 storage.setItem('passWordList',JSON.stringify(passWordList));
312 396 }
313 397 }
314   -
315   -
316   -
317 398 //console.log(userNameList);
318   -
319   -
320   -
321 399 }
322 400  
323   - /*$.cookie('loginname', $("#loginname").val(), {
324   - expires : 7
325   - });
326   - $.cookie('password', $("#password").val(), {
327   - expires : 7
328   - });*/
329   -
330 401 }
331 402 </script>
332   -
333   -
334   -
335 403 <!-- 软键盘控件start -->
336 404 <script type="text/javascript" src="static/login/keypad/js/form/keypad.js"></script>
337 405 <script type="text/javascript" src="static/login/keypad/js/framework.js"></script>
... ...
WebRoot/admin/config/SYSNAME.txt
1   -中天电子-教育管理系统
2 1 \ No newline at end of file
  2 +南昊作业考试管理平台
3 3 \ No newline at end of file
... ...
WebRoot/admin/config/WEIXIN.txt
1   -中天电子
2 1 \ No newline at end of file
  2 +南昊作业考试管理平台
3 3 \ No newline at end of file
... ...
WebRoot/static/images/big_cycle.png 0 → 100644

14.6 KB

WebRoot/static/images/cycle.png 0 → 100644

3.3 KB

WebRoot/static/images/login_10.png 0 → 100644

4.46 KB

WebRoot/static/images/login_11.png 0 → 100644

1.42 MB

WebRoot/static/images/login_12.png 0 → 100644

884 Bytes

WebRoot/static/images/login_5.png 0 → 100644

415 Bytes

WebRoot/static/images/login_6.png 0 → 100644

520 Bytes

WebRoot/static/images/login_7.png 0 → 100644

2.2 KB

WebRoot/static/images/login_8.png 0 → 100644

10.8 KB

WebRoot/static/images/login_9.png 0 → 100644

13 KB

WebRoot/static/images/login_logo.png 0 → 100644

20 KB

WebRoot/static/images/logo.png

3.77 KB | W: | H:

4.23 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
WebRoot/static/images/loing_bg.png 0 → 100644

136 KB

WebRoot/static/images/title.png

12.7 KB | W: | H:

12.5 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
WebRoot/static/login/big_cycle.png 0 → 100644

14.6 KB

WebRoot/static/login/cycle.png 0 → 100644

3.3 KB

WebRoot/static/login/login_10.png 0 → 100644

4.46 KB

WebRoot/static/login/login_11.png 0 → 100644

1.42 MB

WebRoot/static/login/login_12.png 0 → 100644

884 Bytes

WebRoot/static/login/login_5.png 0 → 100644

415 Bytes

WebRoot/static/login/login_6.png 0 → 100644

520 Bytes

WebRoot/static/login/login_7.png 0 → 100644

2.2 KB

WebRoot/static/login/login_8.png 0 → 100644

10.8 KB

WebRoot/static/login/login_9.png 0 → 100644

13 KB

WebRoot/static/login/login_logo.png 0 → 100644

20 KB

WebRoot/static/login/logo.png

3.77 KB | W: | H:

3.9 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
WebRoot/static/login/title.png

12.7 KB | W: | H:

12.5 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin