1title: HTML Document Type (Content)
2type: jig.document
3
4source:
5 documentType: HTML
6
7 content: |
8 <!DOCTYPE html>
9 <html lang="en">
10 <head>
11 <meta charset="UTF-8">
12 <meta name="viewport" content="width=device-width, initial-scale=1.0">
13 <title>Invoice</title>
14 <style>
15 body {
16 font-family: 'Arial', sans-serif;
17 margin: 0;
18 padding: 20px;
19 background-color: #f6f6f6;
20 }
21 .invoice-box {
22 max-width: 800px;
23 margin: auto;
24 padding: 30px;
25 border: 1px solid #eee;
26 box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
27 background-color: #fff;
28 color: #555;
29 }
30 .invoice-box table {
31 width: 100%;
32 line-height: 1.6;
33 text-align: left;
34 border-collapse: collapse;
35 }
36 .invoice-box table td {
37 padding: 5px;
38 vertical-align: top;
39 }
40 .invoice-box table tr td:nth-child(2) {
41 text-align: right;
42 }
43 .invoice-box table tr.top table td {
44 padding-bottom: 20px;
45 }
46 .invoice-box table tr.information table td {
47 padding-bottom: 40px;
48 }
49 .invoice-box table tr.heading td {
50 background: #eee;
51 border-bottom: 1px solid #ddd;
52 font-weight: bold;
53 }
54 .invoice-box table tr.details td {
55 padding-bottom: 20px;
56 }
57 .invoice-box table tr.item td {
58 border-bottom: 1px solid #eee;
59 }
60 .invoice-box table tr.item.last td {
61 border-bottom: none;
62 }
63 .invoice-box table tr.total td:nth-child(2) {
64 border-top: 2px solid #eee;
65 font-weight: bold;
66 }
67 h2, h3 {
68 margin: 0;
69 }
70 </style>
71 </head>
72 <body>
73 <div class="invoice-box">
74 <table cellpadding="0" cellspacing="0">
75 <!-- Invoice Header -->
76 <tr class="top">
77 <td colspan="2">
78 <table>
79 <tr>
80 <td class="title">
81 <h2>Company Name</h2>
82 </td>
83 <td>
84 Invoice #: 12345<br>
85 Created: January 1, 2025<br>
86 Due: January 31, 2025
87 </td>
88 </tr>
89 </table>
90 </td>
91 </tr>
92 <!-- Company & Customer Information -->
93 <tr class="information">
94 <td colspan="2">
95 <table>
96 <tr>
97 <td>
98 Company Name, Inc.<br>
99 12345 Street Address<br>
100 City, State, Zip
101 </td>
102 <td>
103 Customer Name<br>
104 Customer Company<br>
105 67890 Customer Address
106 </td>
107 </tr>
108 </table>
109 </td>
110 </tr>
111 <!-- Payment Method Details -->
112 <tr class="heading">
113 <td>Payment Method</td>
114 <td>Check #</td>
115 </tr>
116 <tr class="details">
117 <td>Check</td>
118 <td>1001</td>
119 </tr>
120 <!-- Itemized List of Services/Products -->
121 <tr class="heading">
122 <td>Item</td>
123 <td>Price</td>
124 </tr>
125 <tr class="item">
126 <td>Website Design</td>
127 <td>$300.00</td>
128 </tr>
129 <tr class="item">
130 <td>Hosting (3 months)</td>
131 <td>$75.00</td>
132 </tr>
133 <tr class="item last">
134 <td>Domain Registration (1 year)</td>
135 <td>$10.00</td>
136 </tr>
137 <!-- Total -->
138 <tr class="total">
139 <td></td>
140 <td>Total: $385.00</td>
141 </tr>
142 </table>
143 </div>
144 </body>
145 </html>
146
147actions:
148 - children:
149
150 - type: action.print
151 options:
152 title: Print
153
154 html: |
155 <!DOCTYPE html>
156 <html lang="en">
157 <head>
158 <meta charset="UTF-8">
159 <meta name="viewport" content="width=device-width, initial-scale=1.0">
160 <title>Invoice</title>
161 <style>
162 body {
163 font-family: 'Arial', sans-serif;
164 margin: 0;
165 padding: 20px;
166 background-color: #f6f6f6;
167 }
168 .invoice-box {
169 max-width: 800px;
170 margin: auto;
171 padding: 30px;
172 border: 1px solid #eee;
173 box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
174 background-color: #fff;
175 color: #555;
176 }
177 .invoice-box table {
178 width: 100%;
179 line-height: 1.6;
180 text-align: left;
181 border-collapse: collapse;
182 }
183 .invoice-box table td {
184 padding: 5px;
185 vertical-align: top;
186 }
187 .invoice-box table tr td:nth-child(2) {
188 text-align: right;
189 }
190 .invoice-box table tr.top table td {
191 padding-bottom: 20px;
192 }
193 .invoice-box table tr.information table td {
194 padding-bottom: 40px;
195 }
196 .invoice-box table tr.heading td {
197 background: #eee;
198 border-bottom: 1px solid #ddd;
199 font-weight: bold;
200 }
201 .invoice-box table tr.details td {
202 padding-bottom: 20px;
203 }
204 .invoice-box table tr.item td {
205 border-bottom: 1px solid #eee;
206 }
207 .invoice-box table tr.item.last td {
208 border-bottom: none;
209 }
210 .invoice-box table tr.total td:nth-child(2) {
211 border-top: 2px solid #eee;
212 font-weight: bold;
213 }
214 h2, h3 {
215 margin: 0;
216 }
217 </style>
218 </head>
219 <body>
220 <div class="invoice-box">
221 <table cellpadding="0" cellspacing="0">
222 <!-- Invoice Header -->
223 <tr class="top">
224 <td colspan="2">
225 <table>
226 <tr>
227 <td class="title">
228 <h2>Company Name</h2>
229 </td>
230 <td>
231 Invoice #: 12345<br>
232 Created: January 1, 2025<br>
233 Due: January 31, 2025
234 </td>
235 </tr>
236 </table>
237 </td>
238 </tr>
239 <!-- Company & Customer Information -->
240 <tr class="information">
241 <td colspan="2">
242 <table>
243 <tr>
244 <td>
245 Company Name, Inc.<br>
246 12345 Street Address<br>
247 City, State, Zip
248 </td>
249 <td>
250 Customer Name<br>
251 Customer Company<br>
252 67890 Customer Address
253 </td>
254 </tr>
255 </table>
256 </td>
257 </tr>
258 <!-- Payment Method Details -->
259 <tr class="heading">
260 <td>Payment Method</td>
261 <td>Check #</td>
262 </tr>
263 <tr class="details">
264 <td>Check</td>
265 <td>1001</td>
266 </tr>
267 <!-- Itemized List of Services/Products -->
268 <tr class="heading">
269 <td>Item</td>
270 <td>Price</td>
271 </tr>
272 <tr class="item">
273 <td>Website Design</td>
274 <td>$300.00</td>
275 </tr>
276 <tr class="item">
277 <td>Hosting (3 months)</td>
278 <td>$75.00</td>
279 </tr>
280 <tr class="item last">
281 <td>Domain Registration (1 year)</td>
282 <td>$10.00</td>
283 </tr>
284 <!-- Total -->
285 <tr class="total">
286 <td></td>
287 <td>Total: $385.00</td>
288 </tr>
289 </table>
290 </div>
291 </body>
292 </html>