summaryrefslogtreecommitdiff
path: root/cgit.c
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2007-05-11 23:44:42 +0200
committerLars Hjemli <hjemli@gmail.com>2007-05-11 23:44:42 +0200
commit9f48df63f6d8d9a8abcc02cd2f08293da7081520 (patch)
treed171ce9834577d3133e584c821f78806fbe0daef /cgit.c
parentf596d10d7391ed72b73019e037a7f7eec7a50d02 (diff)
downloadcgit-9f48df63f6d8d9a8abcc02cd2f08293da7081520.tar.gz
cgit-9f48df63f6d8d9a8abcc02cd2f08293da7081520.tar.bz2
cgit-9f48df63f6d8d9a8abcc02cd2f08293da7081520.zip
Add links to enable downloading of tagged blobs
All tags below refs/archives are shown on the repo summary page as download links. The links referes to the tagged objects, using the tag name as filename for download. This can be used to add shortcuts for release tarballs, documentation and other blobs stored in the object database, especially blobs that are not reachable during cloning. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to '')
-rw-r--r--cgit.css20
1 files changed, 20 insertions, 0 deletions
diff --git a/cgit.css b/cgit.css
index ef4bc62..49cf2d1 100644
--- a/cgit.css
+++ b/cgit.css
@@ -10,6 +10,7 @@ body {
h2 {
font-size: 120%;
font-weight: bold;
+ margin-top: 0em;
margin-bottom: 0.25em;
}
@@ -127,6 +128,25 @@ td#search input {
background-color: #fff;
}
+td#summary {
+ vertical-align: top;
+ padding-bottom: 1em;
+}
+
+td#archivelist {
+ padding-bottom: 1em;
+}
+
+td#archivelist table {
+ float: right;
+ border-collapse: collapse;
+ border: solid 1px #777;
+}
+
+td#archivelist table th {
+ background-color: #ccc;
+}
+
td#content {
padding: 1em 0.5em;
}