aboutsummaryrefslogtreecommitdiff
path: root/templates/gitlist.qtpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/gitlist.qtpl')
-rw-r--r--templates/gitlist.qtpl11
1 files changed, 7 insertions, 4 deletions
diff --git a/templates/gitlist.qtpl b/templates/gitlist.qtpl
index 10a89da..84a42f9 100644
--- a/templates/gitlist.qtpl
+++ b/templates/gitlist.qtpl
@@ -14,14 +14,17 @@ type GitListPage struct {
{% for _, c := range u.ChunkBy(p.Respositories, 3) %}
<div class="row">
{% for _, r := range c %}
- <div class="col-md-4 g-0">
+ <div class="col-md g-1">
<div class="card">
<div class="card-header">
- {%s r.Title %}
+ <a href="/{%s r.Name %}" class="btn btn-primary">{%s r.Title %}</a>
</div>
<div class="card-body">
- <p class="card-text">{%s r.Description %}</p>
- <a href="/{%s r.Name %}" class="btn btn-primary">go to repository</a>
+ <p class="card-text lead">{%s r.LastCommitMessage %}</p>
+ <p class="card-text"><small>{%s r.LastCommitDate %}</small></p>
+ <a href="#" class="card-link">summary</a>
+ <a href="#" class="card-link">log</a>
+ <a href="#" class="card-link">tree</a>
</div>
</div>
</div>