🐙 Templated web page generator for your git repositories
git clone https://github.com/m-col/gitja
Files | Refs | Readme | License

-rw-r--r-- templates/stagit/repo/refs.html


      1 {% extends "../template.html.include" %}
      2 
      3 {%- block title -%}
      4 {{ name }} - Refs
      5 {%- endblock -%}
      6 
      7 {% block body %}
      8 {% include  "repo-table-header.html.include" %}
      9 
     10 <div id="content">
     11   <h2>Branches</h2>
     12   <table id="branches">
     13     <thead>
     14       <tr><td><b>Name</b></td><td colspan="2"><b>Last commit</b></td><td><b>Author</b></td></tr>
     15     </thead>
     16     <tbody>
     17       {% for branch in branches %}
     18       <tr><td>{{ branch.name }}</td><td>{{ branch.authored[:16] }}</td><td>{{ branch.title }}</td><td>{{ branch.author }}</td></tr>
     19       {% endfor %}
     20     </tbody>
     21   </table>
     22 
     23   <br>
     24 
     25   <h2>Tags</h2>
     26   <table id="tags">
     27     <thead>
     28       <tr><td><b>Name</b></td><td colspan="2"><b>Last commit</b></td><td><b>Author</b></td></tr>
     29     </thead>
     30     <tbody>
     31       {% for tag in tags %}
     32       <tr><td>{{ tag.name }}</td><td>{{ tag.authored[:16] }}</td><td>{{ tag.title }}</td><td>{{ tag.author }}</td></tr>
     33       {% endfor %}
     34     </tbody>
     35   </table>
     36 </div>
     37 {% endblock %}
     38