Spaces:
Build error
Build error
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Ticket Management System</title> | |
| <link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}"> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"> | |
| <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet"> | |
| </head> | |
| <body> | |
| <div class="container"> | |
| <header> | |
| <h1><i class="fas fa-ticket-alt"></i> Ticket Management System</h1> | |
| <div class="actions"> | |
| <button id="refreshBtn" class="btn"><i class="fas fa-sync-alt"></i> Refresh</button> | |
| <button id="downloadBtn" class="btn btn-primary"><i class="fas fa-download"></i> Download CSV</button> | |
| </div> | |
| </header> | |
| <div class="stats-container"> | |
| <div class="stat-card"> | |
| <div class="stat-value" id="total-tickets">0</div> | |
| <div class="stat-label">Total Tickets</div> | |
| </div> | |
| <div class="stat-card"> | |
| <div class="stat-value" id="total-count">0</div> | |
| <div class="stat-label">Total Tickets Sold</div> | |
| </div> | |
| <div class="stat-card"> | |
| <div class="stat-value" id="unique-countries">0</div> | |
| <div class="stat-label">Countries</div> | |
| </div> | |
| </div> | |
| <div class="table-container"> | |
| <table id="ticketsTable"> | |
| <thead> | |
| <tr> | |
| <th>Ticket #</th> | |
| <th>Name</th> | |
| <th>Email</th> | |
| <th>Phone</th> | |
| <th>Quantity</th> | |
| <th>Country</th> | |
| <th>Region</th> | |
| <th>Date</th> | |
| </tr> | |
| </thead> | |
| <tbody id="ticketsBody"> | |
| <!-- Data will be inserted here by JavaScript --> | |
| </tbody> | |
| </table> | |
| </div> | |
| </div> | |
| <script src="{{ url_for('static', filename='script.js') }}"></script> | |
| </body> | |
| </html> |