login

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>{{$title}} - {{$rname}} history</title>
  <style>
    #nav-bar { float: left; }
    % include view/auth.css
    #page-nav {
      font-size: x-large;
      color: grey;
    }
    .page-shift {
      text-decoration: none;
      font-weight: bolder;
      color: blue;
    }
    % include view/table.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><br>
  <span id="page-nav">
    % if $prev then
    <a class="page-shift" href="/repo/{{$rname}}/history/{{$prev:id()}}">&lt</a>
    % else
    &lt
    % end
    &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 class="page-shift" href="/repo/{{$rname}}/history/{{$next:id()}}">&gt</a>
    % else
    &gt
    % end
  </span>
  <table>
    <tr>
      <th>date</th>
      <th>commit</th>
      <th>author</th>
    </tr>
    % set i = 0
    % while $commit and $i < $limit do
    % set sig = $commit:signature()
    <tr>
      <td>{{os.date("%Y-%m-%d", $sig.time_)}}</td>
      <td><a href="/repo/{{$rname}}/commit/{{$commit:id()}}">{{$commit:summary()}}</a></th>
      <td>{{$sig.email}}</td>
    </tr>
      % set commit = $commit:parent()
      % set i = $i + 1
    % end
  </table>
</body>
</html>