summaryrefslogtreecommitdiffstats
path: root/web-gui/index.sh
diff options
context:
space:
mode:
Diffstat (limited to 'web-gui/index.sh')
-rwxr-xr-xweb-gui/index.sh25
1 files changed, 25 insertions, 0 deletions
diff --git a/web-gui/index.sh b/web-gui/index.sh
new file mode 100755
index 0000000..6a9622c
--- /dev/null
+++ b/web-gui/index.sh
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+
+cat << EOF
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <title>JSON-D-BUS-Bridge Examples</title>
+</head>
+<body>
+<h1>JSON-D-BUS-Bridge Examples</h1>
+<ul>
+EOF
+
+for example in "$@"; do
+ echo "<li><a href=$example/build/>$example</a></li>"
+done
+
+cat << EOF
+</ul>
+</body>
+</html>
+EOF
+