diff options
author | Rodrigo Arias Mallo <rodarima@gmail.com> | 2025-09-28 20:26:15 +0200 |
---|---|---|
committer | Rodrigo <rodarima@gmail.com> | 2025-09-28 23:10:55 +0200 |
commit | fb510ea86be5ceb9e91573890242581fdbd77ad8 (patch) | |
tree | d819fe40683592008d136727f5a0b03e48dc1164 /src/mkindex.sh |
Diffstat (limited to 'src/mkindex.sh')
-rwxr-xr-x | src/mkindex.sh | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/mkindex.sh b/src/mkindex.sh new file mode 100755 index 0000000..a81e033 --- /dev/null +++ b/src/mkindex.sh @@ -0,0 +1,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' |