-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
254 lines (233 loc) · 7.4 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" type="image/png" sizes="16x16" href="./iconapp.png" />
<title>- Namso Gen -</title>
<link
rel="stylesheet"
href="https://unpkg.com/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css"
/>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;700&display=swap"
/>
<style>
body {
font-family: "Roboto Mono", monospace;
transition: background-color 0.3s, color 0.3s;
}
body.light-mode {
background-color: #f8f9fa;
color: #212529;
}
body.dark-mode {
background-color: #1b1e21;
color: #f8f9fa;
}
.theme-toggle {
position: fixed;
top: 15px;
right: 15px;
cursor: pointer;
font-size: 1.5rem;
z-index: 1000;
}
.copy-btn {
position: absolute;
top: 38px;
right: 15px;
cursor: pointer;
font-size: 1.2rem;
color: #0d6efd;
z-index: 10;
}
.container {
padding: 2rem;
border-radius: 8px;
background-color: inherit;
}
.form-control,
.form-select {
background-color: inherit;
color: inherit;
border: 1px solid #ced4da;
transition: background-color 0.3s, color 0.3s;
}
.form-control:focus,
.form-select:focus {
box-shadow: none;
border-color: #0d6efd;
background-color: inherit;
color: inherit;
}
.form-control::placeholder {
color: #999;
}
.form-select {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns%3D%22http%3A//www.w3.org/2000/svg%22 viewBox%3D%220 0 4 5%22%3E%3Cpath fill%3D%22%230d6efd%22 d%3D%22M2 0L0 2h4L2 0zm0 5L0 3h4L2 5z%22/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 0.75rem center;
background-size: 8px 10px;
}
.form-select option {
background-color: #212529;
color: #f8f9fa;
}
.btn-primary {
background-color: #0d6efd;
border-color: #0d6efd;
}
.btn-primary:hover {
background-color: #0b5ed7;
border-color: #0a58ca;
}
textarea {
resize: none;
overflow: hidden;
height: 300px;
width: 100%;
text-align: center;
}
textarea::-webkit-scrollbar {
display: none;
}
textarea {
overflow-y: scroll;
resize: none;
}
@media (min-width: 992px) {
.generator-container {
display: flex;
justify-content: space-between;
gap: 2rem;
}
.form-section {
flex: 1;
}
.result-section {
flex: 0.6;
max-width: var(--result-section-width, 600px);
}
.result-section textarea {
height: 400px;
}
}
</style>
</head>
<body class="light-mode">
<div class="theme-toggle" onclick="toggleTheme()">
<i id="theme-icon" class="fa-solid fa-moon"></i>
</div>
<div class="container my-5 shadow generator-container">
<div class="form-section">
<h1 class="text-center mb-4"><b>- Namso Gen -</b></h1>
<form>
<div class="mb-3">
<label for="bin" class="form-label"><b>BIN</b></label>
<input
type="text"
class="form-control"
id="bin"
placeholder="37513874xx0591x"
/>
</div>
<div class="row">
<div class="col-md-6 mb-3">
<label for="month" class="form-label"><b>MONTH</b></label>
<select class="form-select" id="month">
<option value="Random">Random</option>
<option value="01">01</option>
<option value="02">02</option>
<option value="03">03</option>
<option value="04">04</option>
<option value="05">05</option>
<option value="06">06</option>
<option value="07">07</option>
<option value="08">08</option>
<option value="09">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
</select>
</div>
<div class="col-md-6 mb-3">
<label for="year" class="form-label"><b>YEAR</b></label>
<select class="form-select" id="year">
<option value="Random">Random</option>
<option value="2024">2024</option>
<option value="2025">2025</option>
<option value="2026">2026</option>
<option value="2027">2027</option>
<option value="2028">2028</option>
<option value="2029">2029</option>
<option value="2030">2030</option>
<option value="2031">2031</option>
<option value="2032">2032</option>
<option value="2033">2033</option>
<option value="2034">2034</option>
<option value="2035">2035</option>
<option value="2036">2036</option>
<option value="2037">2037</option>
<option value="2038">2038</option>
<option value="2039">2039</option>
<option value="2040">2040</option>
</select>
</div>
</div>
<div class="row">
<div class="col-md-6 mb-3">
<label for="ccv" class="form-label"><b>CCV</b></label>
<input
type="text"
class="form-control"
id="ccv"
placeholder="Random"
/>
</div>
<div class="col-md-6 mb-3">
<label for="count" class="form-label"><b>QUANTITY</b></label>
<input
type="text"
class="form-control"
id="count"
placeholder="20"
/>
</div>
</div>
<button type="button" class="btn btn-primary" onclick="generate()">
<b>Generate</b>
</button>
</form>
</div>
<br>
<div class="result-section">
<div class="mb-3 position-relative">
<label for="output" class="form-label"><b>RESULT</b></label>
<i class="fa-solid fa-copy copy-btn" onclick="copyToClipboard()"></i>
<textarea
class="form-control"
id="output"
rows="15"
readonly
></textarea>
</div>
</div>
</div>
<footer>
<p class="text-center"><i><b>- Powered by BlackHeads -</b></i></p>
</footer>
<script src="https://unpkg.com/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js"></script>
<script src="./script.js"></script>
</body>
</html>