index : gitrs
A lightweight web interface for browsing Git repositories, implemented in Rust
about summary refs log tree commit diff
gitrs / templates / repository / summary.html
-rw-r--r-- blob 96b013c12434015ac8a4441c611c5e95c0771537 893 bytes (plain)
1
{% extends "base.html" %}
2
3
{% block title %}{{ repo.name }} — {{ repo.description }}{% endblock %}
4
5
{% block header %}
6
  {{ macros::header(Some(repo), branch_names, Some(current_ref)) }}
7
{% endblock %}
8
9
{% block tabs %}
10
  {{ macros::repo_tabs(repo, current_ref, query, "summary") }}
11
{% endblock %}
12
13
{% block content %}
14
  {% if !branches.is_empty() %}
15
    <table class="section-table">
16
      {{ macros::branches(branches, branches_has_more, false, page, "") }}
17
    </table>
18
  {% endif %}
19
20
  {% if !tags.is_empty() %}
21
    <table class="section-table">
22
      {{ macros::tags(tags, tags_has_more, false, page, "") }}
23
    </table>
24
  {% endif %}
25
26
  {% if !commits.is_empty() %}
27
    <table class="section-table">
28
      {{ macros::commits(commits, commits_has_more, false, page, "") }}
29
    </table>
30
  {% endif %}
31
32
  <h3>Clone</h3>
33
  <pre>https://git.y2w8.online/{{ repo.name }}</pre>
34
{% endblock %}