-
Notifications
You must be signed in to change notification settings - Fork 0
/
input.html
268 lines (250 loc) · 5.73 KB
/
input.html
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
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style type="text/css">
html,
body {
margin: 0;
padding: 0;
}
* {
box-sizing: border-box;
}
section,
.table-wrapper {
break-after: always;
}
body {
font-size: 16pt;
font-weight: 400;
-webkit-print-color-adjust: exact;
}
.table-wrapper {
columns: 2;
column-fill: auto;
}
table {
border: 1px solid #000;
}
td {
padding: 8pt;
}
thead,
tbody {
font-size: 9pt;
}
@page {
size: A4 landscape;
margin: 30pt 40pt 60pt 40pt;
@bottom {
width: 100%;
}
}
</style>
<script src="./dist/paged.polyfill.js"></script>
</head>
<body>
<section>
<h2>Lorem ipsum</h2>
<div class="table-wrapper">
<table class="table" cellspacing="0" cellpadding="0">
<thead>
<tr>
<th>Index</th>
<th align="left">Column 1</th>
<th align="center">Column with longer head</th>
</tr>
</thead>
<tbody>
<tr>
<td>0</td>
<td>Modi dolores est aperiam.</td>
<td align="right">01</td>
</tr>
<tr>
<td>1</td>
<td>Modi consectetur ut accusamus et fugit eveniet molestiae neque et.</td>
<td align="right">12</td>
</tr>
<tr>
<td>2</td>
<td>Sit voluptas veniam animi ex assumenda totam similique est eos.</td>
<td align="right">23</td>
</tr>
<tr>
<td>3</td>
<td>Numquam nesciunt aut facere hic ut et error earum est.</td>
<td align="right">34</td>
</tr>
<tr>
<td>4</td>
<td>Aut repellendus et dolorum.</td>
<td align="right">45</td>
</tr>
<tr>
<td>5</td>
<td>Perferendis in aut.</td>
<td align="right">56</td>
</tr>
<tr>
<td>6</td>
<td>Quod necessitatibus recusandae omnis voluptatem provident.</td>
<td align="right">67</td>
</tr>
<tr>
<td>7</td>
<td>Laboriosam dolorem sit nulla possimus nihil in et molestiae.</td>
<td align="right">78</td>
</tr>
<tr>
<td>8</td>
<td>Corrupti tempore omnis culpa eos facilis error laboriosam eum.</td>
<td align="right">89</td>
</tr>
<tr>
<td>9</td>
<td>Omnis distinctio vel quibusdam voluptatum labore impedit sint libero.</td>
<td align="right">910</td>
</tr>
<tr>
<td>10</td>
<td>Sed numquam enim est quia omnis quia omnis rerum non.</td>
<td align="right">1011</td>
</tr>
<tr>
<td>11</td>
<td>Non magnam vitae quisquam.</td>
<td align="right">1112</td>
</tr>
<tr>
<td>12</td>
<td>Nemo accusamus et non.</td>
<td align="right">1213</td>
</tr>
<tr>
<td>13</td>
<td>Debitis et perferendis.</td>
<td align="right">1314</td>
</tr>
<tr>
<td>14</td>
<td>Et saepe dignissimos repellat nihil est.</td>
<td align="right">1415</td>
</tr>
<tr>
<td>15</td>
<td>Et autem ipsum aliquam quisquam tempore.</td>
<td align="right">1516</td>
</tr>
<tr>
<td>16</td>
<td>Dolor ipsam enim molestiae sit vero ullam doloremque.</td>
<td align="right">1617</td>
</tr>
<tr>
<td>17</td>
<td>Veritatis voluptate expedita blanditiis aut fugit quibusdam ex.</td>
<td align="right">1718</td>
</tr>
<tr>
<td>18</td>
<td>Eos est tempora qui autem.</td>
<td align="right">1819</td>
</tr>
<tr>
<td>19</td>
<td>Nam magnam cum deleniti dolorem qui magni.</td>
<td align="right">1920</td>
</tr>
<tr>
<td>20</td>
<td>Aut dicta et dolores alias.</td>
<td align="right">2021</td>
</tr>
<tr>
<td>21</td>
<td>Aspernatur aut qui autem.</td>
<td align="right">2122</td>
</tr>
<tr>
<td>22</td>
<td>Vel et qui.</td>
<td align="right">2223</td>
</tr>
<tr>
<td>23</td>
<td>Voluptas et id temporibus nemo.</td>
<td align="right">2324</td>
</tr>
<tr>
<td>24</td>
<td>Omnis soluta et sit consequatur ab quia.</td>
<td align="right">2425</td>
</tr>
<tr>
<td>25</td>
<td>Totam qui et et beatae laboriosam eos dolores sit.</td>
<td align="right">2526</td>
</tr>
<tr>
<td>26</td>
<td>Quidem repellat dolorem adipisci at.</td>
<td align="right">2627</td>
</tr>
<tr>
<td>27</td>
<td>Autem non iure omnis eum ipsam.</td>
<td align="right">2728</td>
</tr>
<tr>
<td>28</td>
<td>Optio dolores error laudantium.</td>
<td align="right">2829</td>
</tr>
<tr>
<td>29</td>
<td>Et quis earum eum odio sit.</td>
<td align="right">2930</td>
</tr>
<tr>
<td>30</td>
<td>Et assumenda molestias aut laborum.</td>
<td align="right">3031</td>
</tr>
<tr>
<td>31</td>
<td>Dolore et eum.</td>
<td align="right">3132</td>
</tr>
<tr>
<td>32</td>
<td>A minus harum ullam sed ea velit.</td>
<td align="right">3233</td>
</tr>
<tr>
<td>33</td>
<td>Alias dolorem magnam sint incidunt illo.</td>
<td align="right">3334</td>
</tr>
<tr>
<td>34</td>
<td>Ea consectetur enim sit non veritatis omnis quia eos quaerat.</td>
<td align="right">3435</td>
</tr>
<tr>
<td>35</td>
<td>Et qui et recusandae dolorum pariatur dolor quia sapiente.</td>
<td align="right">3536</td>
</tr>
</tbody>
</table>
</div>
</section>
<section>
More content here that should be on a third page
</section>
</body>
</html>