aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMilan Pässler <me@pbb.lc>2019-12-12 03:16:40 +0100
committerKatharina Fey <kookie@spacekookie.de>2019-12-13 14:21:21 +0100
commitbaf496acf0640fecdc01864989f2142a9757ba14 (patch)
tree7c0d076097c1f14f5a8eae0a541d1e4cfef78f11 /templates
parentd43a02e05a9341325c4b09d810775678d14cc5b0 (diff)
initial styling
Diffstat (limited to 'templates')
-rw-r--r--templates/logo.pngbin56915 -> 0 bytes
-rw-r--r--templates/repo.html64
2 files changed, 33 insertions, 31 deletions
diff --git a/templates/logo.png b/templates/logo.png
deleted file mode 100644
index a706d7c..0000000
--- a/templates/logo.png
+++ /dev/null
Binary files differ
diff --git a/templates/repo.html b/templates/repo.html
index aefa962..156c48a 100644
--- a/templates/repo.html
+++ b/templates/repo.html
@@ -1,47 +1,49 @@
<!DOCTYPE html>
-<html>
+<html lang="en">
<head>
<meta charset="utf-8" />
<title>{{ project_name }} | /{{ project_name }}</title>
<link href="../static/main.css" rel="stylesheet">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <meta name="Description" content="{{ project_owner }} by {{ project_owner }}; {{ project_summary }}">
</head>
<body>
<div class="header">
<div class="title">
- <img class="logo" src="logo.png" />
+ <img class="logo" alt="{{ project_logo_alt_text }}" src="../static/{{ project_logo }}" />
+ <div>
+ <h1>/ <a href="">{{ project_owner }}</a> / <a href="">{{ project_name }}</a></h1>
- <div>
- <h1>/ <a href="">spacekookie</a> / <a href="">{{ project_name }}</a></h1>
+ <p>
+ {{ project_summary }}
+ </p>
- <p>
- A lightweight web frontend for git repositories
- </p>
- </div>
+ </div>
- <div>
- <a href="">RSS</a> <a href="">Clone</a> <a href="">Star</a>
-
- </div>
+ </div>
+ <div class="links">
+ <a href="">RSS</a><a href="">Clone</a> <a href="">Star</a>
+ </div>
+ </div>
+ <div class="content">
+ <div class="nav">
+ <a class="nav-item" href="">readme</a>
+ <a class="nav-item" href="">summary</a>
+ <a class="nav-item" href="">tree</a>
+ <a class="nav-item" href="">log</a>
+ <a class="nav-item" href="">tags</a>
+ <a class="nav-item" href="">branches</a>
+ <a class="nav-item" href="">stats</a>
+ <a class="nav-item" href="">contribute</a>
</div>
- <div class="content">
- <div class="nav">
- <a class="nav-item" href="">readme</a>
- <a class="nav-item" href="">summary</a>
- <a class="nav-item" href="">tree</a>
- <a class="nav-item" href="">log</a>
- <a class="nav-item" href="">tags</a>
- <a class="nav-item" href="">branches</a>
- <a class="nav-item" href="">stats</a>
- <a class="nav-item" href="">contribute</a>
- </div>
- <p>
- <strong>webgit</strong> was created on 2019-11-29 at 21:20
- with commit <a href="">{{ first_commit }}</a>. Since then, <a href="">{{ num_commits }}
- commits</a> have been authered by
- <a href="">{{ num_contributors }} contributers</a>.
- </p>
- <div>
- </div>
+ <p>
+ <strong>{{ project_name }}</strong> was created on 2019-11-29 at 21:20
+ with commit <a href="">{{ first_commit }}</a>. Since then, <a href="">{{ num_commits }}
+ commits</a> have been authered by
+ <a href="">{{ num_contributors }} contributers</a>.
+ </p>
+ <div>
</div>
+ </div>
</body>
</html>