samirerty commited on
Commit
11dba48
·
verified ·
1 Parent(s): 5915b23

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. index.html +139 -50
index.html CHANGED
@@ -4,7 +4,10 @@
4
  <head>
5
  <meta charset="UTF-8">
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
7
- <title>ورود و ثبت نام | نسخه مدرن</title>
 
 
 
8
 
9
  <style>
10
  /* تنظیمات پایه و متغیرهای رنگی */
@@ -12,19 +15,19 @@
12
  --bg-gradient-1: #0f172a;
13
  --bg-gradient-2: #1e1b4b;
14
  --bg-gradient-3: #312e81;
15
-
16
  --card-bg: rgba(30, 41, 59, 0.75);
17
  --card-border: rgba(255, 255, 255, 0.1);
18
-
19
  --input-bg: rgba(15, 23, 42, 0.6);
20
  --input-border: rgba(148, 163, 184, 0.2);
21
  --input-focus: #6366f1;
22
-
23
  --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
24
  --text-color: #f8fafc;
25
  --text-muted: #94a3b8;
26
-
27
- --font-main: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
28
  --radius: 16px;
29
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
30
  }
@@ -48,13 +51,7 @@
48
  align-items: center;
49
  padding: 20px;
50
  overflow-x: hidden;
51
- }
52
-
53
- /* انیمیشن پس‌زمینه */
54
- @keyframes gradientBG {
55
- 0% { background-position: 0% 50%; }
56
- 50% { background-position: 100% 50%; }
57
- 100% { background-position: 0% 50%; }
58
  }
59
 
60
  /* لینک هدر */
@@ -70,7 +67,7 @@
70
  padding: 8px 12px;
71
  border-radius: 20px;
72
  z-index: 100;
73
- border: 1px solid rgba(255,255,255,0.05);
74
  transition: var(--transition);
75
  }
76
 
@@ -80,6 +77,13 @@
80
  transform: translateY(-2px);
81
  }
82
 
 
 
 
 
 
 
 
83
  /* کانتینر اصلی - افکت شیشه‌ای */
84
  .container {
85
  width: 100%;
@@ -93,6 +97,7 @@
93
  -webkit-backdrop-filter: blur(12px);
94
  position: relative;
95
  overflow: hidden;
 
96
  }
97
 
98
  /* دکوراسیون نورانی پشت کارت */
@@ -218,6 +223,9 @@
218
  cursor: pointer;
219
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
220
  transition: transform 0.2s;
 
 
 
221
  }
222
 
223
  canvas:active {
@@ -235,6 +243,7 @@
235
  align-items: center;
236
  justify-content: center;
237
  transition: var(--transition);
 
238
  }
239
 
240
  .refresh-btn:hover {
@@ -287,6 +296,12 @@
287
  transform: translateY(0);
288
  }
289
 
 
 
 
 
 
 
290
  /* تغییر حالت */
291
  .switch-mode {
292
  text-align: center;
@@ -338,8 +353,15 @@
338
  }
339
 
340
  @keyframes fadeIn {
341
- from { opacity: 0; transform: translateY(10px); }
342
- to { opacity: 1; transform: translateY(0); }
 
 
 
 
 
 
 
343
  }
344
 
345
  /* Toast بهبود یافته */
@@ -355,11 +377,12 @@
355
  gap: 10px;
356
  width: 90%;
357
  max-width: 350px;
 
358
  }
359
 
360
  .toast {
361
  background: rgba(30, 41, 59, 0.95);
362
- border: 1px solid rgba(255,255,255,0.1);
363
  backdrop-filter: blur(10px);
364
  padding: 14px 20px;
365
  border-radius: 12px;
@@ -371,19 +394,89 @@
371
  gap: 12px;
372
  width: 100%;
373
  animation: toastUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
 
 
 
 
 
374
  }
375
 
