-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.mustache
86 lines (85 loc) · 1.85 KB
/
template.mustache
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="styles.css">
<title>TEv2 Test Glossary</title>
<style>
body {
font-family: 'Helvetica', sans-serif;
background-color: #F8F9FA;
margin: 0;
padding: 0;
}
header {
background-color: #343A40;
color: white;
text-align: center;
padding: 1em;
}
footer {
background-color: #343A40;
color: white;
text-align: center;
padding: 1em;
}
h1 {
margin: 0;
}
ul {
max-width: 800px;
margin: 2em auto;
padding: 20px;
background-color: #FFFFFF;
border-radius: 8px;
list-style: none;
}
li {
margin: 16px 0;
border-bottom: 1px solid #CCC;
padding: 8px 0;
}
li:last-child {
border-bottom: none;
}
.glossary-term {
font-weight: bold;
color: #333;
}
</style>
</head>
<body>
<div class="glossary-container">
<header>
<h1>TEv2 Test Glossary</h1>
</header>
<ul class="glossary-list">
{{#entries}}
<li class="glossary-item">
<div class="glossary-term">
{{term}}
</div>
<div class="glossary-definition">
{{#glossaryText}}
{{.}}
{{/glossaryText}}
{{^glossaryText}}
No glossary text available.
{{/glossaryText}}
</div>
{{#altterms}}
<div class="glossary-alternatives">
<strong>Alternative Terms:</strong> {{.}}
</div>
{{/altterms}}
</li>
{{/entries}}
</ul>
</div>
</body>
<footer><p>© <span id="year"></span> Aviary Tech</p></footer>
<script>
document.getElementById('year').textContent = new Date().getFullYear();
</script>
</html>