git.rs

stagit snafu.
git clone git://git.ricketyspace.net/git.rs.git
Log | Files | Refs

commit b141b3d1d8e321b42c579a79ebc4c795c7a418d5
Author: rsiddharth <s@ricketyspace.net>
Date:   Sun, 11 Nov 2018 16:21:36 +0000

Initial commit.

Diffstat:
.gitignore | 2++
Makefile | 7+++++++
favicon.ico | 0
gen | 10++++++++++
logo.png | 0
style.css | 101+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
6 files changed, 120 insertions(+), 0 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -0,0 +1,2 @@ +*~ +html diff --git a/Makefile b/Makefile @@ -0,0 +1,7 @@ +gen: + ./gen +.PHONY: gen + +clean: + rm -rf *~ ./html +.PHONY: clean diff --git a/favicon.ico b/favicon.ico Binary files differ. diff --git a/gen b/gen @@ -0,0 +1,10 @@ +#!/bin/sh + +ROOT="$PWD/html" ; mkdir -p $ROOT && cd $ROOT + +REPOS=""; for r in /home/g/c/*; do + test -d "$r" && REPO=`basename ${r%".git"}` && mkdir -p "./$REPO" \ + && cd "./$REPO" && stagit $r && REPOS=$REPOS" "$r && cd $ROOT +done + +stagit-index $REPOS > $ROOT/index.html diff --git a/logo.png b/logo.png Binary files differ. diff --git a/style.css b/style.css @@ -0,0 +1,101 @@ +body { + color: #000; + background-color: #fff; + font-family: monospace; +} + +h1, h2, h3, h4, h5, h6 { + font-size: 1em; + margin: 0; +} + +img, h1, h2 { + vertical-align: middle; +} + +img { + border: 0; +} + +a { + text-decoration: none; +} + +a:hover { + text-decoration: underline; +} + +#blob a { + color: #777; +} + +#blob a:hover { + color: blue; + text-decoration: none; +} + +table thead td { + font-weight: bold; +} + +table td { + padding: 0 0.4em; +} + +#content table td { + vertical-align: top; + white-space: nowrap; +} + +#branches tr:hover td, +#tags tr:hover td, +#index tr:hover td, +#log tr:hover td, +#files tr:hover td { + background-color: #eee; +} + +#index tr td:nth-child(2), +#tags tr td:nth-child(3), +#branches tr td:nth-child(3), +#log tr td:nth-child(2) { + white-space: normal; +} + +td.num { + text-align: right; +} + +.desc { + color: #777; +} + +hr { + border: 0; + border-top: 1px solid #777; + height: 1px; +} + +pre { + font-family: monospace; +} + +pre a.h { + color: #00a; +} + +span.i, +pre a.i { + color: #070; +} + +span.d, +pre a.d { + color: #e00; +} + +pre a.h:hover, +pre a.i:hover, +pre a.d:hover { + text-decoration: none; +}