login

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>{{$title}} - {{$rname}} history</title>
  <style>
    #nav-bar { float: left; }
    % include view/auth.css
  </style>
</head>
<body>
  <div id="nav-bar">
    <a href="/">home</a>
    &gt;
    <a href="/repo/{{$rname}}">{{$rname}}</a>
    &gt;
    history
    &gt;
    <a href="/repo/{{$rname}}/commit/{{$first}}/tree/">tree</a>
  </div>
  % include view/auth.html
  <br>
  % if $prev then
  <a href="/repo/{{$rname}}/history/{{$prev:id()}}">&lt</a>
  % else
  &lt
  % end
  &nbsp;&nbsp;&nbsp;
  % set i = 0
  % set next = $commit
  % while $next and $i < $limit do
    % set next = $next:parent()
    % set i = $i + 1
  % end
  % if $next then
  <a href="/repo/{{$rname}}/history/{{$next:id()}}">&gt</a>
  % else
  &gt
  % end
  <p>Commits:</p>
  <ul>
    % set i = 0
    % while $commit and $i < $limit do
    <li><a href="/repo/{{$rname}}/commit/{{$commit:id()}}">{{$commit:summary()}}</a></li>
      % set commit = $commit:parent()
      % set i = $i + 1
    % end
  </ul>
</body>
</html>