-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
614 lines (590 loc) · 27.7 KB
/
index.html
File metadata and controls
614 lines (590 loc) · 27.7 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
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
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Electronic Gadgets Rental System</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=Poppins:wght@300;400;500;600;700&family=Manrope:wght@400;600;700&display=swap"
rel="stylesheet" />
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<div class="app-shell">
<header class="top-nav">
<div class="brand">
<div class="brand-logo">ER</div>
<div class="brand-text">
<span class="brand-title">Electronic Gadgets Rental</span>
<span class="brand-subtitle">Smart rentals for smarter students</span>
</div>
</div>
<button class="nav-toggle" id="navToggle" aria-label="Toggle navigation">
<span></span>
<span></span>
</button>
<nav class="nav-links" id="navLinks">
<a href="#" data-view="homeView" class="nav-link active">Home</a>
<a href="#" data-view="catalogView" class="nav-link nav-auth-required">Browse Gadgets</a>
<a href="#" data-view="dashboardView" class="nav-link nav-auth-required">My Rentals</a>
<a href="#" data-view="vendorView" class="nav-link nav-vendor-only">Vendor hub</a>
<a href="#" data-view="adminView" class="nav-link nav-admin-only">Admin Panel</a>
</nav>
<div class="nav-auth">
<button id="loginBtn" class="btn btn-outline">Login</button>
<button id="registerBtn" class="btn btn-primary">Sign up</button>
<div id="userMenu" class="user-menu hidden">
<span id="userGreeting"></span>
<button id="logoutBtn" class="btn btn-outline btn-small">Logout</button>
</div>
</div>
</header>
<main class="main-content">
<!-- Home / Landing -->
<section id="homeView" class="view active-view">
<section class="hero">
<div class="hero-content">
<h1>Rent the gadgets you need, only when you need them.</h1>
<p>
Laptops, cameras, tablets, projectors and more — available for short-term rental so you can focus on
projects, not big purchases.
</p>
<div class="hero-actions">
<button class="btn btn-primary" data-open-auth="register">Get Started</button>
<button class="btn btn-ghost" data-scroll-to="benefitsSection">Learn more</button>
</div>
<div class="hero-stats">
<div class="stat-card">
<span class="stat-value">50+</span>
<span class="stat-label">Gadgets available</span>
</div>
<div class="stat-card">
<span class="stat-value">₹99</span>
<span class="stat-label">Starting per day</span>
</div>
<div class="stat-card">
<span class="stat-value">24x7</span>
<span class="stat-label">Online access</span>
</div>
</div>
</div>
<div class="hero-gallery">
<div class="floating-card laptop">
<h3>Power Laptops</h3>
<p>Core i5 / i7, SSD, 16GB RAM</p>
<span class="pill">from ₹299/day</span>
</div>
<div class="floating-card camera">
<h3>DSLR & Mirrorless</h3>
<p>Perfect for events & vlogs</p>
<span class="pill">from ₹349/day</span>
</div>
<div class="floating-card tablet">
<h3>Study Tablets</h3>
<p>Digital notes & e‑books</p>
<span class="pill">from ₹149/day</span>
</div>
</div>
</section>
<section class="section" id="benefitsSection">
<div class="section-header">
<h2>Why rent instead of buy?</h2>
<p>Save money, stay flexible, and always have the right gadget for the right moment.</p>
</div>
<div class="grid-3">
<div class="info-card">
<div class="info-icon circle">₹</div>
<h3>Affordable for students</h3>
<p>Pay only for the days you actually use a gadget. No long-term EMIs or big upfront costs.</p>
</div>
<div class="info-card">
<div class="info-icon circle">⚡</div>
<h3>Flexible duration</h3>
<p>Rent gadgets for a single day, a week, or an entire semester — you decide.</p>
</div>
<div class="info-card">
<div class="info-icon circle">🎓</div>
<h3>Perfect for college projects</h3>
<p>Get high-performance devices only when your assignments, events, or hackathons need them.</p>
</div>
</div>
</section>
<section class="section trust-section">
<div class="section-header">
<h2>Trust & safety</h2>
<p>Clear rules for renters and vendors—similar to how marketplaces like Amazon or Flipkart protect both sides.</p>
</div>
<div class="grid-3">
<div class="info-card trust-card">
<div class="info-icon circle">🛡️</div>
<h3>Refundable security deposit</h3>
<p>Each rental holds a deposit that is released when you return the gadget in agreed condition—reducing fraud for vendors.</p>
</div>
<div class="info-card trust-card">
<div class="info-icon circle">✍️</div>
<h3>Rental agreement</h3>
<p>You accept the terms before paying: duration, deposit, return condition, and who delivers or picks up the device.</p>
</div>
<div class="info-card trust-card">
<div class="info-icon circle">📦</div>
<h3>Delivery or pickup</h3>
<p>Vendors choose whether they ship to you or you collect—so expectations are clear before you confirm.</p>
</div>
</div>
</section>
<section class="section">
<div class="section-header header-row">
<div>
<h2>Featured gadgets</h2>
<p>A quick look at some of our most popular rentals.</p>
</div>
<button class="btn btn-text nav-auth-required" data-view="catalogView">View all gadgets →</button>
</div>
<div id="featuredGadgets" class="card-grid card-grid-3">
<!-- Filled by JS -->
</div>
</section>
</section>
<!-- Catalog -->
<section id="catalogView" class="view">
<div class="view-header">
<div>
<h2>Browse gadgets</h2>
<p>Select a device, choose your rental duration, and book in a few clicks.</p>
</div>
<div class="filters">
<select id="filterCategory">
<option value="all">All categories</option>
<option value="laptop">Laptops</option>
<option value="camera">Cameras</option>
<option value="tablet">Tablets</option>
<option value="projector">Projectors</option>
</select>
<select id="filterAvailability">
<option value="all">All availability</option>
<option value="available">Available only</option>
</select>
</div>
</div>
<div id="catalogEmptyState" class="empty-state hidden">
<h3>No gadgets found</h3>
<p>Try adjusting your filters or come back later.</p>
</div>
<div id="gadgetCatalog" class="card-grid card-grid-3">
<!-- Filled by JS -->
</div>
</section>
<!-- Gadget Detail / Rental -->
<section id="gadgetDetailView" class="view">
<button class="back-link" data-view="catalogView">← Back to all gadgets</button>
<div id="gadgetDetailContent" class="gadget-detail">
<!-- Filled by JS -->
</div>
</section>
<!-- User Dashboard -->
<section id="dashboardView" class="view">
<div class="view-header">
<div>
<h2>My rentals</h2>
<p>Track current rentals, view history, and manage returns. Your list updates as soon as you confirm a booking or return.</p>
</div>
</div>
<div class="tabs">
<button class="tab active" data-tab="currentRentals">Current rentals</button>
<button class="tab" data-tab="rentalHistory">Rental history</button>
</div>
<div id="currentRentals" class="tab-panel active-panel">
<div id="currentRentalsList" class="card-grid card-grid-2">
<!-- Filled by JS -->
</div>
<div id="currentRentalsEmpty" class="empty-state">
<h3>No active rentals</h3>
<p>Browse gadgets and start your first rental.</p>
</div>
</div>
<div id="rentalHistory" class="tab-panel">
<table class="data-table" id="historyTable">
<thead>
<tr>
<th>Gadget</th>
<th>Start</th>
<th>Days</th>
<th>Rental ₹</th>
<th>Deposit</th>
<th>Status</th>
</tr>
</thead>
<tbody>
<!-- Filled by JS -->
</tbody>
</table>
<div id="historyEmpty" class="empty-state">
<h3>No rentals yet</h3>
<p>Your past rentals will appear here.</p>
</div>
</div>
</section>
<!-- Admin Panel -->
<section id="adminView" class="view">
<div class="view-header">
<div>
<h2>Admin panel</h2>
<p>Manage gadgets and monitor rental activity.</p>
</div>
</div>
<div class="admin-layout">
<div class="admin-column">
<h3>Gadget inventory</h3>
<table class="data-table" id="adminGadgetsTable">
<thead>
<tr>
<th>Name</th>
<th>Vendor</th>
<th>Per day</th>
<th>Deposit</th>
<th>Avail.</th>
<th></th>
</tr>
</thead>
<tbody>
<!-- Filled by JS -->
</tbody>
</table>
<div id="adminGadgetsEmpty" class="empty-state">
<h3>No gadgets in inventory</h3>
<p>Use the form on the right to add your first gadget.</p>
</div>
</div>
<div class="admin-column">
<h3 id="adminFormTitle">Add / edit gadget</h3>
<form id="gadgetForm" class="form">
<input type="hidden" id="gadgetId" />
<div class="form-group">
<label for="gadgetName">Name</label>
<input type="text" id="gadgetName" required />
</div>
<div class="form-group">
<label for="gadgetCategory">Category</label>
<select id="gadgetCategory" required>
<option value="">Select category</option>
<option value="laptop">Laptop</option>
<option value="camera">Camera</option>
<option value="tablet">Tablet</option>
<option value="projector">Projector</option>
</select>
</div>
<div class="form-group two-col">
<div>
<label for="gadgetPrice">Price per day (₹)</label>
<input type="number" id="gadgetPrice" min="1" required />
</div>
<div>
<label for="gadgetQuantity">Available quantity</label>
<input type="number" id="gadgetQuantity" min="0" required />
</div>
</div>
<div class="form-group">
<label for="gadgetDeposit">Security deposit (₹, refundable)</label>
<input type="number" id="gadgetDeposit" min="0" value="2500" required />
<span class="field-hint small-text">Held until return; refunded if condition matches agreement.</span>
</div>
<div class="form-group fulfillment-row">
<span class="label-inline">How can renters get the gadget?</span>
<label class="checkbox-label"><input type="checkbox" id="gadgetFulfillmentDelivery" checked /> Vendor delivers (like home delivery)</label>
<label class="checkbox-label"><input type="checkbox" id="gadgetFulfillmentPickup" checked /> Customer picks up</label>
</div>
<div class="form-group">
<label for="gadgetVendorId">Listed by (vendor)</label>
<select id="gadgetVendorId">
<option value="">Platform inventory</option>
</select>
<span class="field-hint small-text">Assign a vendor account or keep as platform stock.</span>
</div>
<div class="form-group">
<label for="gadgetImage">Image URL (optional)</label>
<input type="url" id="gadgetImage" placeholder="https://example.com/laptop.png" />
</div>
<div class="form-group">
<label for="gadgetDescription">Short description</label>
<textarea id="gadgetDescription" rows="2" required></textarea>
</div>
<div class="form-group">
<label for="gadgetSpecs">Key specs (comma separated)</label>
<input id="gadgetSpecs" placeholder="8GB RAM, 256GB SSD, i5 processor" />
</div>
<div class="form-actions">
<button type="submit" class="btn btn-primary">Save gadget</button>
<button type="button" id="gadgetFormReset" class="btn btn-ghost">Clear form</button>
</div>
</form>
<h3 class="mt-lg">Recent rentals</h3>
<table class="data-table" id="adminRentalsTable">
<thead>
<tr>
<th>User</th>
<th>Gadget</th>
<th>Start</th>
<th>Days</th>
<th>Fulfillment</th>
<th>Deposit</th>
<th>Status</th>
</tr>
</thead>
<tbody>
<!-- Filled by JS -->
</tbody>
</table>
<div id="adminRentalsEmpty" class="empty-state">
<h3>No rentals yet</h3>
<p>As users rent gadgets, they will appear here.</p>
</div>
</div>
</div>
</section>
<!-- Vendor hub (listings for vendor accounts) -->
<section id="vendorView" class="view">
<div class="view-header">
<div>
<h2>Vendor hub</h2>
<p>List gadgets customers can rent. Set rental price, refundable deposit, and how handover works—delivery or pickup.</p>
</div>
</div>
<div class="admin-layout">
<div class="admin-column">
<h3>Your listings</h3>
<table class="data-table" id="vendorGadgetsTable">
<thead>
<tr>
<th>Name</th>
<th>Per day</th>
<th>Deposit</th>
<th>Avail.</th>
<th></th>
</tr>
</thead>
<tbody></tbody>
</table>
<div id="vendorGadgetsEmpty" class="empty-state">
<h3>No listings yet</h3>
<p>Use the form to add your first gadget for rent.</p>
</div>
</div>
<div class="admin-column">
<h3 id="vendorFormTitle">Add a listing</h3>
<form id="vendorGadgetForm" class="form">
<input type="hidden" id="vendorGadgetId" />
<div class="form-group">
<label for="vGadgetName">Name</label>
<input type="text" id="vGadgetName" required />
</div>
<div class="form-group">
<label for="vGadgetCategory">Category</label>
<select id="vGadgetCategory" required>
<option value="">Select category</option>
<option value="laptop">Laptop</option>
<option value="camera">Camera</option>
<option value="tablet">Tablet</option>
<option value="projector">Projector</option>
</select>
</div>
<div class="form-group two-col">
<div>
<label for="vGadgetPrice">Price per day (₹)</label>
<input type="number" id="vGadgetPrice" min="1" required />
</div>
<div>
<label for="vGadgetQuantity">Quantity</label>
<input type="number" id="vGadgetQuantity" min="0" required />
</div>
</div>
<div class="form-group">
<label for="vGadgetDeposit">Security deposit (₹)</label>
<input type="number" id="vGadgetDeposit" min="0" value="3000" required />
</div>
<div class="form-group fulfillment-row">
<span class="label-inline">Fulfillment</span>
<label class="checkbox-label"><input type="checkbox" id="vGadgetDelivery" checked /> I can deliver to the renter</label>
<label class="checkbox-label"><input type="checkbox" id="vGadgetPickup" checked /> Renter can pick up from me</label>
</div>
<div class="form-group">
<label for="vGadgetImage">Image URL (optional)</label>
<input type="url" id="vGadgetImage" />
</div>
<div class="form-group">
<label for="vGadgetDescription">Description</label>
<textarea id="vGadgetDescription" rows="2" required></textarea>
</div>
<div class="form-group">
<label for="vGadgetSpecs">Key specs (comma separated)</label>
<input id="vGadgetSpecs" />
</div>
<div class="form-actions">
<button type="submit" class="btn btn-primary">Save listing</button>
<button type="button" id="vendorGadgetFormReset" class="btn btn-ghost">Clear</button>
</div>
</form>
</div>
</div>
</section>
</main>
<footer class="footer">
<p>
© <span id="year"></span> Electronic Gadgets Rental System ·
<button type="button" class="footer-link" id="footerTermsBtn">Rental terms & conditions</button>
</p>
</footer>
</div>
<!-- Auth Modal -->
<div id="authModal" class="modal hidden" aria-hidden="true">
<div class="modal-backdrop" data-close-modal></div>
<div class="modal-panel" role="dialog" aria-modal="true" aria-labelledby="authModalTitle">
<button class="modal-close" data-close-modal>×</button>
<div class="modal-tabs">
<button class="modal-tab active" data-auth-tab="login">Login</button>
<button class="modal-tab" data-auth-tab="register">Register</button>
</div>
<div id="authError" class="alert alert-error hidden"></div>
<div id="authSuccess" class="alert alert-success hidden"></div>
<form id="loginForm" class="form auth-form active-auth-form" novalidate>
<h3 id="authModalTitle">Welcome back</h3>
<p class="form-caption">Login to browse and manage your gadget rentals.</p>
<div class="form-group">
<label for="loginEmail">Email</label>
<input type="email" id="loginEmail" required />
</div>
<div class="form-group">
<label for="loginPassword">Password</label>
<input type="password" id="loginPassword" minlength="6" required />
</div>
<button type="submit" class="btn btn-primary full-width">Login</button>
<p class="form-caption mt-sm small-text">
Demo: <strong>admin@gadgets.com</strong> / admin123 · Vendor: <strong>vendor@demo.com</strong> / vendor123
</p>
</form>
<form id="registerForm" class="form auth-form" novalidate>
<h3>Create your account</h3>
<p class="form-caption">It's free and takes less than a minute.</p>
<div class="form-group">
<label for="registerName">Full name</label>
<input type="text" id="registerName" required />
</div>
<div class="form-group">
<label for="registerEmail">Email</label>
<input type="email" id="registerEmail" required />
</div>
<div class="form-group">
<label for="registerPassword">Password</label>
<input type="password" id="registerPassword" minlength="6" required />
<span class="field-hint small-text">Use at least 6 characters.</span>
</div>
<div class="form-group">
<label for="registerRole">I am signing up as</label>
<select id="registerRole">
<option value="user">Renter (borrow gadgets)</option>
<option value="vendor">Vendor (list my gadgets)</option>
</select>
</div>
<div class="form-group hidden" id="registerBusinessGroup">
<label for="registerBusinessName">Business / shop name</label>
<input type="text" id="registerBusinessName" placeholder="e.g. Campus Tech Rentals" />
<span class="field-hint small-text">Shown on your listings to build trust with renters.</span>
</div>
<button type="submit" class="btn btn-primary full-width">Create account</button>
<p class="form-caption small-text">Vendors agree to fair listings; renters agree to return items in the condition stated in each rental.</p>
</form>
</div>
</div>
<!-- Full rental terms -->
<div id="termsModal" class="modal hidden" aria-hidden="true">
<div class="modal-backdrop" data-close-terms></div>
<div class="modal-panel modal-panel-scroll" role="dialog" aria-modal="true" aria-labelledby="termsModalTitle">
<button class="modal-close" type="button" data-close-terms>×</button>
<h3 id="termsModalTitle">Rental terms & conditions</h3>
<p class="form-caption">These rules protect <strong>renters</strong> and <strong>vendors</strong> (demo project — not legal advice).</p>
<div class="terms-body">
<h4>1. Parties</h4>
<ul>
<li><strong>Platform</strong> provides listing and booking (demo only).</li>
<li><strong>Vendor</strong> owns or supplies the gadget; <strong>Renter</strong> pays rental + deposit.</li>
</ul>
<h4>2. Booking & payment (demo)</h4>
<ul>
<li>Rental fee = <strong>price per day × number of days</strong>.</li>
<li>A <strong>refundable security deposit</strong> is shown before you confirm; it is held until return and inspection.</li>
<li>You must tick <strong>I agree</strong> to the rental terms before confirming.</li>
</ul>
<h4>3. Fulfillment</h4>
<ul>
<li><strong>Vendor delivery</strong> or <strong>customer pickup</strong> is chosen where the listing allows it.</li>
<li>Exact address and timing are coordinated after booking (outside this demo).</li>
</ul>
<h4>4. Use & care</h4>
<ul>
<li>Use the gadget only as intended; no illegal activity.</li>
<li>Return by the due date in <strong>the same condition</strong> as received, except normal wear.</li>
<li>Lost or stolen items must be reported immediately; deposit rules may apply.</li>
</ul>
<h4>5. Return & deposit</h4>
<ul>
<li>On return, you declare condition: <strong>good</strong>, <strong>minor wear</strong>, or <strong>damage</strong>.</li>
<li><strong>Good:</strong> deposit marked for full refund (after inspection).</li>
<li><strong>Minor wear:</strong> part of the deposit may be retained per policy.</li>
<li><strong>Damage:</strong> deposit may be forfeited or used toward repair; vendor may dispute via platform.</li>
</ul>
<h4>6. Disputes</h4>
<ul>
<li>Vendors and renters should communicate in good faith; the platform may mediate in a real system.</li>
</ul>
</div>
<button type="button" class="btn btn-primary full-width no-print" data-close-terms>Got it</button>
</div>
</div>
<!-- Booking receipt (printable) -->
<div id="receiptModal" class="modal hidden" aria-hidden="true">
<div class="modal-backdrop" data-close-receipt></div>
<div class="modal-panel modal-panel-scroll receipt-sheet" role="dialog" aria-modal="true" aria-labelledby="receiptModalTitle">
<button class="modal-close no-print" type="button" data-close-receipt>×</button>
<h3 id="receiptModalTitle" class="receipt-brand">Booking confirmation</h3>
<p class="form-caption no-print">Save or print this summary for your records.</p>
<div id="receiptModalBody" class="receipt-body"></div>
<div class="form-actions no-print receipt-actions">
<button type="button" class="btn btn-primary" id="receiptPrintBtn">Print / Save as PDF</button>
<button type="button" class="btn btn-ghost" data-close-receipt>Go to My rentals</button>
</div>
</div>
</div>
<!-- Return inspection modal -->
<div id="returnModal" class="modal hidden" aria-hidden="true">
<div class="modal-backdrop" id="returnModalBackdrop"></div>
<div class="modal-panel modal-panel-wide" role="dialog" aria-modal="true" aria-labelledby="returnModalTitle">
<h3 id="returnModalTitle">Return & deposit</h3>
<p class="form-caption" id="returnModalGadgetName"></p>
<p class="form-caption small-text">
Confirm the condition when you return the gadget. The vendor (or platform) may inspect the device. Your security deposit is handled according to the rental agreement.
</p>
<div class="form-group">
<label for="returnConditionSelect">Condition at return</label>
<select id="returnConditionSelect">
<option value="good">Same as received — no damage</option>
<option value="minor">Minor wear only (normal use, light marks)</option>
<option value="damaged">Damage, fault, or missing accessories</option>
</select>
</div>
<div class="form-group">
<label for="returnNotes">Notes (optional)</label>
<textarea id="returnNotes" rows="2" placeholder="Anything the vendor should know"></textarea>
</div>
<div id="returnDepositPreview" class="agreement-box small-text"></div>
<div class="form-actions">
<button type="button" class="btn btn-primary" id="returnConfirmBtn">Confirm return</button>
<button type="button" class="btn btn-ghost" id="returnCancelBtn">Cancel</button>
</div>
</div>
</div>
<!-- Toast -->
<div id="toast" class="toast hidden"></div>
<script src="app.js"></script>
</body>
</html>