review/templates/base.html @ 92e5e6c71595

web: add focus css for buttons
author Steve Losh <steve@stevelosh.com>
date Sun, 13 Jun 2010 02:38:28 -0400
parents fcbf8d764330
children 993a35243d1c
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

{% import 'macros.html' as macros %}

<html>
    <head>
        <title>{% block title %}{% endblock %}{{ utils["basename"](datastore.target.root) }}/ - hg-review</title>
        <link rel="stylesheet" href="/static/aal.css" type="text/css" media="screen" />
        <link rel="stylesheet" href="/static/style.css" type="text/css" media="screen" />
        <link rel="stylesheet" href="/static/extra.css" type="text/css" media="screen" />

        <script type="text/javascript" src="/static/jquery-1.4.2.min.js"></script>
        <script type="text/javascript" src="/static/jquery.infieldlabel.min.js"></script>
        <script type="text/javascript" src="/static/ui.js"></script>
        <script type="text/javascript" src="/static/comments.js"></script>
    </head>

    <body id="{% block id %}{% endblock %}">
        <div class="hr one">&nbsp;</div>
        <div class="hr two">&nbsp;</div>
        <div class="header group">
            <div class="wrap">
                <h1>
                    Reviewing
                    <a href="/">{{ utils["basename"](datastore.target.root) }}</a>
                </h1>
                <div class="remotes">
                    {% if not read_only %}
                        <div class="push remote">
                            {% for name, path in datastore.repo.ui.configitems("paths") %}
                                <form action="/push/" method="POST" id="remote-push-{{ name }}">
                                    <input type="hidden" name="path" value="{{ name }}" />
                                    <a class="button" href="#"><span>push to {{ name }}</span></a>
                                </form>
                            {% endfor %}
                        </div>

                        <div class="pull remote">
                            {% for name, path in datastore.repo.ui.configitems("paths") %}
                                <form action="/pull/" method="post">
                                    <input type="hidden" name="path" value="{{ name }}" />
                                    <a class="button" href="#"><span>pull from {{ name }}</span></a>
                                </form>
                            {% endfor %}
                        </div>
                    {% endif %}
                </div>
            </div>
        </div>
        <div class="content">
            <div class="wrap">
                {% block content %}{% endblock %}
            </div>
        </div>
        <div class="footer">
            <div class="wrap">
                <p>
                    reviewing {{ utils["basename"](datastore.target.root) }}
                    with <a href="http://bitbucket.org/sjl/hg-review/">hg-review</a>
                </p>
            </div>
        </div>
    </body>
</html>