aboutsummaryrefslogtreecommitdiff
path: root/templates/repo/details.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/details.html')
-rw-r--r--templates/repo/details.html258
1 files changed, 132 insertions, 126 deletions
diff --git a/templates/repo/details.html b/templates/repo/details.html
index ddcc761..6a13a77 100644
--- a/templates/repo/details.html
+++ b/templates/repo/details.html
@@ -1,126 +1,132 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8" />
- <title>octopus | /spacekookie/octopus</title>
- <link href="/static/main.css" rel="stylesheet">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- </head>
- <body>
- <div class="container">
- <div class="tagline-container">
- <img class="repo-logo" src="/static/fakeavi.png" />
- <h1><a href="">spacekookie</a> / <a href="">octopus</a></h1>
- <p>šŸ™ It's a water animal</p>
- <div class="starbox">
- <a href="">Clone</a>
- <a href="">Star</a>
- <a href="">RSS</a>
- </div>
- </div> <!-- tagline container -->
- <div class="subheader">
-
- <a href="">141 commits</a>
- <a href="">1 branch</a>
- <a href="">0 tags</a>
- <a href="">1 contributor</a>
- <a href="">size: 13.12M</a>
- <input id="repo-search" type="search" placeholder="Search repository" />
- <!-- <label for="repo-search">Search for files in the repository</label> -->
- </div> <!-- subheader -->
- <hr />
- <div class="repo-navigation">
- <a href="about.html" class="nav-item">about</a>
- <a href="details.html" class="nav-item nav-active">details</a>
- <a href="" class="nav-item">files</a>
- <a href="" class="nav-item">log</a>
- <a href="" class="nav-item"> patches</a>
- <a href="" class="nav-item">contribute</a>
- </div>
-
- <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>
- </div>
- </body>
-</html>
+{% 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 %}