-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcheck_page.html
98 lines (81 loc) · 1.91 KB
/
check_page.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Morning Star barcode check page</title>
<link href="check_page.css" rel="stylesheet">
</head>
<body>
<div class="wrapper">
<section id="main">
<h1>Morning Star barcode check page</h1>
<p>Tomorrow is {date:%A %B %-d %Y}. This is tomorrow’s barcode (you can download and place it in InDesign if you need to):</p>
<embed src="{barcodepath}"
width="500" height="400">
<p>The <b>sequence</b> is <b>{sequence}</b>, which appears on the bottom between <code>9 770307 175</code> and the final digit.</p>
<p> The <b>week</b> is <b>{week}</b>, which appears in the top-right above the smaller barcode.<p>
Please double-check the week number against this list:
<table>
<thead>
<tr>
<th>Week number</th>
<th>Commences on (Monday)</th>
</tr>
</thead>
<tbody>
{tablerows}
</tbody>
</table>
</section>
<section id="sidebar">
<h3>Sequence digits</h3>
<p>The first digit of the sequence should match the price code:</p>
<table>
<thead>
<th>Code</th>
<th>Price</th>
</thead>
<tbody>
<tr>
<td>2</td> <td>£1</td>
</tr>
<tr>
<td>3</td> <td>£1.20</td>
</tr>
</tbody>
</table>
<p>The second digit of the sequence should match the day number:</p>
<table>
<thead>
<th>Day #</th>
<th>Weekday</th>
</thead>
<tbody>
<tr>
<td>1</td> <td>Monday</td>
</tr>
<tr>
<td>2</td> <td>Tuesday</td>
</tr>
<tr>
<td>3</td> <td>Wednesday</td>
</tr>
<tr>
<td>4</td> <td>Thursday</td>
</tr>
<tr>
<td>5</td> <td>Friday</td>
</tr>
<tr>
<td>6</td> <td>Saturday</td>
</tr>
<tr>
<td>7</td> <td>Sunday</td>
</tr>
</tbody>
</table>
<p><i>NOTE: If tomorrow has an unusual price or is strange in some way, a special barcode might apply. This is almost NEVER the case, though.</i></p>
</section>
</div>
</body>
</html>