aboutsummaryrefslogtreecommitdiff
path: root/src/mkindex.sh
diff options
context:
space:
mode:
authorRodrigo Arias Mallo <rodarima@gmail.com>2025-09-28 20:26:15 +0200
committerRodrigo <rodarima@gmail.com>2025-09-28 23:10:55 +0200
commitfb510ea86be5ceb9e91573890242581fdbd77ad8 (patch)
treed819fe40683592008d136727f5a0b03e48dc1164 /src/mkindex.sh
Initial versionHEADmain
Diffstat (limited to 'src/mkindex.sh')
-rwxr-xr-xsrc/mkindex.sh25
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'