aboutsummaryrefslogtreecommitdiff
path: root/templates/repo/details.html
blob: 6a13a7738861491821a0b43c726701bfe09743ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{% extends "base.html" %}

{% block child_content %}
<table class="details-table">
  <thead>
    <tr>
      <th>Branch</th>
      <th>Commit message</th>
      <th>Author</th>
      <th>Date</th>
    </tr>
  </thead>
  <tbody>
    {% for b in branches %}
    <tr>
      <td>{{ b.name }}</td>
      <td>{{ b.last_commit.message }}</td>
      <td>{{ b.last_commit.author }}</td>
      <td>{{ b.last_commit.date }}</td>
    </tr>
    {% endfor %}
  </tbody>
</table>

<table class="details-table">
  <thead>
    <tr>
      <th>Hash</th>
      <th>Commit message</th>
      <th>Author</th>
      <th>Date</th>
      <th>Lines</th>
    </tr>
  </thead>
  <tbody>
    {% for c in commits %}
    <tr>
      <td>{{ c.hash }}</td>
      <td>{{ c.message }}</td>
      <td>{{ c.author }}</td>
      <td>{{ c.date }}</td>
    </tr>
    {% endfor %}
  </tbody>
</table>


<div class="details-grid">
  <h3>Branch</h3>
  <h3>Commit message</h3>
  <h3>Author</h3>
  <h3 class="details-span">Date</h3>

  <a href="">fn-verify-9324832</a>
  <a href="">Updating to actix 2.0.0 and adding 404 handler</a>
  <p>Katharina Fey</p>
  <p class="details-span">5 months ago</p>
  
  <a href="">master</a>
  <a href="">Rebuilding the entire htlm and css styles</a>
  <p>Katharina Fey</p>
  <p class="details-span">18 hours ago</p>

  <!-- Switch to last commits -->
  <h3>Commit Hash</h3>
  <h3>Commit message</h3>
  <h3>Author</h3>
  <h3>Date</h3>
  <h3>Lines</h3>

  <a href="">270cb70</a>
  <a href="">Rebuilding the entire htlm and css stiles</a>
  <p>Katharina Fey</p>
  <p>19 hours ago</p>
  <p>-214/+75</p>

  <a href="">5db4c57</a>
  <a href="">Updating to actix 2.0.0 and adding 404 handler</a>
  <p>Katharina Fey</p>
  <p>2020-01-23</p>
  <p>-610/+455</p>

  <a href="">5e16c64</a>
  <a href="">Adding project documentation and roadmap planning</a>
  <p>Katharina Fey</p>
  <p>2020-01-23</p>
  <p>-3/+61</p>

  <a href="">8b38bdd</a>
  <a href="">data: adding a small wrapper around libgit2</a>
  <p>Katharina Fey</p>
  <p>2019-12-29</p>
  <p>-36/+32</p>

  <a href="">c896fcd</a>
  <a href="">material-ish design with gitea-style tabs</a>
  <p>Milan Pässler</p>
  <p>2019-12-29</p>
  <p>-102/+169</p>
  
  <a href="">f2f49bb</a>
  <a href="">material-ish design with gitea-style tabs</a>
  <p>Milan Pässler</p>
  <p>2019-12-29</p>
  <p>-1/+2</p>

  <a href="">4be56ee</a>
  <a href="">Adding a small limgit2 example usage</a>
  <p>Katharina Fey</p>
  <p>2019-12-29</p>
  <p>-2/+17</p>

  <a href="">81ae20b</a>
  <a href="">Refactoring basic project structure</a>
  <p>Katharina Fey</p>
  <p>2019-12-28</p>
  <p>-76/+209</p>

  <a href="">baf496a</a>
  <a href="">initial styling</a>
  <p>Milan Pässler</p>
  <p>2019-12-13</p>
  <p>-38/+149</p>

  <a href="">d43a02e</a>
  <a href="">Adding AGPL-3.0 license</a>
  <p>Katharina Fey</p>
  <p>2019-12-10</p>
  <p>-0/+661</p>
</div>

{% endblock %}