Skip to content

Commit

Permalink
Added thead and tbody
Browse files Browse the repository at this point in the history
  • Loading branch information
davorg committed Aug 26, 2013
1 parent 73d10e1 commit f2bb0c3
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions table.tt
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -21,19 +21,23 @@
</div> </div>
<div class="row-fluid"> <div class="row-fluid">
<table class="table"> <table class="table">
<tr> <thead>
<th>Distribution</th> <tr>
<th>Distribution</th>
[% FOREACH repo IN repos -%] [% FOREACH repo IN repos -%]
<th>[% repo %]</th> <th>[% repo %]</th>
[% END -%] [% END -%]
</tr> </tr>
</thead>
<tbody>
[% FOREACH row IN table -%] [% FOREACH row IN table -%]
<tr> <tr>
[% FOREACH cell IN row -%] [% FOREACH cell IN row -%]
<td>[% cell %]</td> <td>[% cell %]</td>
[% END -%] [% END -%]
</tr> </tr>
[% END -%] [% END -%]
</tbody>
</table> </table>
</div> </div>
</div> </div>
Expand Down

0 comments on commit f2bb0c3

Please sign in to comment.