~jcsackett/charmworld/bac-tag-constraints

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<html tal:define="main load: main.pt" metal:use-macro="main.macros['page']">
  <body>

<metal:block metal:fill-slot="content">

  <h3> Search Results </h3>

  <span class="muted">Found ${matches_human_readable_estimate} matches in
  ${search_time}s out of ${result_total} charms.</span>

  <table class="table table-striped table-bordered shogun">
    <thead>
        <tr>
            <th>Charm</th>
            <th>Summary</th>
        </tr>
    </thead>
    <tr tal:repeat="hit results['charm']">
      <td tal:define="name hit['data'].store_url">
        <a href="${hit['data'].short_url}">${name}</a></td>
      <td tal:content="hit['data'].summary"></td>
    </tr>
  </table>

</metal:block>
</body>
</html>