summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2010-12-22 15:06:02 +0000
committerhallgren <hallgren@chalmers.se>2010-12-22 15:06:02 +0000
commit59b36e0e4aa4875d9d5acfe7abf114a680b0aac9 (patch)
tree358291ce9582daee2e8408973e94f4e8eef70795 /src
parent6eb3d8ae9cebcc43d993dab986e5c3e39ceb7e5e (diff)
PGF web service: make the generated index.html for pgf-http a bit more informative
Diffstat (limited to 'src')
-rw-r--r--src/server/Setup.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/server/Setup.hs b/src/server/Setup.hs
index 290fa3b8b..41a3edc7d 100644
--- a/src/server/Setup.hs
+++ b/src/server/Setup.hs
@@ -76,10 +76,12 @@ setupWWW args dest pkg lbi =
create_root_index = writeFile (www_dir</>"index.html") index_html
- index_html = "<h2>Available demos</h2>\n"
+ index_html = "<h1>PGF service</h1>\n<h2>Available demos</h2>\n"
++"<ul><li><a href=\"minibar/minibar.html\">Minibar</a></ul>"
++"Additional grammars can be installed in"
++"<blockquote><code>"++grammars_dir++"</code></blockquote>"
+ ++"<a href=\"http://www.grammaticalframework.org/\">"
+ ++"Grammatical Framework</a>"
execute command =
do putStrLn command
e <- system command