/
email-table.html
60 lines (60 loc) · 1.48 KB
/
email-table.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
<!-- THIS HAS DOUBLE CURLY BRACES ON PURPOSE!!!!
Python will give key errors if there are only single curly braces,
the double curly braces escaoes these curly braces and avoids error.
DO NOT DELETE DOUBLE CURLY BRACES!!!-->
<html>
<style>
table
{{
border-collapse: collapse;
}}
table,th,td
{{
border:1px solid black;
}}
</style>
<body>
<table>
<tr>
<th align="left">CRN</th>
<td align="left">{0}</td>
</tr>
<tr>
<th align="left">Subject Code</th>
<td align="left">{1}</td>
</tr>
<tr>
<th align="left">Course Number</th>
<td align="left">{2}</td>
</tr>
<tr>
<th align="left">Section</th>
<td align="left">{3}</td>
</tr>
<tr>
<th align="left">Credits</th>
<td align="left">{4}</td>
</tr>
<tr>
<th align="left">Title</th>
<td align="left">{5}</td>
</tr>
<tr>
<th align="left">Instructor(s)</th>
<td align="left">{6}</td>
</tr>
<tr>
<th align="left">Max Enroll</th>
<td align="left">{7}</td>
</tr>
<tr>
<th align="left">Enroll</th>
<td align="left">{8}</td>
</tr>
<tr>
<th align="left">Section Comments</th>
<td align="left">{9}</td>
</tr>
</table>
</body>
</html>