review/web_templates/base.html @ 22de90ef33ed
Add identifiers to ReviewChangeset's and ReviewSignoff's.
The identifier of a rcset/rsignoff is the filename it was saved as, which is
the hash of its contents.
This will be useful when we want to add replies to comments/signoffs.
CLI support for this feature has also been added (using --verbose and --debug
flags with 'hg review [-r REV]'), as well as some simple unit tests.
author |
Steve Losh <steve@stevelosh.com> |
date |
Sat, 27 Mar 2010 11:10:12 -0400 |
parents |
15de5872c830 |
children |
52b914764732 |
<!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) }}{% block title %}{% endblock %}</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.4.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>
Reviewing
<a href="/">
{{ utils["basename"](datastore.target.root) }}
</a>
{% block header %}{% endblock %}
</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 datastore.repo.ui.configitems("paths") %}
<form action="/push/" method="post">
<input type="hidden" name="path" value="{{ name }}" />
<input type="submit" value="{{ name }}" />
</form>
{% endfor %}
</span>
<span id="remote-pull" class="remote-section">
<h3>Pull comments from:</h3>
{% for name, path in datastore.repo.ui.configitems("paths") %}
<form action="/pull/" method="post">
<input type="hidden" name="path" value="{{ name }}" />
<input type="submit" value="{{ name }}" />
</form>
{% endfor %}
</span>
</div>
<div id="main-wrap">
{% block content %}{% endblock %}
</div>
</div>
<div id="footer">
<p>reviewing: {{ datastore.target.root }}</p>
</div>
</body>
</html>