-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbattery-health.html
334 lines (316 loc) · 13.8 KB
/
battery-health.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
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Battery Health Report Generator</title>
<link rel="stylesheet" href="assets/css/battery-health.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/aos/2.3.4/aos.css"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css"/>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://unpkg.com/swiper/swiper-bundle.min.css"/>
</head>
<body>
<header class="header">
<div class="container" data-aos="fade-down">
<h1>Battery Health Report Generator</h1>
<p>Discover the Ultimate Tool for Monitoring Your Laptop's Battery Health</p>
<a href="#download" class="btn">Download Now</a>
</div>
<div class="parallax"></div>
<div class="overlay"></div>
</header>
<section id="features" class="features" data-aos="fade-up">
<div class="container">
<h2>Key Features That Matter to You</h2>
<div class="features-grid">
<div class="feature">
<div class="icon-wrapper">
<i class="fa-solid fa-chart-line fa-3x"></i>
</div>
<h3>Interactive Data Visualization</h3>
<p>Easily interpret battery capacity and life estimates through interactive plots and graphs.</p>
</div>
<div class="feature">
<div class="icon-wrapper">
<i class="fa-solid fa-file-alt fa-3x"></i>
</div>
<h3>Comprehensive Reports</h3>
<p>Get detailed insights into your battery's health, capacity history, and life estimates with data extracted from reliable system reports.</p>
</div>
<div class="feature">
<div class="icon-wrapper">
<i class="fa-solid fa-laptop-code fa-3x"></i>
</div>
<h3>User-Friendly Interface</h3>
<p>Navigate seamlessly through an intuitive dashboard designed with PyQt6, featuring clearly labeled tables and plots.</p>
</div>
<div class="feature">
<div class="icon-wrapper">
<i class="fa-solid fa-battery-full fa-3x"></i>
</div>
<h3>Battery Health Indicator</h3>
<p>Instantly see your battery's health percentage displayed with a prominent green icon.</p>
</div>
</div>
</div>
</section>
<section id="why" class="why" data-aos="fade-up">
<div class="container">
<h2>Why You Need the Battery Health Report Generator</h2>
<p>Laptops are a lifeline for many, whether you're working from home, studying for exams, or enjoying your
favorite content. Unexpected battery failures can disrupt your workflow and productivity. Our app ensures
you are never caught off guard by providing real-time and historical data about your battery's
performance.</p>
<!-- Use Cases -->
<div class="use-cases">
<div class="case">
<i class="fas fa-graduation-cap"></i>
<h3>Students</h3>
<p>Ensure your laptop lasts through long study sessions and exams without unexpected shutdowns.</p>
</div>
<div class="case">
<i class="fas fa-briefcase"></i>
<h3>Professionals</h3>
<p>Maintain productivity during important meetings and work sessions by monitoring battery health.</p>
</div>
<div class="case">
<i class="fas fa-plane"></i>
<h3>Travelers</h3>
<p>Keep track of battery performance on the go, ensuring your device is ready when you need it most.</p>
</div>
</div>
<!-- Testimonials -->
<div class="testimonials" data-aos="fade-up">
<h2>What Our Users Say</h2>
<div class="swiper-container">
<div class="swiper-wrapper">
<div class="swiper-slide">
<p><i class="fas fa-quote-left"></i> I use powercfg every once in a while to examine battery
capacity.
This is a nice useful project. <i class="fas fa-quote-right"></i> - Abhinav, Student</p>
</div>
<div class="swiper-slide">
<p><i class="fas fa-quote-left"></i> Amazing! <i class="fas fa-quote-right"></i> - Eshaan,
Student
</p>
</div>
<div class="swiper-slide">
<p><i class="fas fa-quote-left"></i> Very promising! The dark theme feature looks appealing. <i
class="fas fa-quote-right"></i> - Devansh, Student
</p>
</div>
<div class="swiper-slide">
<p><i class="fas fa-quote-left"></i> Innovative! <i class="fas fa-quote-right"></i> - Priyanshu,
Student
</p>
</div>
</div>
<!-- Add Pagination -->
<div class="swiper-pagination"></div>
<!-- Add Navigation -->
<div class="swiper-button-next"></div>
<div class="swiper-button-prev"></div>
</div>
</div>
<!-- Comparison Table -->
<div class="comparison-table" data-aos="fade-up">
<h2>Compare with Other Tools</h2>
<table>
<thead>
<tr>
<th>Feature</th>
<th>Battery Health Report Generator</th>
<th>Other Tools</th>
</tr>
</thead>
<tbody>
<tr>
<td>Real-Time Monitoring</td>
<td><i class="fas fa-check"></i></td>
<td><i class="fas fa-times"></i></td>
</tr>
<tr>
<td>Historical Data</td>
<td><i class="fas fa-check"></i></td>
<td><i class="fas fa-check"></i></td>
</tr>
<tr>
<td>Interactive Visualizations</td>
<td><i class="fas fa-check"></i></td>
<td><i class="fas fa-times"></i></td>
</tr>
<tr>
<td>User-Friendly Interface</td>
<td><i class="fas fa-check"></i></td>
<td><i class="fas fa-times"></i></td>
</tr>
</tbody>
</table>
</div>
<!-- Call to Action -->
<div class="cta" data-aos="fade-up">
<a href="#download" class="btn btn-primary">Download Now</a>
</div>
</div>
</section>
<section id="download" class="download" data-aos="fade-up">
<div class="container">
<h2>Get Started Today</h2>
<p>Don’t let battery issues hold you back. Download the Battery Health Report Generator now and take the first step towards smarter, more informed battery management.</p>
<div class="download-cards">
<div class="card">
<h3>Version 2.0.0</h3>
<p>Updated UI and Animations</p>
<a href="https://github.com/arnav003/Battery-Health-Report-Generator/releases/tag/v2.0.0" class="btn" target="_blank">
<i class="fas fa-download"></i> Download Now v2.0.0
</a>
</div>
<div class="card">
<h3>Version 1.6.0</h3>
<p>Latest features and improvements</p>
<a href="https://github.com/arnav003/Battery-Health-Report-Generator/releases/tag/v1.6.0" class="btn" target="_blank">
<i class="fas fa-download"></i> Download Now v1.6.0
</a>
</div>
<div class="card">
<h3>Version 1.5.0</h3>
<p>Older release version</p>
<a href="https://github.com/arnav003/Battery-Health-Report-Generator/releases/tag/v1.5.0" class="btn" target="_blank">
<i class="fas fa-download"></i> Download Now v1.5.0
</a>
</div>
<div class="card">
<h3>Version 1.0.0</h3>
<p>Older release version</p>
<a href="https://github.com/arnav003/Battery-Health-Report-Generator/releases/tag/v1.0.0" class="btn" target="_blank">
<i class="fas fa-download"></i> Download Now v1.0.0
</a>
</div>
</div>
</div>
</section>
<section id="feedback" class="feedback">
<div class="container">
<h2>We Value Your Feedback</h2>
<p>Please let us know your thoughts about the Battery Health Report Generator. Your feedback helps us
improve!</p>
<form id="feedbackForm">
<div class="form-group">
<label for="name">Name</label>
<input type="text" id="name" name="name" required>
</div>
<div class="form-group">
<label for="email">Email</label>
<input type="email" id="email" name="email" required>
</div>
<div class="form-group">
<label for="rating">Rating</label>
<select id="rating" name="rating" required>
<option value="" disabled selected>Select your rating</option>
<option value="5">5 - Excellent</option>
<option value="4">4 - Good</option>
<option value="3">3 - Average</option>
<option value="2">2 - Below Average</option>
<option value="1">1 - Poor</option>
</select>
</div>
<div class="form-group">
<label for="comments">Comments</label>
<textarea id="comments" name="comments" rows="4" required></textarea>
</div>
<button type="submit" class="btn">Submit Feedback</button>
</form>
</div>
</section>
<footer>
<div class="container">
<p>© 2024 Battery Health Report Generator. All rights reserved.</p>
</div>
</footer>
<script src="https://cdnjs.cloudflare.com/ajax/libs/aos/2.3.4/aos.js"></script>
<script>
AOS.init();
</script>
<script>
document.addEventListener('DOMContentLoaded', function () {
function smoothScrollTo(target) {
target.scrollIntoView({behavior: 'smooth'});
}
function scrollToHash() {
if (window.location.hash) {
var target = document.querySelector(window.location.hash);
if (target) {
smoothScrollTo(target);
}
}
}
// Scroll to hash if present on initial load
scrollToHash();
// Add smooth scroll behavior for all internal links
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
var target = document.querySelector(this.getAttribute('href'));
if (target) {
smoothScrollTo(target);
}
});
});
// Listen for hash change event (e.g., when using back/forward browser buttons)
window.addEventListener('hashchange', scrollToHash);
});
</script>
<script src="https://unpkg.com/swiper/swiper-bundle.min.js"></script>
<script>
document.addEventListener('DOMContentLoaded', function () {
var swiper = new Swiper('.swiper-container', {
loop: true,
autoplay: {
delay: 5000, // Change this value to set the delay between slides (in milliseconds)
disableOnInteraction: false, // Keeps autoplay running even after user interaction
},
pagination: {
el: '.swiper-pagination',
clickable: true,
},
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
},
});
});
</script>
<script src="https://cdn.emailjs.com/dist/email.min.js"></script>
<script>
(function () {
emailjs.init("eJeRDGA72n-NvJslN");
})();
document.getElementById('feedbackForm').addEventListener('submit', function (event) {
event.preventDefault();
// Get form values
const name = document.getElementById('name').value;
const email = document.getElementById('email').value;
const rating = document.getElementById('rating').value;
const comments = document.getElementById('comments').value;
// Prepare the email template parameters
const templateParams = {
from_name: name,
from_email: email,
user_rating: rating,
user_comments: comments
};
// Send the email using EmailJS
emailjs.send('service_zdrlskc', 'template_zbm09yf', templateParams)
.then(function (response) {
console.log('SUCCESS!', response.status, response.text);
alert('Thank you for your feedback! A copy of your feedback has been emailed to the address you provided.');
document.getElementById('feedbackForm').reset();
}, function (error) {
console.log('FAILED...', error);
alert('Sorry, there was an error sending your feedback. Please try again later.');
});
});
</script>
</body>
</html>