changelog shortlog tags changeset files file revisions raw

Annotate bin/index

changeset 19: a27f6ddf6a81
parent:74a50b2d0b9e
child:a54c67e2232d
author: Gregor Richards <Richards@codu.org>
date: Wed Nov 04 01:45:02 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@6 17
    </body>
Richards@7 18
</html>
Richards@7 19
EOF