376
- .toast.success { border-right: 4px solid #22c55e; }
377
- .toast.error { border-right: 4px solid #ef4444; }
 
378
 
379
  @keyframes toastUp {
380
- from { transform: translateY(50px); opacity: 0; }
381
- to { transform: translateY(0); opacity: 1; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
382
  }
383
 
384
  @media (max-width: 360px) {
385
- .container { padding: 30px 15px; }
386
- .captcha-container input { width: 100%; flex-basis: 100%; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
387
  }
388
  </style>
389
  </head>
@@ -406,7 +499,10 @@
406
  <div class="input-group">
407
  <label>نام کاربری</label>
408
  <div class="input-wrapper">
409
- <svg class="icon icon-left" viewBox="0 0 24 24"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>
 
 
 
410
  <input type="text" id="login-username" placeholder="نام کاربری" autocomplete="off">
411
  </div>
412
  </div>
@@ -414,7 +510,10 @@
414
  <div class="input-group">
415
  <label>رمز عبور</label>
416
  <div class="input-wrapper">
417
- <svg class="icon icon-left" viewBox="0 0 24 24"><path d="M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z"/></svg>
 
 
 
418
  <input type="password" id="login-password" placeholder="رمز عبور">
419
  <button type="button" class="toggle-password" onclick="togglePassword('login-password', this)">
420
  <svg class="icon" viewBox="0 0 24 24"><path d="M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"/></svg>
@@ -453,7 +552,10 @@
453
  <div class="input-group">
454
  <label>نام کاربری</label>
455
  <div class="input-wrapper">
456
- <svg class="icon icon-left" viewBox="0 0 24 24"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>
 
 
 
457
  <input type="text" id="reg-username" placeholder="نام کاربری" autocomplete="off">
458
  </div>
459
  </div>
@@ -461,7 +563,10 @@
461
  <div class="input-group">
462
  <label>رمز عبور</label>
463
  <div class="input-wrapper">
464
- <svg class="icon icon-left" viewBox="0 0 24 24"><path d="M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z"/></svg>
 
 
 
465
  <input type="password" id="reg-password" placeholder="رمز عبور">
466
  <button type="button" class="toggle-password" onclick="togglePassword('reg-password', this)">
467
  <svg class="icon" viewBox="0 0 24 24"><path d="M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"/></svg>
@@ -472,7 +577,10 @@
472
  <div class="input-group">
473
  <label>تکرار رمز عبور</label>
474
  <div class="input-wrapper">
475
- <svg class="icon icon-left" viewBox="0 0 24 24"><path d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm-2 16l-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9l-8 8z"/></svg>
 
 
 
476
  <input type="password" id="reg-confirm-password" placeholder="تکرار رمز عبور">
477
  </div>
478
  </div>
@@ -538,11 +646,11 @@
538
  activeForm.style.opacity = '1';
539
  activeForm.style.transform = 'translateY(0)';
540
 
541
- // مجددا کپچا رسم شود (اختیاری، برای امنیت بیشتر)
542
  if(type === 'login') drawCaptcha();
543
  else drawCaptcha(true);
544
 
545
- }, 300); // صبر تا انیمیشن خروج تمام شود
546
  }
547
 
548
  function togglePassword(id, btn) {
@@ -653,23 +761,4 @@
653
 
654
  const btn = e.target.querySelector('.submit-btn');
655
  const originalContent = btn.innerHTML;
656
- btn.disabled = true;
657
- btn.innerHTML = '<span>در حال ثبت...</span>';
658
- btn.style.opacity = '0.8';
659
-
660
- setTimeout(() => {
661
- btn.disabled = false;
662
- btn.innerHTML = originalContent;
663
- btn.style.opacity = '1';
664
- showToast('حساب کاربری ایجاد شد! خوش آمدید.', 'success');
665
- switchForm('login');
666
- }, 1500);
667
- }
668
-
669
- function showToast(msg, type) {
670
- const con = document.getElementById('toastContainer');
671
- const t = document.createElement('div');
672
- t.className = `toast ${type}`;
673
-
674
- // آیکون‌های جدیدتر
675
- const
 
4
  <head>
5
  <meta charset="UTF-8">
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
7
+ <title>ورود و ثبت نام | نسخه مدرن و رسپانسیو</title>
8
+
9
+ <!-- استفاده از فونت وزیر برای ظاهر بهتر فارسی -->
10
+ <link href="https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css" rel="stylesheet" type="text/css" />
11
 
12
  <style>
13
  /* تنظیمات پایه و متغیرهای رنگی */
 
15
  --bg-gradient-1: #0f172a;
16
  --bg-gradient-2: #1e1b4b;
17
  --bg-gradient-3: #312e81;
18
+
19
  --card-bg: rgba(30, 41, 59, 0.75);
20
  --card-border: rgba(255, 255, 255, 0.1);
21
+
22
  --input-bg: rgba(15, 23, 42, 0.6);
23
  --input-border: rgba(148, 163, 184, 0.2);
24
  --input-focus: #6366f1;
25
+
26
  --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
27
  --text-color: #f8fafc;
28
  --text-muted: #94a3b8;
29
+
30
+ --font-main: 'Vazirmatn', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
31
  --radius: 16px;
32
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
33
  }
 
51
  align-items: center;
52
  padding: 20px;
53
  overflow-x: hidden;
54
+ position: relative;
 
 
 
 
 
 
55
  }
