review/web_templates/base.html @ 8e18e2c40a06 webpy-sucks

More work on the cherrypy base.
author Steve Losh <steve@stevelosh.com>
date Tue, 02 Mar 2010 20:36:17 -0500
parents 666bc8af55a3
children 538a3dada709
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html>
    <head>
        <title>Reviewing {{ utils["basename"](datastore.target.root) }} with hg-review</title>
        <link rel="stylesheet" href="/media/aal.css" type="text/css" media="screen" />
        <link rel="stylesheet" href="/media/style.css" type="text/css" media="screen" />
        
        <script type="text/javascript" src="/media/jquery-1.3.2.min.js"></script>
        <script type="text/javascript" src="/media/ui.js"></script>
        <script type="text/javascript" src="/media/comments.js"></script>
    </head>
    
    <body>
        <div id="head-wrap">
            <h1><a href="/">{{ utils["basename"](datastore.target.root) }}</a> {{ title }}</a></h1>
        </div>
        <div id="content-wrap">
            <div id="remote-wrap">
                <span id="remote-push" class="remote-section">
                    <h3>Push comments to:</h3>
                    $for name, path in rd.repo.ui.configitems("paths"):
                        <form action="/push/" method="get">
                        <input type="hidden" name="path" value="${ name }" />
                        <input type="submit" value="${ name }" />
                        </form>
                </span>
                <span id="remote-pull" class="remote-section">
                    <h3>Pull comments from:</h3>
                    $for name, path in rd.repo.ui.configitems("paths"):
                        <form action="/pull/" method="get">
                        <input type="hidden" name="path" value="${ name }" />
                        <input type="submit" value="${ name }" />
                        </form>
                </span>
            </div>
            <div id="main-wrap">
                {{ content }}
            </div>
        </div>
        <div id="footer">
            <p>reviewing: {{ datastore.target.root }}</p>
        </div>
    </body>
</html>