Add xlsxwriter-based Excel generation scripts with openpyxl implementation

- Created create_excel_xlsxwriter.py and update_excel_xlsxwriter.py
- Uses openpyxl exclusively to preserve Excel formatting and formulas
- Updated server.js to use new xlsxwriter scripts for form submissions
- Maintains all original functionality while ensuring proper Excel file handling

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
andrei
2025-09-22 13:53:06 +00:00
commit 0e2e1bddba
842 changed files with 316330 additions and 0 deletions

50
thank-you.html Normal file
View File

@@ -0,0 +1,50 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Thank You - Retail Media Business Case</title>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="bg-white min-h-screen flex items-center justify-center py-8">
<div class="w-full max-w-[600px] mx-auto px-4 sm:px-6">
<div class="text-center mb-6">
<h1 class="text-4xl font-bold text-black mb-2">Thank You!</h1>
</div>
<div class="bg-gray-50 p-8 rounded-lg shadow-sm text-center">
<div class="mb-6">
<svg xmlns="http://www.w3.org/2000/svg" class="h-16 w-16 text-[#1f1a3e] mx-auto" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z" />
</svg>
</div>
<p class="text-base text-[#1f1a3e] mb-6">
Your submission has been received successfully. Our retail media specialists will reach out to you soon.
</p>
<p class="text-base text-[#1f1a3e] mb-8">
You can download your personalized business case Excel file using the button below.
</p>
<div class="flex flex-col sm:flex-row justify-center gap-4">
<a href="/download-excel"
class="inline-block px-10 py-3 bg-gradient-to-r from-green-500 to-teal-600 text-white rounded-[10px] hover:from-green-600 hover:to-teal-700 font-bold text-lg uppercase tracking-wide transition-all shadow-md hover:shadow-lg">
<div class="flex items-center justify-center">
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 mr-2" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4" />
</svg>
Download Excel
</div>
</a>
<a href="/"
class="inline-block px-10 py-3 bg-gradient-to-r from-yellow-400 to-orange-500 text-white rounded-[10px] hover:from-yellow-500 hover:to-orange-600 font-bold text-lg uppercase tracking-wide transition-all shadow-md hover:shadow-lg">
Return Home
</a>
</div>
</div>
</div>
</body>
</html>
</html>