-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
113 lines (88 loc) · 4.33 KB
/
index.html
File metadata and controls
113 lines (88 loc) · 4.33 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>KumoFumi – Cloud Forms</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Caveat:wght@400;700&family=VT323&family=DotGothic16&display=swap"
rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<link rel="stylesheet" href="css/form.css">
<script type="module" src="js/form-loader.js"></script>
<script type="module" src="js/form-logic.js"></script>
<script src="js/dark-mode.js"></script>
</head>
<body>
<!-- Header Controls: Settings & Theme Toggle -->
<div class="header-controls">
<button id="themeToggle" class="control-btn" aria-label="Toggle Dark Mode">
<i class="fa-solid fa-sun sun-icon"></i>
</button>
</div>
<div class="container">
<!-- Form Header Card -->
<div class="form-header-card" id="formHeaderCard">
<div class="header-banner"></div>
<div class="header-content">
<img src="" alt="Logo" class="club-logo-img" id="dynamicLogo" style="display:none;">
<div class="header-text-wrapper" id="headerTextWrapper">
<h1 class="form-title" id="dynamicFormTitle"></h1>
<p class="form-subtitle" id="dynamicFormDescription" style="display:none;"></p>
</div>
</div>
</div>
<form id="registrationForm" class="registration-form">
<div class="form-section" id="formFieldsContainer">
<!-- Fields will be rendered here dynamically -->
</div>
<div class="form-actions">
<button type="submit" id="submitBtn" class="submit-btn"><span class="btn-text">Submit</span></button>
<button type="button" class="clear-btn"
onclick="document.getElementById('registrationForm').reset()">Clear
form</button>
</div>
</form>
<div class="success-message" id="successMessage">
<div class="success-icon-wrapper">
<i class="fa-solid fa-circle-check"></i>
</div>
<h2 class="success-title">Registration Successful</h2>
<p class="form-subtitle">Your response has been recorded.</p>
<div class="whatsapp-group-container" id="whatsappGroupContainer" style="display: none;">
<p style="margin-bottom: 15px; color: var(--theme-text-main); font-weight: 500;">Please join the group
for updates:</p>
<a href="https://chat.whatsapp.com/YOUR_LINK_HERE" class="whatsapp-link-btn" id="whatsappLink"
target="_blank">
<svg viewBox="0 0 32 32" width="20" height="20" fill="white">
<path
d="M16 2C8.28 2 2 8.28 2 16c0 2.82.74 5.45 2.03 7.74L2 30l6.45-2.03A13.94 13.94 0 0016 30c7.72 0 14-6.28 14-14S23.72 2 16 2z" />
</svg>
Join WhatsApp Group
</a>
</div>
<button class="success-btn" id="registerAnother">Submit another response</button>
</div>
<!-- Form Closed Message -->
<div class="form-closed-message" id="formClosedMessage">
<div class="closed-icon">
<i class="fa-solid fa-lock"></i>
</div>
<h2 class="closed-title">This Form is Closed</h2>
<p class="form-subtitle">This form is no longer accepting responses.</p>
<p class="form-subtitle" style="margin-top: 15px; font-size: 0.9rem;">
If you believe this is an error, please contact the form administrator.
</p>
</div>
</div>
<div class="form-footer">
<p id="copyrightText">© <span id="currentYear"></span> TRAIN 303 KumoFumi by Zeon. All rights reserved.</p>
</div>
<!-- Set current year dynamically -->
<script>
document.getElementById('currentYear').textContent = new Date().getFullYear();
</script>
</body>
</html>