aboutsummaryrefslogtreecommitdiff
path: root/templates/repo/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/base.html')
-rw-r--r--templates/repo/base.html37
1 files changed, 37 insertions, 0 deletions
diff --git a/templates/repo/base.html b/templates/repo/base.html
new file mode 100644
index 0000000..9927a4a
--- /dev/null
+++ b/templates/repo/base.html
@@ -0,0 +1,37 @@
+{% extends "../core.html" %}
+{% block title %}<title>octopus | /{{ repo.data.owner }}/{{ repo.data.name }}</title>{% endblock %}
+
+{% block content %}
+<div class="tagline-container">
+ <img class="repo-logo" src="/static/{{ repo.logo }}" />
+ <h1><a href="">{{ repo.data.owner }}</a> / <a href="">{{ repo.data.name }}</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="">{{ repo.data.num_commit }} commits</a>
+ <a href="">{{ repo.data.num_branch}} branch</a>
+ <a href="">{{ repo.data.num_tag }} tags</a>
+ <a href="">{{ repo.data.num_contributor }} contributor</a>
+ <a href="">size: {{ repo.data.size }}</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 nav-active">about</a>
+ <a href="details.html " class="nav-item">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>
+
+{% block child_content %}{% endblock %}
+
+{% endblock %}