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

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


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