diff --git a/project2/.idea/webContexts.xml b/project2/.idea/webContexts.xml index 90f50d7..3c1ed55 100644 --- a/project2/.idea/webContexts.xml +++ b/project2/.idea/webContexts.xml @@ -9,6 +9,8 @@ + + diff --git a/project2/web/WEB-INF/views/dashboard/dashboard_s.jsp b/project2/web/WEB-INF/views/dashboard/dashboard_s.jsp index 6e7d9ff..abbac8f 100644 --- a/project2/web/WEB-INF/views/dashboard/dashboard_s.jsp +++ b/project2/web/WEB-INF/views/dashboard/dashboard_s.jsp @@ -41,7 +41,6 @@ diff --git a/project2/web/WEB-INF/views/dashboard/dashboard_t.jsp b/project2/web/WEB-INF/views/dashboard/dashboard_t.jsp index ab306c9..7531e20 100644 --- a/project2/web/WEB-INF/views/dashboard/dashboard_t.jsp +++ b/project2/web/WEB-INF/views/dashboard/dashboard_t.jsp @@ -40,14 +40,14 @@ 学生管理 diff --git a/project2/web/WEB-INF/views/fail.jsp b/project2/web/WEB-INF/views/fail.jsp index 09fefb4..0c4c583 100644 --- a/project2/web/WEB-INF/views/fail.jsp +++ b/project2/web/WEB-INF/views/fail.jsp @@ -1,4 +1,4 @@ -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %> +<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %> diff --git a/project2/web/WEB-INF/views/login.jsp b/project2/web/WEB-INF/views/login.jsp index 707a07b..e5679b2 100644 --- a/project2/web/WEB-INF/views/login.jsp +++ b/project2/web/WEB-INF/views/login.jsp @@ -15,14 +15,10 @@ - - - <% if (new UsernameHelper().getCurrentUsername() != null) { - //redirect /dashboard //note: 登陆了的就别乱访问了 response.sendRedirect("dashboard"); } @@ -239,10 +235,12 @@ $('#exampleModal2').modal('show'); }); + function showNote() { alert("功能尚未实现,请联系管理员重置密码"); } - function showReg(){ + + function showReg() { document.getElementById("tab-register").click(); } diff --git a/project2/web/WEB-INF/views/student/studentListQuery_t.jsp b/project2/web/WEB-INF/views/student/studentListQuery_t.jsp index b45cd78..3dd02cb 100644 --- a/project2/web/WEB-INF/views/student/studentListQuery_t.jsp +++ b/project2/web/WEB-INF/views/student/studentListQuery_t.jsp @@ -47,7 +47,7 @@ diff --git a/project2/web/WEB-INF/views/student/studentList_s.jsp b/project2/web/WEB-INF/views/student/studentList_s.jsp index 382e32e..d1f51e6 100644 --- a/project2/web/WEB-INF/views/student/studentList_s.jsp +++ b/project2/web/WEB-INF/views/student/studentList_s.jsp @@ -47,7 +47,7 @@ diff --git a/project2/web/WEB-INF/views/student/studentList_t.jsp b/project2/web/WEB-INF/views/student/studentList_t.jsp index c85b88c..ccaeb87 100644 --- a/project2/web/WEB-INF/views/student/studentList_t.jsp +++ b/project2/web/WEB-INF/views/student/studentList_t.jsp @@ -47,7 +47,7 @@ diff --git a/project2/web/WEB-INF/views/student/studentMod_t.jsp b/project2/web/WEB-INF/views/student/studentMod_t.jsp index 0cb176f..4594c17 100644 --- a/project2/web/WEB-INF/views/student/studentMod_t.jsp +++ b/project2/web/WEB-INF/views/student/studentMod_t.jsp @@ -58,7 +58,6 @@ - diff --git a/project2/web/WEB-INF/views/student/studentQueryResult_t.jsp b/project2/web/WEB-INF/views/student/studentQueryResult_t.jsp index e4467ef..324e394 100644 --- a/project2/web/WEB-INF/views/student/studentQueryResult_t.jsp +++ b/project2/web/WEB-INF/views/student/studentQueryResult_t.jsp @@ -57,7 +57,6 @@ - diff --git a/project2/web/WEB-INF/views/student/studentinfomodv2_t.jsp b/project2/web/WEB-INF/views/student/studentinfomodv2_t.jsp index 505d919..c6daf00 100644 --- a/project2/web/WEB-INF/views/student/studentinfomodv2_t.jsp +++ b/project2/web/WEB-INF/views/student/studentinfomodv2_t.jsp @@ -50,7 +50,7 @@ @@ -256,7 +236,7 @@
-
+
diff --git a/project2/web/WEB-INF/views/success.jsp b/project2/web/WEB-INF/views/success.jsp index 2e29ab8..6921c93 100644 --- a/project2/web/WEB-INF/views/success.jsp +++ b/project2/web/WEB-INF/views/success.jsp @@ -1,4 +1,4 @@ -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %> +<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %> diff --git a/project2/web/WEB-INF/views/user/usermanage.jsp b/project2/web/WEB-INF/views/user/usermanage.jsp index 4e86bb7..7cb779b 100644 --- a/project2/web/WEB-INF/views/user/usermanage.jsp +++ b/project2/web/WEB-INF/views/user/usermanage.jsp @@ -430,8 +430,7 @@ $('#de_button').on('click', function () { reloadka("reload"); }); - $('#exampleModal3').modal('show'); - $('#exampleModal3').on('hidden.bs.modal', function () { //针对点击modal外的情况的处理 + $('#exampleModal3').modal('show').on('hidden.bs.modal', function () { //针对点击modal外的情况的处理 reloadka("reload"); }); } else { @@ -463,8 +462,7 @@ $('#de_button').on('click', function () { reloadka("reload"); }); - $('#exampleModal3').modal('show'); - $('#exampleModal3').on('hidden.bs.modal', function () { + $('#exampleModal3').modal('show').on('hidden.bs.modal', function () { reloadka("reload"); }); } else {