182 lines
4.3 KiB
HTML
182 lines
4.3 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html lang="zh-Hant">
|
||
|
<head>
|
||
|
<meta charset="UTF-8" />
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
|
||
|
<title>個人資料修改</title>
|
||
|
<style>
|
||
|
* {
|
||
|
box-sizing: border-box;
|
||
|
font-family: 'Noto Sans TC', sans-serif;
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
background-color: #f7f8fa;
|
||
|
color: #333;
|
||
|
padding-bottom: 80px;
|
||
|
}
|
||
|
|
||
|
header {
|
||
|
background-color: #9eaf9f;
|
||
|
color: #fff;
|
||
|
padding: 16px;
|
||
|
font-size: 20px;
|
||
|
font-weight: bold;
|
||
|
text-align: center;
|
||
|
position: relative;
|
||
|
}
|
||
|
|
||
|
.section {
|
||
|
background-color: #fff;
|
||
|
margin: 16px;
|
||
|
padding: 20px;
|
||
|
border-radius: 12px;
|
||
|
}
|
||
|
|
||
|
.form-label {
|
||
|
font-weight: 500;
|
||
|
}
|
||
|
|
||
|
.btn-group {
|
||
|
display: flex;
|
||
|
justify-content: center;
|
||
|
gap: 16px;
|
||
|
margin-top: 24px;
|
||
|
}
|
||
|
|
||
|
.btn-save {
|
||
|
background-color: #4caf50;
|
||
|
color: white;
|
||
|
border: none;
|
||
|
padding: 10px 24px;
|
||
|
border-radius: 24px;
|
||
|
font-size: 16px;
|
||
|
transition: 0.3s;
|
||
|
}
|
||
|
|
||
|
.btn-save:hover {
|
||
|
background-color: #388e3c;
|
||
|
}
|
||
|
|
||
|
.btn-cancel {
|
||
|
background-color: #ccc;
|
||
|
color: #333;
|
||
|
border: none;
|
||
|
padding: 10px 24px;
|
||
|
border-radius: 24px;
|
||
|
font-size: 16px;
|
||
|
transition: 0.3s;
|
||
|
}
|
||
|
|
||
|
.btn-cancel:hover {
|
||
|
background-color: #aaa;
|
||
|
}
|
||
|
|
||
|
.footer-nav {
|
||
|
position: fixed;
|
||
|
bottom: 0;
|
||
|
left: 0;
|
||
|
right: 0;
|
||
|
background-color: #fff;
|
||
|
border-top: 1px solid #ddd;
|
||
|
display: flex;
|
||
|
justify-content: space-around;
|
||
|
padding: 8px 0;
|
||
|
}
|
||
|
|
||
|
.footer-nav a {
|
||
|
text-decoration: none;
|
||
|
font-size: 12px;
|
||
|
color: #666;
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
.footer-nav img {
|
||
|
width: 24px;
|
||
|
height: 24px;
|
||
|
margin-bottom: 4px;
|
||
|
}
|
||
|
|
||
|
.back-button {
|
||
|
position: absolute;
|
||
|
top: 12px;
|
||
|
left: 16px;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
.back-button img {
|
||
|
width: 24px;
|
||
|
height: 24px;
|
||
|
filter: brightness(0) invert(1); /* 白色 icon */
|
||
|
}
|
||
|
|
||
|
</style>
|
||
|
</head>
|
||
|
<body>
|
||
|
|
||
|
<header>
|
||
|
<div class="back-button">
|
||
|
<img src="https://img.icons8.com/ios-filled/50/ffffff/left.png" alt="返回" title="回上一頁" onclick="history.back()" />
|
||
|
</div>
|
||
|
編輯個人資料
|
||
|
</header>
|
||
|
|
||
|
<section class="section">
|
||
|
<form>
|
||
|
<div class="mb-3">
|
||
|
<label for="fullName" class="form-label">姓名</label>
|
||
|
<input type="text" class="form-control" id="fullName" value="林小安">
|
||
|
</div>
|
||
|
|
||
|
<div class="mb-3">
|
||
|
<label for="gender" class="form-label">性別</label>
|
||
|
<select class="form-select" id="gender">
|
||
|
<option selected>男</option>
|
||
|
<option>女</option>
|
||
|
<option>其他</option>
|
||
|
</select>
|
||
|
</div>
|
||
|
|
||
|
<div class="mb-3">
|
||
|
<label for="birthday" class="form-label">生日</label>
|
||
|
<input type="date" class="form-control" id="birthday" value="1995-05-01">
|
||
|
</div>
|
||
|
|
||
|
<div class="mb-3">
|
||
|
<label for="phone" class="form-label">手機號碼</label>
|
||
|
<input type="tel" class="form-control" id="phone" value="0912-345-678">
|
||
|
</div>
|
||
|
|
||
|
<div class="mb-3">
|
||
|
<label for="email" class="form-label">電子郵件</label>
|
||
|
<input type="email" class="form-control" id="email" value="linxiaoan@gmail.com">
|
||
|
</div>
|
||
|
|
||
|
<div class="mb-3">
|
||
|
<label for="carPlate" class="form-label">車牌號碼</label>
|
||
|
<input type="text" class="form-control" id="carPlate" value="ABC-1234">
|
||
|
</div>
|
||
|
|
||
|
<div class="btn-group">
|
||
|
<button type="submit" class="btn-save">儲存</button>
|
||
|
<button type="button" class="btn-cancel" onclick="history.back()">取消</button>
|
||
|
</div>
|
||
|
</form>
|
||
|
</section>
|
||
|
|
||
|
<!-- 底部選單 -->
|
||
|
<nav class="navbar fixed-bottom navbar-light bg-light border-top">
|
||
|
<div class="container justify-content-around">
|
||
|
<a class="nav-link text-center" href="main.html"><div>🏠<br>首頁</div></a>
|
||
|
<a class="nav-link text-center" href="#report"><div>🚪<br>出入</div></a>
|
||
|
<a class="nav-link text-center" href="#bills"><div>💬<br>訊息</div></a>
|
||
|
<a class="nav-link text-center" href="#"><div>👤<br>住戶</div></a>
|
||
|
</div>
|
||
|
</nav>
|
||
|
|
||
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
|
||
|
</body>
|
||
|
</html>
|