diff --git a/learn1/web/css/common.css b/learn1/web/css/common.css
new file mode 100644
index 0000000..79935bb
--- /dev/null
+++ b/learn1/web/css/common.css
@@ -0,0 +1,62 @@
+.container{
+ background-color: white;
+ position: relative;
+ margin: auto;
+ width: 80%;
+}
+
+body{
+ background-color: white;
+}
+
+a{
+ text-decoration: none;
+ color: white;
+ font-weight: bold;
+}
+
+table{
+ width:100%;
+ border-spacing: 0;
+ background-color: #c4c4c4;
+}
+
+tr{
+ height: 25px;
+ padding: 2px;
+}
+
+.tr-head{
+ background-color: #2bf;
+ text-align: center;
+}
+
+tr:nth-child(odd){
+ background:#F4F4F4;
+}
+
+button,.button{
+ background-color: #39f;
+ border: #39f solid 1px;
+ border-radius: 5px;
+ color: white;
+ padding: 5px;
+ line-height: 100%;
+ text-align: center;
+ margin: 5px;
+}
+
+.red {
+ COLOR: red
+}
+
+.blue {
+ color: blue;
+}
+
+.underline {
+ BORDER-BOTTOM: #c4c4c4 1pt solid;
+ BORDER-LEFT: #c4c4c4;
+ BORDER-RIGHT: #c4c4c4;
+ BORDER-TOP: #c4c4c4;
+}
\ No newline at end of file
diff --git a/learn1/web/css/course.css b/learn1/web/css/course.css
index 58dd320..1f0b3d8 100644
--- a/learn1/web/css/course.css
+++ b/learn1/web/css/course.css
@@ -1,57 +1,3 @@
-
-tr:nth-child(odd){
- background:#F4F4F4;
-}
-
-.tr-head{
- background-color: #2bf;
- text-align: center;
-}
-
-table{
- width:100%;
- border-spacing: 0;
-}
-
-.td1 {
- BACKGROUND-COLOR: #e6e6e6
-}
-.td_header {
- BACKGROUND-COLOR: #e6e6e6; COLOR: #000000
-}
-.td_1 {
- BACKGROUND-COLOR: #f8fbfb; COLOR: #000000
-}
-.td_2 {
- BACKGROUND-COLOR: #deecec; COLOR: #000000
-}
-.td3 {
- BACKGROUND-COLOR: #a3d1d2; COLOR: black
-}
-.underline {
- BORDER-BOTTOM: #c4c4c4 1pt solid; BORDER-LEFT: #c4c4c4; BORDER-RIGHT: #c4c4c4; BORDER-TOP: #c4c4c4
-}
-.button {
- border:1px solid black;
- background-color:white;
- cursor:hand;
-}
-.star {
- COLOR: red
-}
-.tb_showall
-{
- background:#0078B7;
- font-size: 18px;
- font-weight: bold;
-}
-.container{
- margin: auto;
- width: 80%;
- text-align: center;
- align-items: center;
- position: relative;
-}
.input-form{
border: black solid 1px;
margin: auto;
diff --git a/learn1/web/css/index.css b/learn1/web/css/index.css
index c3fbe8d..b934235 100644
--- a/learn1/web/css/index.css
+++ b/learn1/web/css/index.css
@@ -1,4 +1,4 @@
-.nav-list{
+.nav-area{
position: absolute;
top: 0;
left: 0;
@@ -8,13 +8,34 @@
margin: 0;
padding: 5px;
}
+
+.nav-list{
+ padding-left: 0;
+ padding-right: 5px;
+}
+
+.nav-item{
+ list-style: none;
+ line-height: 100%;
+ text-align: center;
+ font-size: 19px;
+ margin: 5px 0;
+ padding: 3px 0;
+ color: white;
+ a{
+ text-decoration: none;
+ color: white;
+ font-weight: bold;
+ }
+}
+
.content{
position: absolute;
top: 0;
right: 0;
background-color: #eee;
height: 95%;
- width: 80%;
+ width: 79%;
margin: 0;
padding: 5px;
}
\ No newline at end of file
diff --git a/learn1/web/css/login.css b/learn1/web/css/login.css
new file mode 100644
index 0000000..592ef0e
--- /dev/null
+++ b/learn1/web/css/login.css
@@ -0,0 +1,15 @@
+.login-card{
+ width: 80%;
+ border: #eee solid 2px;
+ border-radius: 5px;
+}
+input{
+ width: 75%;
+ height: 35px;
+ border: grey solid 2px;
+ border-radius: 5px;
+ margin: 5px;
+ padding: 5px;
+ line-height: 100%;
+ text-align: center;
+}
diff --git a/learn1/web/home.jsp b/learn1/web/home.jsp
index 7cf6909..e2a078e 100644
--- a/learn1/web/home.jsp
+++ b/learn1/web/home.jsp
@@ -9,15 +9,17 @@
主页
+
å¦ç”Ÿä¿¡æ¯ç®¡ç†ç³»ç»Ÿ
+
<%
if(session.getAttribute("user")==null){
- out.println("
登录");
+ out.println("
");
}else{
- out.println("
注销");
+ out.println("
");
}
%>
diff --git a/learn1/web/index.jsp b/learn1/web/index.jsp
index 1524bce..8cc0dc3 100644
--- a/learn1/web/index.jsp
+++ b/learn1/web/index.jsp
@@ -10,12 +10,13 @@
å¦ç”Ÿä¿¡æ¯ç®¡ç†ç³»ç»Ÿ
+
-
-
- - 欢迎页
- - 课程列表
+
diff --git a/learn1/web/js/course-edit.js b/learn1/web/js/course-edit.js
index 05fd0b7..8964a24 100644
--- a/learn1/web/js/course-edit.js
+++ b/learn1/web/js/course-edit.js
@@ -17,14 +17,14 @@ function getCourses(){
""+ data[i].credit +" | " +
""+ data[i].grade + " | " +
""+ majors[data[i].major]+" | " +
- "编辑 编辑 åˆ é™¤ | ";
course_list.appendChild(course_tr);
}
const end_tr = document.createElement('tr');
- end_tr.innerHTML="æ·»åŠ | | | | " +
- "刷新数æ®åˆ—表 | | ";
+ end_tr.innerHTML="æ·»åŠ | | | | " +
+ "刷新数æ®åˆ—表 | | ";
course_list.appendChild(end_tr);
},
error: ()=>{
diff --git a/learn1/web/login/login.jsp b/learn1/web/login/login.jsp
index 0d1f50d..93972d1 100644
--- a/learn1/web/login/login.jsp
+++ b/learn1/web/login/login.jsp
@@ -9,16 +9,18 @@
登录
+
+
登录
diff --git a/test03/test03.iml b/test03/test03.iml
index e161586..3f28cb9 100644
--- a/test03/test03.iml
+++ b/test03/test03.iml
@@ -28,8 +28,8 @@
-
-
-
+
+
+
\ No newline at end of file