-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathembed.html
More file actions
190 lines (170 loc) · 8.91 KB
/
Copy pathembed.html
File metadata and controls
190 lines (170 loc) · 8.91 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Consultation Form | Poli Tools</title>
<link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="css/style.css">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/sortablejs@latest/Sortable.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/2.5.1/jspdf.umd.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/signature_pad@4.1.7/dist/signature_pad.umd.min.js"></script>
<style>
/* Embed Overrides */
body {
background: transparent;
}
.app-container {
height: auto;
display: block;
}
.preview-form-wrapper {
margin: 0;
box-shadow: none;
max-width: 100%;
border-radius: 0;
}
.embed-footer {
text-align: center;
margin-top: 30px;
padding: 20px;
background: #f8f9fa;
border-top: 2px solid #e9ecef;
}
.embed-footer-content {
display: flex;
gap: 15px;
justify-content: center;
align-items: center;
flex-wrap: wrap;
font-size: 0.9rem;
}
.embed-footer a {
color: #0693e3;
text-decoration: none;
font-weight: 600;
}
.embed-footer a:hover {
text-decoration: underline;
}
.kofi-button {
display: inline-flex;
align-items: center;
gap: 8px;
background: #FF5E5B;
color: white;
padding: 8px 16px;
border-radius: 5px;
text-decoration: none;
font-weight: 600;
font-size: 0.9rem;
transition: background 0.2s;
}
.kofi-button:hover {
background: #FF4E4B;
text-decoration: none;
}
</style>
</head>
<body class="embed-view">
<div id="embed-container" style="padding: 20px;">
<!-- Form Renders Here -->
</div>
<!-- Footer -->
<div class="embed-footer">
<div class="embed-footer-content">
<a href="https://poliinternational.com/wp-content/standalone-tools/form-builder/index.html" target="_blank">
🛠️ Open Full Form Builder
</a>
<span style="color: #ccc;">|</span>
<a href="https://poliinternational.com/form-builder-documentation-2/" target="_blank">
📖 Documentation
</a>
<span style="color: #ccc;">|</span>
<a href="https://ko-fi.com/patrickkofi" target="_blank" class="kofi-button">
☕ Buy Me a Coffee
</a>
<span style="color: #ccc;">|</span>
<a href="https://poliinternational.com/tools" target="_blank">
Explore More Tools →
</a>
</div>
<p style="font-size: 0.75rem; color: #999; margin-top: 10px;">
Free tool by <a href="https://poliinternational.com" target="_blank">Poli International</a>
</p>
</div>
<!-- Modules -->
<script src="js/templates.js"></script>
<script src="js/medical-history.js"></script>
<script src="js/drag-drop-builder.js"></script>
<script src="js/pdf-generator.js"></script>
<script src="js/signature-capture.js"></script>
<script src="js/conditional-logic.js"></script>
<script src="js/form-preview.js"></script>
<script src="js/common.js"></script>
<div class="global-footer" style="background:#0f0f0f;border-top:3px solid #0693e3;padding:3rem 1rem 1rem;margin-top:4rem;color:#fff">
<div style="max-width:1200px;margin:0 auto">
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:2rem;margin-bottom:2rem">
<div>
<h3 style="color:#0693e3;font-size:1.1rem;margin-bottom:1rem">Tattoo Tools</h3>
<ul style="list-style:none;padding:0;margin:0">
<li style="margin-bottom:0.5rem"><a href="/coverage-calculator/" style="color:#999;text-decoration:none;font-size:0.9rem">Coverage Calculator</a></li>
<li style="margin-bottom:0.5rem"><a href="/ink-mixer/" style="color:#999;text-decoration:none;font-size:0.9rem">Ink Mixer</a></li>
<li style="margin-bottom:0.5rem"><a href="/needle-selector/" style="color:#999;text-decoration:none;font-size:0.9rem">Needle Selector</a></li>
<li style="margin-bottom:0.5rem"><a href="/stencil-calculator/" style="color:#999;text-decoration:none;font-size:0.9rem">Stencil Calculator</a></li>
<li style="margin-bottom:0.5rem"><a href="/touch-up-timeline/" style="color:#999;text-decoration:none;font-size:0.9rem">Touch-up Timeline</a></li>
</ul>
</div>
<div>
<h3 style="color:#0693e3;font-size:1.1rem;margin-bottom:1rem">Piercing Tools</h3>
<ul style="list-style:none;padding:0;margin:0">
<li style="margin-bottom:0.5rem"><a href="/gauge-converter/" style="color:#999;text-decoration:none;font-size:0.9rem">Gauge Converter</a></li>
<li style="margin-bottom:0.5rem"><a href="/jewelry-size-visualizer/" style="color:#999;text-decoration:none;font-size:0.9rem">Jewelry Visualizer</a></li>
<li style="margin-bottom:0.5rem"><a href="/healing-tracker/" style="color:#999;text-decoration:none;font-size:0.9rem">Healing Tracker</a></li>
<li style="margin-bottom:0.5rem"><a href="/material-certification-checker/" style="color:#999;text-decoration:none;font-size:0.9rem">Material Certification</a></li>
<li style="margin-bottom:0.5rem"><a href="/piercing-pain-guide/" style="color:#999;text-decoration:none;font-size:0.9rem">Pain Guide</a></li>
<li style="margin-bottom:0.5rem"><a href="/piercing-angle-guide/" style="color:#999;text-decoration:none;font-size:0.9rem">Angle Guide</a></li>
</ul>
</div>
<div>
<h3 style="color:#0693e3;font-size:1.1rem;margin-bottom:1rem">Studio Management</h3>
<ul style="list-style:none;padding:0;margin:0">
<li style="margin-bottom:0.5rem"><a href="/form-builder/" style="color:#999;text-decoration:none;font-size:0.9rem">Form Builder</a></li>
<li style="margin-bottom:0.5rem"><a href="/studio-crm/" style="color:#999;text-decoration:none;font-size:0.9rem">Studio CRM</a></li>
<li style="margin-bottom:0.5rem"><a href="/autoclave-calculator/" style="color:#999;text-decoration:none;font-size:0.9rem">Autoclave Calculator</a></li>
<li style="margin-bottom:0.5rem"><a href="/equipment-compatibility-checker/" style="color:#999;text-decoration:none;font-size:0.9rem">Equipment Compatibility</a></li>
</ul>
</div>
<div>
<h3 style="color:#0693e3;font-size:1.1rem;margin-bottom:1rem">Support</h3>
<ul style="list-style:none;padding:0;margin:0">
<li style="margin-bottom:0.5rem"><a href="https://poliinternational.com/tools/" style="color:#999;text-decoration:none;font-size:0.9rem">All Tools</a></li>
<li style="margin-bottom:0.5rem"><a href="https://poliinternational.com/contact-us/" style="color:#999;text-decoration:none;font-size:0.9rem">Contact Us</a></li>
<li style="margin-bottom:0.5rem"><a href="https://ko-fi.com/poliinternational" target="_blank" style="color:#999;text-decoration:none;font-size:0.9rem">Support Us</a></li>
</ul>
</div>
</div>
<div style="text-align:center;padding-top:2rem;border-top:1px solid #333;color:#666;font-size:0.85rem">
<p>© Poli International Ltd. 2023-2025 – All Rights Reserved | 25+ Years of Innovation</p>
</div>
</div>
</div>
<script>
// Auto-load template from URL or default
document.addEventListener('DOMContentLoaded', () => {
const params = new URLSearchParams(window.location.search);
const templateId = params.get('template') || 'tattoo_standard';
if (window.FormTemplates && window.FormPreview) {
const tmpl = window.FormTemplates.TemplateManager.getTemplate(templateId);
if (tmpl) {
const preview = new window.FormPreview('embed-container');
preview.render(tmpl);
} else {
document.getElementById('embed-container').innerHTML = '<div style="color:red">Template not found.</div>';
}
}
});
</script>
</body>
</html>