56
 
57
  /* لینک هدر */
 
67
  padding: 8px 12px;
68
  border-radius: 20px;
69
  z-index: 100;
70
+ border: 1px solid rgba(255, 255, 255, 0.05);
71
  transition: var(--transition);
72
  }
73
 
 
77
  transform: translateY(-2px);
78
  }
79
 
80
+ /* انیمیشن پس‌زمینه */
81
+ @keyframes gradientBG {
82
+ 0% { background-position: 0% 50%; }
83
+ 50% { background-position: 100% 50%; }
84
+ 100% { background-position: 0% 50%; }
85
+ }
86
+
87
  /* کانتینر اصلی - افکت شیشه‌ای */
88
  .container {
89
  width: 100%;
 
97
  -webkit-backdrop-filter: blur(12px);
98
  position: relative;
99
  overflow: hidden;
100
+ margin: auto;
101
  }
102
 
103
  /* دکوراسیون نورانی پشت کارت */
 
223
  cursor: pointer;
224
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
225
  transition: transform 0.2s;
226
+ width: 100px;
227
+ height: 42px;
228
+ flex-shrink: 0;
229
  }
230
 
231
  canvas:active {
 
243
  align-items: center;
244
  justify-content: center;
245
  transition: var(--transition);
246
+ flex-shrink: 0;
247
  }
248
 
249
  .refresh-btn:hover {
 
296
  transform: translateY(0);
297
  }
298
 
299
+ .submit-btn:disabled {
300
+ opacity: 0.7;
301
+ cursor: not-allowed;
302
+ transform: none;
303
+ }
304
+
305
  /* تغییر حالت */
306
  .switch-mode {
307
  text-align: center;
 
353
  }
354
 
355
  @keyframes fadeIn {
356
+ from {
357
+ opacity: 0;
358
+ transform: translateY(10px);
359
+ }
360
+
361
+ to {
362
+ opacity: 1;
363
+ transform: translateY(0);
364
+ }
365
  }
366
 
367
  /* Toast بهبود یافته */
 
377
  gap: 10px;
378
  width: 90%;
379
  max-width: 350px;
380
+ pointer-events: none; /* اجازه کلیک روی فضای خالی */
381
  }
382
 
383
  .toast {
384
  background: rgba(30, 41, 59, 0.95);
385
+ border: 1px solid rgba(255, 255, 255, 0.1);
386
  backdrop-filter: blur(10px);
387
  padding: 14px 20px;
388
  border-radius: 12px;
 
394
  gap: 12px;
395
  width: 100%;
396
  animation: toastUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
397
+ pointer-events: auto;
398
+ }
399
+
400
+ .toast.success {
401
+ border-right: 4px solid #22c55e;
402
  }
403
 
404
+ .toast.error {
405
+ border-right: 4px solid #ef4444;
406
+ }
407
 
