feat: A4 Gridstack.js template designer + Puppeteer PDF renderer

This commit is contained in:
root
2026-07-16 07:57:16 +00:00
parent 56abeb9e4d
commit 70735502f2
10 changed files with 1802 additions and 3 deletions

View File

@@ -6,6 +6,7 @@
<title>CV Application</title>
<link rel="stylesheet" href="/static/style.css">
<link rel="stylesheet" href="/static/builder.css">
<link rel="stylesheet" href="/static/designer.css">
</head>
<body>
<div class="app">
@@ -65,7 +66,8 @@
<div id="page-templates" class="page">
<h2 style="margin-bottom:20px">CV Templates</h2>
<div class="flex mb-16 gap-8">
<button class="btn" onclick="showBuilder()">+ Visual Builder</button>
<button class="btn" onclick="showDesigner()">+ A4 Designer</button>
<button class="btn btn-outline" onclick="showBuilder()">+ Visual Builder</button>
<button class="btn btn-outline" onclick="showTemplateModal()">+ Manual (JSON)</button>
<button class="btn btn-outline" onclick="showTemplateGenModal()">Generate with AI</button>
</div>
@@ -108,5 +110,6 @@
<script src="/static/app.js"></script>
<script src="/static/builder.js"></script>
<script src="/static/designer.js"></script>
</body>
</html>