<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

	<head>
		<title>Bazaar Browser {{ title }}</title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<meta http-equiv="Content-Language" content="en" />
		<link rel="stylesheet" type="text/css" href="{{ url_for("static", filename="style.css") }}" media="screen" />
		<link rel="shortcut icon" type="image/png" href="{{ url_for("static", filename="favicon.png") }}" />
	</head>

	<body>
		<div id="header">
			<h1>Bazaar Browser <span>{{ path }}</span></h1>
		</div>

		<div id="content">
			<div id="browse" class="viewbloc">
				<h2>Browse <span>{{ path }}</span></h2>
				<table>
					{% if path != "/" %}
						<tr>
							<td class="ico"><a href=".."><img src="{{ url_for("static", filename="parent.png") }}" alt="Parent Folder" /></a></td>
							<td><a href="..">..</a></td>
						</tr>
					{% endif %}
					{% for folder in folders %}
					<tr>
						<td class="ico"><a href="./{{ folder }}"><img src="{{ url_for("static", filename="folder.png") }}" alt="Folder" /></a></td>
						<td><a href="./{{ folder }}">{{ folder }}</a></td>
					</tr>
					{% endfor %}
					{% for branch in branches %}
					<tr>
						<td class="ico"><a href="./{{ branch }}"><img src="{{ url_for("static", filename="branch.png") }}" alt="Branch" /></a></td>
						<td><a href="./{{ branch }}">{{ branch }}</a></td>
					</tr>
					{% endfor %}
				</table>
			</div>

			{% block content %}
			{% endblock content %}
		</div>
		<div id="footer">
			<p>Powered by <a href="http://bzr.flogisoft.com/bazaar-browser/">Bazaar Browser</a>, Copyright © 2011 Fabien LOISON</p>
			<p>This program is licenced under the <a href="http://www.gnu.org/licenses/agpl.html">GNU Affero General Public Licence version 3</a>.
			<a href="http://bzr.flogisoft.com/bazaar-browser/">Get the source code</a>.</p>
		</div>
	</body>

</html>

