Repository navigation
Expand file tree
/
Copy pathhelp.html
More file actions
169 lines (149 loc) · 6.32 KB
/
Copy pathhelp.html
File metadata and controls
169 lines (149 loc) · 6.32 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
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
<!DOCTYPE html>
<html lang="en" data-theme="light">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>DigiToken - Help & Support</title>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="assets/css/style.css">
<link rel="stylesheet" href="assets/css/dashboard.css">
<style>
.faq-item {
border-bottom: 1px solid var(--border-color);
}
.faq-question {
padding: 15px 0;
font-weight: 600;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
}
.faq-answer {
padding-bottom: 15px;
color: var(--text-muted);
display: none;
line-height: 1.6;
font-size: 0.95rem;
}
.faq-item.active .faq-answer {
display: block;
}
.faq-icon {
transition: transform 0.3s;
}
.faq-item.active .faq-icon {
transform: rotate(180deg);
}
.support-card {
background: linear-gradient(135deg, var(--primary-color) 0%, #4facfe 100%);
color: white;
padding: 20px;
border-radius: 12px;
text-align: center;
margin-bottom: 20px;
}
</style>
</head>
<body class="dashboard-page">
<nav class="navbar">
<a href="dashboard.html" class="nav-brand" data-back>
<span style="font-size: 1.2rem;">←</span> Back
</a>
<div style="font-weight: 600;">Help & Support</div>
<button id="theme-toggle" class="theme-toggle"></button>
</nav>
<div class="container" style="padding-top: 80px;">
<!-- Support Hero -->
<div class="support-card">
<div style="font-size: 2rem; margin-bottom: 10px;">🎧</div>
<h2 style="margin-bottom: 5px;">Need Assistance?</h2>
<p style="opacity: 0.9; margin-bottom: 15px;">Our support team is available 24/7 for you.</p>
<button class="btn"
style="background: white; color: var(--primary-color); width: auto; font-weight: 600;">Contact
Support</button>
</div>
<div class="card">
<h3 style="margin-bottom: 20px;">Frequently Asked Questions</h3>
<div class="faq-list">
<div class="faq-item">
<div class="faq-question" onclick="toggleFaq(this)">
How do I get a token?
<span class="faq-icon">▼</span>
</div>
<div class="faq-answer">
You can get a token in two ways:
<ul style="margin-left: 20px; margin-top: 5px;">
<li><strong>Online Booking:</strong> Log in to the dashboard, click "Book Token", select
your service and time slot.</li>
<li><strong>Walk-in:</strong> Visit our service center and our staff will issue a Walk-in
(W-xx) token for you.</li>
</ul>
</div>
</div>
<div class="faq-item">
<div class="faq-question" onclick="toggleFaq(this)">
What happens if I'm late?
<span class="faq-icon">▼</span>
</div>
<div class="faq-answer">
If you miss your called number, please report to the service desk immediately. We might be able
to slot you in as a "No Show" recovery, or you may need to take a new Walk-in token.
</div>
</div>
<div class="faq-item">
<div class="faq-question" onclick="toggleFaq(this)">
How do notifications work?
<span class="faq-icon">▼</span>
</div>
<div class="faq-answer">
We send updates via Email and WhatsApp (if enabled). You will receive alerts when:
<ol style="margin-left: 20px; margin-top: 5px;">
<li>Your token is generated.</li>
<li>There are 5 people ahead of you.</li>
<li>It is your turn to be served.</li>
</ol>
</div>
</div>
<div class="faq-item">
<div class="faq-question" onclick="toggleFaq(this)">
Can I cancel my token?
<span class="faq-icon">▼</span>
</div>
<div class="faq-answer">
Yes, you can cancel your pending token from the "Recent Activity" section in your Dashboard.
This helps us serve others faster!
</div>
</div>
</div>
</div>
<div style="margin-top: 20px; text-align: center; color: var(--text-muted); font-size: 0.9rem;">
DigiToken Support System v2.0 (Sri Lanka)
</div>
</div>
<nav class="dashboard-bottom-nav" aria-label="Dashboard navigation">
<a class="dashboard-nav-item" href="dashboard.html">
<span class="dashboard-nav-icon" aria-hidden="true">🏠</span>
<span>Home</span>
</a>
<a class="dashboard-nav-item" href="notifications.html">
<span class="dashboard-nav-icon" aria-hidden="true">🔔</span>
<span>Alerts</span>
</a>
<a class="dashboard-nav-item active" href="help.html" aria-current="page">
<span class="dashboard-nav-icon" aria-hidden="true">💡</span>
<span>How it works</span>
</a>
<a class="dashboard-nav-item" href="profile.html">
<span class="dashboard-nav-icon" aria-hidden="true">👤</span>
<span>Profile</span>
</a>
</nav>
<script src="assets/js/main.js"></script>
<script>
function toggleFaq(el) {
el.parentElement.classList.toggle('active');
}
</script>
</body>
</html>