-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaccount_info.html
More file actions
86 lines (80 loc) · 3.63 KB
/
Copy pathaccount_info.html
File metadata and controls
86 lines (80 loc) · 3.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./css/mypage.css?v=1.0.1">
<link rel="stylesheet" href="./css/settings.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Noto+Sans+KR:wght@300;400;500;700&display=swap" rel="stylesheet">
<script src="./js/store.js" type="text/javascript"></script>
<title>계좌 정보 확인 및 변경 | 스마트팩토리</title>
<link rel="manifest" href="./manifest.json">
<meta name="theme-color" content="#09031f">
<link rel="apple-touch-icon" href="./icons/icon-192x192.png">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<script src="./js/pwa.js?v=20260731-pwa-v8" defer></script>
<script src="./js/auth.js" type="text/javascript"></script>
<script src="./js/auth-guard.js" type="text/javascript"></script>
</head>
<body>
<div class="main-wrap settings-wrap">
<main class="main-settings">
<!-- Header -->
<div class="fixed-header-wrap">
<div class="menu-bar mypage" style="justify-content: space-between;">
<div style="padding-left: 5px;">
<span>계좌 정보 확인 및 변경</span>
</div>
<div class="header-icon" onclick="location.href='settings.html'" style="cursor: pointer;">
<i class="bi bi-x-lg" style="font-size: 24px; color: #76769e;"></i>
</div>
</div>
</div>
<div class="padding-15"></div>
<div class="settings-container">
<div class="settings-title">은행</div>
<div class="settings-box">
<div class="settings-item">
<span>xx은행</span>
</div>
</div>
</div>
<div class="settings-container">
<div class="settings-title">예금주</div>
<div class="settings-box">
<div class="settings-item">
<span id="account-holder">최수아</span>
</div>
</div>
</div>
<div class="settings-container">
<div class="settings-title">계좌번호</div>
<div class="settings-box">
<div class="settings-item">
<span>***********4859</span>
</div>
</div>
</div>
<div class="logout-container">
<button class="logout-btn" onclick="alert('계좌 정보가 변경되었습니다.'); location.href='settings.html';">변경하기</button>
</div>
</main>
</div>
<script>
// Fetch user name from store if available, otherwise fallback to "최수아"
document.addEventListener('DOMContentLoaded', () => {
let userName = "최수아";
if (typeof FactoryStore !== 'undefined') {
const state = FactoryStore.getState();
if (state && state.user && state.user.name) {
userName = state.user.name;
}
}
document.getElementById('account-holder').innerText = userName;
});
</script>
</body>
</html>