gitprep / templates / main / home.html.ep /
bc55e15 11 years ago
2 contributor
14 lines | 0.412kb
% layout 'common';
  %= include '/include/header', title => 'Gitpub';
  <table class="project_list">
    <th>Home Directory</th>
    % my $toggle = 0;
    % for my $home (@$homes) {
      <tr class="<%= $toggle++ ? 'light' : 'dark' %>">
        <td>
          <a class="list" href="<%= url_for('projects', home => gitpub_rel($home)); %>">
            <%= $home %>
          </a>
        </td>
    % }
  </table>