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 48
 1 file changed, 48 insertions(+)

diff --git a/templates/repository/summary.html b/templates/repository/summary.html
new file mode 100644
index 0000000..23203a7 100644
--- /dev/null
+++ b/templates/repository/summary.html
@@ -1,0 +1,48 @@
{% extends "base.html" %}

{% block title %}{{ repo.name }} — {{ repo.description }}{% endblock %}

{% block header %}
  {{ macros::header(Some(repo), branch_names, Some(current_ref)) }}
{% endblock %}

{% block tabs %}
  {{ macros::repo_tabs(repo, current_ref, query, "summary") }}
{% endblock %}

{% block content %}
<table>
  {% if !branches.is_empty() %}
    {{ macros::branches(branches, branches_has_more, false, page, "") }}
  {% 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, "") }}
  {% 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, "") }}
  {% endif %}
</table>

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