<?cs include "header.cs"?>
<div id="content">
<h1>All Project Source</h1>
<?cs each:folder = folders ?>
 <?cs if var:max < folder.rev ?>
  <?cs set:max = folder.rev ?>
 <?cs /if ?>
<?cs /each ?>
<div id="jumprev">
 <form action="" method="get"><div>
  <label for="rev">View revision:</label>
  <input disabled="true" type="text" id="rev" name="rev" value="<?cs var:max ?>" size="4" />
 </div></form>
</div>

<table class="listing" id="dirlist">
<thead>
 <tr>
   <th class="name asc">Name</th>
   <th class="size">Size</th>
   <th class="rev">Rev</th>
   <th class="date">Age</th>
   <th class="change">Last Change</th>
  </tr>
</thead>
<?cs
 each:folder = folders ?>
<?cs   if:folder.rev > 0 ?>
    <tr>
     <td class="name"><a class="dir" href="<?cs var:folder.href ?>"><?cs var:folder.name ?></a></td>
     <td class="size">&nbsp;</td>
     <td class="rev"><?cs var:folder.rev ?></td>
     <td class="age"><?cs var:folder.age ?></td>
     <td class="change">
      <span class="author"><?cs var:folder.author ?>:</span>
      <span class="change"><?cs var:folder.message ?></span>
     </td>
    </tr><?cs
  /if ?>
<?cs /each ?>
</table>
</div>
<?cs include "footer.cs"?>
