-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
111 lines (97 loc) · 4.89 KB
/
index.html
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ATM</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"
integrity="sha512-iecdLmaskl7CVkqkXNQ/ZH/XLlvWZOJyj7Yy7tcenmpD1ypASozpmT/E0iPtmFIB46ZmdtAc9eNBvH0H/ZpiBw=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<script src="account.js"></script>
</head>
<body>
<main>
<div class="atm flex">
<div class="header flex">
<h1><i class="fa-solid fa-building-columns logo"></i> Fake Bank of Israel</h1>
<div class="flex mobileBreak">
<span class="displayName">Hello Guest</span>
<span class="mobileHide">|</span>
<div class="flex halfGap">
<span id="timeView" class="time"></span>
<i class="fa-regular fa-clock"></i>
</div>
</div>
</div>
<div class="content flex">
<input id="login_screen" type="radio" name="screens" checked>
<div class="screen flex mobileBreak">
<div style="min-width: 40vw;">
<h1>Welcome Guest!</h1>
<p>Please choose a credit card or input your info manually below:</p>
<button
onclick="this.style.display='none'; manualForm.style.display = 'block'; manualInput.focus();">Enter
Manually</button>
<form id="manualForm" class="flex mobileBreak"
onsubmit="event.preventDefault(); loadLoginScreen(manualInput.value)">
<input id="manualInput" required placeholder="Enter you full name.." minlength="3">
<button>Next..</button>
</form>
</div>
<div id="creditCardList" class="flex warp">
Dynamic load from js
</div>
</div>
<input id="pincode_screen" type="radio" name="screens" onclick="onPincodeScreenLoad()">
<div class="screen flex mobileBreak">
<div>
<h2>Welcome Back MR/MISS <spam id="namePlaceholder">REPLACE ME</spam>!
</h2>
<p>We just need to verify its really you!<br>
Please enter your credit card associated PIN CODE below:
</p>
<form class="flex mobileBreak" onsubmit="event.preventDefault(); verifyPincode(pincode.value)">
<input placeholder="Insert PIN CODE..." type="password" id="pincode" required minlength="4"
maxlength="4">
<button>Verify!</button>
</form>
</div>
<div>
<div class="ccView" id="ccViewPincode"
style="width: 100%; font-size: 2.5vmin; max-width: none;"></div>
<sub>*If you believe this card was stolen or possessed by others please report to as at
<a href="tel:*420-69-777">*420-69-777</a>.</sub>
</div>
</div>
<input id="menu_screen" type="radio" name="screens">
<div class="screen flex mainView">
<div class="logoutMsg flex">
<div>
<p>Thanks for using our TOTALLY real ATM!</p>
<span>Your money is <i>ALWAYS SAFE</i> with us..</span>
</div>
</div>
<div class="atmNav flex">
<label onclick="atmShow('home')"><i class="fa-solid fa-house"></i></label>
<label onclick="atmShow('deposit')">Deposit</label>
<label onclick="atmShow('withdraw')">Withdraw</label>
<label onclick="atmShow('check')">Check</label>
<label onclick="atmShow('pincode')">Pin Code</label>
<label onclick="atmShow('quit')">Quit</label>
</div>
<div class="dynContent">
</div>
</div>
</div>
<div class="footer">
<i class="fa-solid fa-fingerprint"></i> This is a bank simulation & you should never input your real
info! <i class="fa-solid fa-face-smile-wink"></i>
</div>
</div>
</main>
<div class="printView">
</div>
<script src="atm.js"></script>
</body>
</html>