Add PDF export functionality and favicon support

- Introduced a new script for exporting the dashboard as a PDF using html2canvas and jsPDF.
- Added a favicon.ico file and linked it in the base template.
- Updated the base template to include the new PDF export script and modified the button for PDF export functionality.
- Enhanced the index template to include an ID for the dashboard content for PDF generation.
This commit is contained in:
2026-02-07 13:46:50 +03:00
parent 6836e0535b
commit 9f3946a0bc
8 changed files with 527 additions and 3 deletions

View File

@@ -10,7 +10,7 @@
{% block content %}
<!-- MAIN DASHBOARD -->
<div class="p-4 space-y-8" {% if skeleton %}data-dashboard="skeleton"{% endif %}>
<div id="dashboard-content" class="p-4 space-y-8" {% if skeleton %}data-dashboard="skeleton"{% endif %}>
<!-- QUICK STATS ROW -->
<section class="grid grid-cols-1 lg:grid-cols-3 gap-4" aria-label="Quick stats">
<!-- CPU Utilization -->