index : gitrs
A lightweight web interface for browsing Git repositories, implemented in Rust
about summary refs log tree commit diff

Diffstat (limited to 'templates/repository/summary.html')

-rw-r--r-- templates/repository/summary.html 36
 1 file changed, 11 insertions(+), 25 deletions(-)

diff --git a/templates/repository/summary.html b/templates/repository/summary.html
index 23203a7..96b013c 100644
--- a/templates/repository/summary.html
+++ b/templates/repository/summary.html
@@ -11,38 +11,24 @@
{% endblock %}

{% block content %}
<table>
  {% if !branches.is_empty() %}
    {{ macros::branches(branches, branches_has_more, false, page, "") }}
    <table class="section-table">
      {{ macros::branches(branches, branches_has_more, false, page, "") }}
    </table>
  {% endif %}

  <tbody>
    <tr class="no-background">
        <td></td>
        <td></td>
        <td></td>
        <td></td>
    </tr>
  </tbody>

  {% if !tags.is_empty() %}
    {{ macros::tags(tags, tags_has_more, false, page, "") }}
    <table class="section-table">
      {{ macros::tags(tags, tags_has_more, false, page, "") }}
    </table>
  {% endif %}

  <tbody>
    <tr class="no-background">
        <td></td>
        <td></td>
        <td></td>
        <td></td>
    </tr>
  </tbody>

  {% if !commits.is_empty() %}
    {{ macros::commits(commits, commits_has_more, false, page, "") }}
    <table class="section-table">
      {{ macros::commits(commits, commits_has_more, false, page, "") }}
    </table>
  {% endif %}
</table>

<h3>Clone</h3>
<pre>https://git.y2w8.online/{{ repo.name }}</pre>
  <h3>Clone</h3>
  <pre>https://git.y2w8.online/{{ repo.name }}</pre>
{% endblock %}