408
  @keyframes toastUp {
409
+ from {
410
+ transform: translateY(50px);
411
+ opacity: 0;
412
+ }
413
+
414
+ to {
415
+ transform: translateY(0);
416
+ opacity: 1;
417
+ }
418
+ }
419
+
420
+ /* --- بخش رسپانسیو (Responsive) --- */
421
+ @media (max-width: 480px) {
422
+ .container {
423
+ padding: 30px 20px;
424
+ }
425
+
426
+ .form-header h2 {
427
+ font-size: 1.5rem;
428
+ }
429
+
430
+ .input-group label {
431
+ font-size: 0.8rem;
432
+ }
433
+
434
+ /* بهینه‌سازی کپچا برای موبایل */
435
+ .captcha-container {
436
+ justify-content: space-between;
437
+ gap: 8px;
438
+ }
439
+
440
+ canvas {
441
+ width: 90px;
442
+ height: 38px;
443
+ }
444
+
445
+ .captcha-container input {
446
+ flex: 1;
447
+ font-size: 1rem;
448
+ }
449
+
450
+ .header-link {
451
+ font-size: 0.75rem;
452
+ padding: 6px 10px;
453
+ }
454
  }
455
 
456
  @media (max-width: 360px) {
457
+ .container {
458
+ padding: 25px 15px;
459
+ }
460
+
461
+ .submit-btn {
462
+ font-size: 0.9rem;
463
+ }
464
+
465
+ /* اگر صفحه خیلی کوچک باشد، ورودی کپچا تمام عرض شود */
466
+ .captcha-container {
467
+ flex-direction: column;
468
+ align-items: stretch;
469
+ }
470
+
471
+ .captcha-container > div {
472
+ display: flex;
473
+ justify-content: space-between;
474
+ width: 100%;
475
+ }
476
+
477
+ canvas {
478
+ width: 100%;
479
+ }
480
  }
481
  </style>
482
  </head>
 
499
  <div class="input-group">
500
  <label>نام کاربری</label>
501
  <div class="input-wrapper">
502
+ <svg class="icon icon-left" viewBox="0 0 24 24">
503
+ <path
504
+ d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z" />
505
+ </svg>
506
  <input type="text" id="login-username" placeholder="نام کاربری" autocomplete="off">
507
  </div>
508
  </div>
 
510
  <div class="input-group">
511
  <label>رمز عبور</label>
512
  <div class="input-wrapper">
513
+ <svg class="icon icon-left" viewBox="0 0 24 24">
514
+ <path
515
+ d="M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z" />
516
+ </svg>
517
  <input type="password" id="login-password" placeholder="رمز عبور">
518
  <button type="button" class="toggle-password" onclick="togglePassword('login-password', this)">
519
  <svg class="icon" viewBox="0 0 24 24"><path d="M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"/></svg>
 
552
  <div class="input-group">
553
  <label>نام کاربری</label>
554
  <div class="input-wrapper">
555
+ <svg class="icon icon-left" viewBox="0 0 24 24">
556
+ <path
557
+ d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z" />
558
+ </svg>
559
  <input type="text" id="reg-username" placeholder="نام کاربری" autocomplete="off">
560
  </div>
561
  </div>
 
563
  <div class="input-group">
564
  <label>رمز عبور</label>
565
  <div class="input-wrapper">
566
+ <svg class="icon icon-left" viewBox="0 0 24 24">
567
+ <path
568
+ d="M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z" />
569
+ </svg>
570
  <input type="password" id="reg-password" placeholder="رمز عبور">
571
  <button type="button" class="toggle-password" onclick="togglePassword('reg-password', this)">
572
  <svg class="icon" viewBox="0 0 24 24"><path d="M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"/></svg>
 
577
  <div class="input-group">
578
  <label>تکرار رمز عبور</label>
579
  <div class="input-wrapper">
580
+ <svg class="icon icon-left" viewBox="0 0 24 24">
581
+ <path
582
+ d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm-2 16l-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9l-8 8z" />
583
+ </svg>
584
  <input type="password" id="reg-confirm-password" placeholder="تکرار رمز عبور">
585
  </div>
586
  </div>
 
646
  activeForm.style.opacity = '1';
647
  activeForm.style.transform = 'translateY(0)';
648
 
649
+ // مجددا کپچا رسم شود
650
  if(type === 'login') drawCaptcha();
651
  else drawCaptcha(true);
652
 
653
+ }, 300);
654
  }
655
 
656
  function togglePassword(id, btn) {
 
761
 
762
  const btn = e.target.querySelector('.submit-btn');
763
  const originalContent = btn.innerHTML;
764
+ btn