aboutsummaryrefslogtreecommitdiff
path: root/src/mkindex.sh
blob: a81e0337d6f49cb702fe8503e52e1e16dc0437e3 (plain)
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
#!/bin/sh -e

cat <<EOF
<!doctype html>
<head>
  <title>Dillo Bug Tracker</title>
  <link rel='stylesheet' href='/style.css' type='text/css' />
</head>
<body>
  <h1>Dillo Bug Tracker</h1>
  <p>State: <a href="/">open</a> | <a href="/any.html">any</a></p>
  <table class='issue-index'>
    <tr>
      <th>Bug</th>
      <th style='width: 70%'>Title</th>
      <th>Updated</th>
      <th>State</th>
    </tr>
EOF

cat "$@"

printf '\n'
printf '  </table>\n'
printf '</body>\n'