-<html>
- <head>
- <title>Busy</title>
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
- <link rel="stylesheet" type="text/css" href="busy.css">
- <link rel="stylesheet" type="text/css" href="wikitext.css">
- $([ -r "${page}.css" ] && echo '<link rel="stylesheet" type="text/css" href="'"$page"'.css">')
- <style type="text/css"><!-- --></style>
- <script type="text/javascript">
- <!--
-function show_screen(id){
- document.getElementById(id).style.display = "inline";
-}
-function hide_screen(id){
- document.getElementById(id).style.display = "none";
-}
- -->
- </script>
- </head>
- <body onload="init();">
- <div id="TITLE">
- <h1 id="NAME">$(egrep '^name=.*$' project.meta |cut -d= -f2-)</h1>
- <span id="SLOGAN">$(egrep '^slogan=.*$' project.meta |cut -d= -f2-)</span>
- </div>
- <div id="USERMENU">
-$( $LOGIN || echo '<form action="https://'${HTTP_HOST}'/login.cgi?'${QUERY_STRING:gs/&/&/}'" method="post" accept-charset="UTF-8">
- Login:<br>
- <input type="text" name="user" value placeholder="Username"><br>
- <input type="password" name="pass" value placeholder="Password"><br>
- <input type="submit" value="Go!">
- </form>')
- </div>
- <div id="ACCOUNTING">
- </div>
- <div id="MENU">
- <a href='/?p=Home'>Home</a>
- <a href='/?p=Wiki'>Wiki</a>
- <a href='/?p=Subversion'>Code</a>
- <a href='/?p=Tasks'>Tasks</a>
- </div>
- $(if [ -r "./${page}.page" ]; then
- . "./${page}.page"
- else
- echo '<h2>Page not found or nevermore</h2>'
- echo 'Quoth the Raven: 404'
- fi
- )
- </body>
-</html>
-END_index.cgi