| changeset 23: | a54c67e2232d |
| parent: | a27f6ddf6a81 |
| child: | b6d673da8465 |
| author: | Gregor Richards <Richards@codu.org> |
| date: | Wed Nov 04 01:48:26 2009 +0000 (2 years ago) |
| permissions: | -rwxr-xr-x |
| description: | 'edit' 'bin/index' |
| Richards@6 | 1 | #!/bin/bash |
| Richards@6 | 2 | cat <<EOF |
| Richards@6 | 3 | <html> |
| Richards@6 | 4 | <head> |
| Richards@6 | 5 | <title>Hackiki</title> |
| Richards@6 | 6 | </head> |
| Richards@6 | 7 | <body> |
| Richards@6 | 8 | <h1>Hackiki</h1> |
| Richards@6 | 9 | <p>Welcome to Hackiki, the world's most hackable wiki!</p> |
| Richards@19 | 10 | <p>This is a wiki in which every page is a script, run in a more-or-less normal GNU/Linux environment (protected by <a href="http://plash.beasts.org/download.html">plash</a>)</p> |
| Richards@6 | 11 | <form action="/wiki/edit" method="get"> |
| Richards@6 | 12 | Edit a page: <input type="text" name="arg1" value="bin/hello" /><br/> |
| Richards@6 | 13 | <input type="submit" value="Edit" /> |
| Richards@6 | 14 | </form> |
| Richards@6 | 15 | <p><a href="/wiki/hello">An example page</a></p> |
| Richards@11 | 16 | <p><a href="/wiki/runner">An arbitrary command runner</a></p> |
| Richards@23 | 17 | <p><a href="/wiki/list">A list of all pages</a></p> |
| Richards@6 | 18 | </body> |
| Richards@7 | 19 | </html> |
| Richards@7 | 20 | EOF |