diff options
author | Lars Hjemli <hjemli@gmail.com> | 2007-05-11 23:44:42 +0200 |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2007-05-11 23:44:42 +0200 |
commit | 9f48df63f6d8d9a8abcc02cd2f08293da7081520 (patch) | |
tree | d171ce9834577d3133e584c821f78806fbe0daef /cgit.c | |
parent | Makefile: add support for building w.o. preinstalled git (diff) | |
download | cgit-pink-9f48df63f6d8d9a8abcc02cd2f08293da7081520.tar.gz cgit-pink-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.css | 20 |
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; } |