| changeset 7: | 864f6d0c5b91 |
| parent: | 9a0a3433fcca |
| child: | 74a50b2d0b9e |
| author: | Gregor Richards <Richards@codu.org> |
| date: | Wed Nov 04 01:10:14 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@6 | 10 | <form action="/wiki/edit" method="get"> |
| Richards@6 | 11 | Edit a page: <input type="text" name="arg1" value="bin/hello" /><br/> |
| Richards@6 | 12 | <input type="submit" value="Edit" /> |
| Richards@6 | 13 | </form> |
| Richards@6 | 14 | <p><a href="/wiki/hello">An example page</a></p> |
| Richards@6 | 15 | </body> |
| Richards@7 | 16 | </html> |
| Richards@7 | 17 | EOF |