style finished
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
</div>
|
||||
<div class="register_1">
|
||||
<h3>老人注册</h3>
|
||||
<form action="">
|
||||
<form>
|
||||
<input type="text" placeholder="账号"><br>
|
||||
<input type="password" placeholder="密码"><br>
|
||||
<input type="button" value="next" id="next">
|
||||
@@ -27,8 +27,7 @@
|
||||
</div>
|
||||
<div class="register_2">
|
||||
<h3>老人注册</h3>
|
||||
<!-- action先空着 -->
|
||||
<form action="">
|
||||
<form action="firstPage.html">
|
||||
<input type="text" placeholder="姓名"><br>
|
||||
<input type="text" placeholder="身份证号"><br>
|
||||
<div class="gender">
|
||||
|
||||
@@ -35,7 +35,7 @@ body {
|
||||
.register_1 {
|
||||
width: 400px;
|
||||
height: 500px;
|
||||
background-color: white;
|
||||
background-color: rgba(255, 255, 255, 0.6);
|
||||
position: absolute;
|
||||
top: 75px;
|
||||
left: 850px;
|
||||
@@ -58,6 +58,7 @@ body {
|
||||
font-size: 15px;
|
||||
margin: 50px 0 30px 0;
|
||||
outline: none;
|
||||
background-color: rgba(255, 255, 255, 0.4);
|
||||
}
|
||||
.register_1 form input#next {
|
||||
width: 40px;
|
||||
@@ -75,7 +76,7 @@ body {
|
||||
-webkit-transform: translate(0,-1px);
|
||||
-o-transform: translate(0,-1px);
|
||||
-moz-transform: translate(0,-1px);
|
||||
box-shadow: 3px 3px 3px rgba(192, 192, 192, 0.801);
|
||||
box-shadow: 3px 3px 3px rgba(131, 131, 131, 0.6);
|
||||
}
|
||||
.register_1 form input#next:active {
|
||||
background-color: rgba(255, 115, 0, 0.3);
|
||||
@@ -85,7 +86,7 @@ body {
|
||||
.register_2 {
|
||||
width: 400px;
|
||||
height: 500px;
|
||||
background-color: white;
|
||||
background-color: rgba(255, 255, 255, 0.6);
|
||||
position: absolute;
|
||||
top: 75px;
|
||||
left: 850px;
|
||||
@@ -103,10 +104,11 @@ body {
|
||||
left: 90px;
|
||||
text-align: center;
|
||||
border-radius: 25px;
|
||||
border: 0.5px solid rgb(170, 170, 170);
|
||||
border: 0.5px solid rgb(170, 170, 170, 0.6);
|
||||
font-size: 15px;
|
||||
margin: 20px 0 0 0;
|
||||
outline: none;
|
||||
background-color: rgba(255, 255, 255, 0.4);
|
||||
}
|
||||
.register_2 form .gender input{
|
||||
width: 10px;
|
||||
@@ -149,7 +151,7 @@ body {
|
||||
-webkit-transform: translate(0,-1px);
|
||||
-o-transform: translate(0,-1px);
|
||||
-moz-transform: translate(0,-1px);
|
||||
box-shadow: 3px 3px 3px rgba(192, 192, 192, 0.801);
|
||||
box-shadow: 3px 3px 3px rgba(131, 131, 131, 0.6);
|
||||
}
|
||||
.register_2 form input#submit:active {
|
||||
background-color: rgba(255, 115, 0, 0.3);
|
||||
|
||||
28
web/deletePeople.html
Normal file
28
web/deletePeople.html
Normal file
@@ -0,0 +1,28 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>Old People Home - 老人注销</title>
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="icons/favicon.png">
|
||||
<link rel="stylesheet" href="deletePeople_style.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="box1">
|
||||
<span class="upper">O</span>
|
||||
<span class="lower">ld</span>
|
||||
<span class="upper">P</span>
|
||||
<span class="lower">eople</span>
|
||||
<span class="upper">H</span>
|
||||
<span class="lower">ome</span>
|
||||
</div>
|
||||
<div class="delete">
|
||||
<h2>注销老人</h2>
|
||||
<form action="firstPage.html">
|
||||
<input type="text" placeholder="请输入要注销的老人的ID"><br>
|
||||
<input type="submit" value="OK" id="submit">
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
80
web/deletePeople_style.css
Normal file
80
web/deletePeople_style.css
Normal file
@@ -0,0 +1,80 @@
|
||||
body {
|
||||
margin: 0px;
|
||||
background-color: papayawhip;
|
||||
background-image: url("images/老人3.jpg");
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100%;
|
||||
}
|
||||
|
||||
/* LOGO */
|
||||
.box1 {
|
||||
text-align: left;
|
||||
position: absolute;
|
||||
top: 30px;
|
||||
left: 10px;
|
||||
user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
-webkit-user-select: none;
|
||||
}
|
||||
.upper {
|
||||
color: rgb(255, 115, 0);
|
||||
font-weight: bolder;
|
||||
font-family: sans-serif;
|
||||
font-size: 45px;
|
||||
letter-spacing: -10px;
|
||||
}
|
||||
.lower {
|
||||
color: rgb(255, 183, 124);
|
||||
font-family: sans-serif;
|
||||
font-size: 45px;
|
||||
letter-spacing: -5px;
|
||||
}
|
||||
|
||||
/* 注销界面 */
|
||||
.delete {
|
||||
width: 420px;
|
||||
height: 250px;
|
||||
background-color: rgba(255, 255, 255, 0.6);
|
||||
position: absolute;
|
||||
top: 150px;
|
||||
left: 830px;
|
||||
}
|
||||
.delete h2 {
|
||||
padding: 0 0 0 30px;
|
||||
color: rgb(255, 115, 0);
|
||||
}
|
||||
.delete form input {
|
||||
width: 300px;
|
||||
height: 35px;
|
||||
position: relative;
|
||||
top: 20px;
|
||||
left: 60px;
|
||||
text-align: center;
|
||||
outline: none;
|
||||
border-radius: 25px;
|
||||
border: 0.5px solid rgba(128, 128, 128, 0.6);
|
||||
background-color: rgba(255, 255, 255, 0.3);
|
||||
}
|
||||
.delete form input#submit {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border: none;
|
||||
background-color: rgb(255, 115, 0);
|
||||
color: white;
|
||||
position: relative;
|
||||
top: 80px;
|
||||
left: 355px;
|
||||
}
|
||||
.delete form input#submit:hover {
|
||||
transform: translate(0,-1px);
|
||||
-ms-transform: translate(0,-1px);
|
||||
-webkit-transform: translate(0,-1px);
|
||||
-o-transform: translate(0,-1px);
|
||||
-moz-transform: translate(0,-1px);
|
||||
box-shadow: 3px 3px 3px rgba(131, 131, 131, 0.6);
|
||||
}
|
||||
.delete form input#submit:active {
|
||||
background-color: rgba(255, 115, 0, 0.3);
|
||||
/* js写一个弹出确认框 显示老人名字和身份证号 */
|
||||
}
|
||||
@@ -27,37 +27,38 @@
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- js写一个空房间显示 -->
|
||||
<div class="box2">
|
||||
<table>
|
||||
<tr>
|
||||
<td><a href="#">001</a></td>
|
||||
<td><a href="views.html">001</a></td>
|
||||
<td><a href="#">002</a></td>
|
||||
<td><a href="#">003</a></td>
|
||||
<td><a href="#">004</a></td>
|
||||
<td class="last"><a href="#">004</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="#">005</a></td>
|
||||
<td><a href="#">006</a></td>
|
||||
<td><a href="#">007</a></td>
|
||||
<td><a href="#">008</a></td>
|
||||
<td class="last"><a href="#">008</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="#">009</a></td>
|
||||
<td><a href="#">010</a></td>
|
||||
<td><a href="#">011</a></td>
|
||||
<td><a href="#">012</a></td>
|
||||
<td class="last"><a href="#">012</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="#">013</a></td>
|
||||
<td><a href="#">014</a></td>
|
||||
<td><a href="#">015</a></td>
|
||||
<td><a href="#">016</a></td>
|
||||
<td class="last"><a href="#">016</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="#">017</a></td>
|
||||
<td><a href="#">018</a></td>
|
||||
<td><a href="#">019</a></td>
|
||||
<td><a href="#">020</a></td>
|
||||
<td class="last"><a href="#">020</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
@@ -67,7 +68,7 @@
|
||||
<a href="addPeople.html">老人注册</a><br>
|
||||
</li>
|
||||
<li id="delete">
|
||||
<a href="#">老人注销</a>
|
||||
<a href="deletePeople.html">老人注销</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
body {
|
||||
background-color: papayawhip;
|
||||
height: 1450px;
|
||||
margin: 0px;
|
||||
background-image: url("images/天空2.jpg");
|
||||
background-image: url("images/天空1.jpg");
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100%;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
/* LOGO */
|
||||
@@ -78,11 +78,10 @@ ul {
|
||||
width: auto;
|
||||
height: auto;
|
||||
/* background-color: yellow; */
|
||||
margin: 0 0 0 210px;
|
||||
margin: 0 0 0 190px;
|
||||
}
|
||||
.box2 table tr td {
|
||||
padding: 150px 50px 90px 0;
|
||||
/* background-color: yellow; */
|
||||
}
|
||||
.box2 table tr td a {
|
||||
color: papayawhip;
|
||||
@@ -90,13 +89,18 @@ ul {
|
||||
font-size: 14px;
|
||||
background-image: url("icons/房间.png");
|
||||
background-repeat: no-repeat;
|
||||
padding: 100px 90px 20px 115px;
|
||||
background-position: 80px 30px;
|
||||
padding: 100px 90px 20px 100px;
|
||||
background-position: 70px 35px;
|
||||
background-size: 40%;
|
||||
margin: 0 0 0 5px;
|
||||
/* background-color: yellow; */
|
||||
}
|
||||
.box2 table tr td a:hover {
|
||||
background-image: url("icons/房间light.png");
|
||||
}
|
||||
.box2 table tr td.last {
|
||||
padding: 150px 0 90px 0;
|
||||
}
|
||||
|
||||
/* 纵向导航栏 */
|
||||
.guide {
|
||||
|
||||
BIN
web/images/天空3.jpg
Normal file
BIN
web/images/天空3.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.6 MiB |
BIN
web/images/天空4.jpg
Normal file
BIN
web/images/天空4.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.1 MiB |
Binary file not shown.
|
Before Width: | Height: | Size: 307 KiB After Width: | Height: | Size: 273 KiB |
BIN
web/images/老人3.jpg
Normal file
BIN
web/images/老人3.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.6 MiB |
@@ -13,8 +13,7 @@
|
||||
<div>
|
||||
<p id="title_1">管理员登录</p>
|
||||
<div>
|
||||
<!-- 先空着,action不知道填什么 -->
|
||||
<form action="" id="name">
|
||||
<form action="firstPage.html" id="name">
|
||||
<input type="text" name="name" placeholder="用户名" autofocus><br><br><br>
|
||||
<input type="password" name="password" placeholder="密码"><br><br><br>
|
||||
<input type="submit" id="submit" value="OK">
|
||||
|
||||
@@ -28,16 +28,18 @@
|
||||
</ul>
|
||||
</div>
|
||||
<div class="background">
|
||||
<div class="pic">
|
||||
<a href="#"></a>
|
||||
</div>
|
||||
<div class="backgroundText">
|
||||
<span><h2>管理员</h2></span><br>
|
||||
<span><p>root</p></span>
|
||||
</div>
|
||||
<div class="logout">
|
||||
<input type="button" value="安全退出">
|
||||
</div>
|
||||
<form action="login.html">
|
||||
<div class="pic">
|
||||
<a href="#"></a>
|
||||
</div>
|
||||
<div class="backgroundText">
|
||||
<span><h2>管理员</h2></span><br>
|
||||
<span><p>root</p></span>
|
||||
</div>
|
||||
<div class="logout">
|
||||
<input type="submit" value="安全退出">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="messages">
|
||||
<h2>消息</h2>
|
||||
@@ -61,8 +63,7 @@
|
||||
<div class="modify">
|
||||
<h2>修改密码</h2>
|
||||
<div>
|
||||
<!-- action先不填 -->
|
||||
<form action="">
|
||||
<form action="personal.html">
|
||||
<input type="password" placeholder="原密码"><br><br><br>
|
||||
<input type="password" id="new" placeholder="新密码"><br><br><br>
|
||||
<input type="submit" id="submit" value="OK">
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
body {
|
||||
background-color: papayawhip;
|
||||
height: 880px;
|
||||
/* background-color: papayawhip; */
|
||||
margin: 0px;
|
||||
background-image: url("images/天空1.jpg");
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
/* LOGO */
|
||||
@@ -133,7 +137,7 @@ ul {
|
||||
-webkit-transform: translate(0,-1px);
|
||||
-o-transform: translate(0,-1px);
|
||||
-moz-transform: translate(0,-1px);
|
||||
box-shadow: 10px 10px 5px rgb(252, 227, 188);
|
||||
box-shadow: 10px 10px 5px rgba(90, 90, 90, 0.3);
|
||||
}
|
||||
|
||||
/* 消息块 */
|
||||
@@ -151,7 +155,7 @@ ul {
|
||||
-webkit-transform: translate(0,-1px);
|
||||
-o-transform: translate(0,-1px);
|
||||
-moz-transform: translate(0,-1px);
|
||||
box-shadow: 10px 10px 5px rgb(252, 227, 188);
|
||||
box-shadow: 10px 10px 5px rgb(90, 90, 90, 0.3);
|
||||
}
|
||||
.messages h2 {
|
||||
/* background-color: yellow; */
|
||||
@@ -196,7 +200,7 @@ ul {
|
||||
-webkit-transform: translate(0,-1px);
|
||||
-o-transform: translate(0,-1px);
|
||||
-moz-transform: translate(0,-1px);
|
||||
box-shadow: 10px 10px 5px rgb(252, 227, 188);
|
||||
box-shadow: 10px 10px 5px rgb(90, 90, 90, 0.3);
|
||||
}
|
||||
.modify h2 {
|
||||
padding: 0 0 0 20px;
|
||||
|
||||
59
web/views.html
Normal file
59
web/views.html
Normal file
@@ -0,0 +1,59 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>Old People Home - 查看</title>
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="icons/favicon.png">
|
||||
<link rel="stylesheet" href="views_style.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="box1">
|
||||
<span class="upper">O</span>
|
||||
<span class="lower">ld</span>
|
||||
<span class="upper">P</span>
|
||||
<span class="lower">eople</span>
|
||||
<span class="upper">H</span>
|
||||
<span class="lower">ome</span>
|
||||
</div>
|
||||
<div class="menu">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="firstPage.html" id="firstPage">首页</a>
|
||||
</li>
|
||||
<li id="self">
|
||||
<a href="personal.html" id="my">个人</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="info">
|
||||
<h2>老人资料卡</h2>
|
||||
<span>身份证号码</span><br>
|
||||
<span>姓名</span><br>
|
||||
<span>性别</span><br>
|
||||
<span>生日</span><br>
|
||||
<span>账号</span><br>
|
||||
<span>电话</span><br>
|
||||
<span>亲属</span>
|
||||
<table>
|
||||
<tr>
|
||||
<td>姓名</td>
|
||||
<td>关系</td>
|
||||
<td>联系电话</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="room">
|
||||
<h2>房间实况</h2>
|
||||
<span>温度</span><br>
|
||||
<span>湿度</span><br>
|
||||
<span>是否有人</span><br>
|
||||
<span>时间</span>
|
||||
</div>
|
||||
<div class="health">
|
||||
<h2>健康监测卡</h2>
|
||||
<p>折线图</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
122
web/views_style.css
Normal file
122
web/views_style.css
Normal file
@@ -0,0 +1,122 @@
|
||||
body {
|
||||
height: 2000px;
|
||||
margin: 0px;
|
||||
background-image: url("images/天空1.jpg");
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
/* LOGO */
|
||||
.box1 {
|
||||
text-align: left;
|
||||
position: absolute;
|
||||
top: 30px;
|
||||
left: 10px;
|
||||
user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
-webkit-user-select: none;
|
||||
}
|
||||
.upper {
|
||||
color: rgb(255, 115, 0);
|
||||
font-weight: bolder;
|
||||
font-family: sans-serif;
|
||||
font-size: 45px;
|
||||
letter-spacing: -10px;
|
||||
}
|
||||
.lower {
|
||||
color: rgb(255, 183, 124);
|
||||
font-family: sans-serif;
|
||||
font-size: 45px;
|
||||
letter-spacing: -5px;
|
||||
}
|
||||
|
||||
/* 横向菜单栏 */
|
||||
.menu {
|
||||
width: auto;
|
||||
height: 50px;
|
||||
background-color: rgb(255, 183, 124);
|
||||
margin-top: 100px;
|
||||
}
|
||||
ul {
|
||||
width: auto;
|
||||
list-style-type: none;
|
||||
white-space: nowrap;
|
||||
padding: 0;
|
||||
}
|
||||
.menu li {
|
||||
float: left;
|
||||
}
|
||||
.menu li#self {
|
||||
margin: 0 0 0 979px;
|
||||
}
|
||||
.menu li a {
|
||||
color: white;
|
||||
text-decoration-line: none;
|
||||
display: block;
|
||||
padding: 14px 40px 15px 70px;
|
||||
}
|
||||
.menu li a:hover {
|
||||
background-color: rgba(248, 148, 66, 0.7);
|
||||
}
|
||||
.menu ul li a#firstPage {
|
||||
background-image: url("icons/首页.png");
|
||||
background-repeat: no-repeat;
|
||||
background-size: 12%;
|
||||
background-position: 35px 16px;
|
||||
|
||||
}
|
||||
.menu ul li a#my {
|
||||
background-image: url("icons/管理员.png");
|
||||
background-repeat: no-repeat;
|
||||
background-size: 12%;
|
||||
background-position: 35px 16px;
|
||||
}
|
||||
|
||||
/* 资料卡 */
|
||||
.info {
|
||||
width: 450px;
|
||||
height: 350px;
|
||||
background-color: white;
|
||||
position: absolute;
|
||||
top: 170px;
|
||||
left: 140px;
|
||||
}
|
||||
.info h2 {
|
||||
padding: 0 0 0 20px;
|
||||
color: rgb(255, 115, 0);
|
||||
}
|
||||
.info span {
|
||||
position: relative;
|
||||
left: 20px;
|
||||
padding: 10px 0 10px 0;
|
||||
/* background-color: yellow; */
|
||||
}
|
||||
|
||||
/* 房间实况 */
|
||||
.room {
|
||||
width: 450px;
|
||||
height: 350px;
|
||||
background-color: white;
|
||||
position: absolute;
|
||||
top: 170px;
|
||||
left: 660px;
|
||||
}
|
||||
.room h2 {
|
||||
padding: 0 0 0 20px;
|
||||
color: rgb(255, 115, 0);
|
||||
}
|
||||
|
||||
/* 健康监测卡 */
|
||||
.health {
|
||||
width: 450px;
|
||||
height: 350px;
|
||||
background-color: white;
|
||||
position: absolute;
|
||||
top: 580px;
|
||||
left: 140px;
|
||||
}
|
||||
.health h2 {
|
||||
padding: 0 0 0 20px;
|
||||
color: rgb(255, 115, 0);
|
||||
}
|
||||
Reference in New Issue
Block a user