tMerge branch 'master' of src.adamsgaard.dk:src/stagit - stagit - static git pa… | |
git clone git://src.adamsgaard.dk/stagit | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 2ce893356d238e7de8fb6110db6192f690cdf8e2 | |
parent 3984292b51190e9d2d93228cc109955e0f4cc42f | |
Author: Anders Damsgaard <[email protected]> | |
Date: Thu, 2 Jan 2020 10:43:45 +0100 | |
Merge branch 'master' of src.adamsgaard.dk:src/stagit | |
Diffstat: | |
M favicon.png | 0 | |
M logo.png | 0 | |
M stagit-index.c | 11 +++++++---- | |
M stagit.c | 4 ++-- | |
4 files changed, 9 insertions(+), 6 deletions(-) | |
--- | |
diff --git a/favicon.png b/favicon.png | |
Binary files differ. | |
diff --git a/logo.png b/logo.png | |
Binary files differ. | |
diff --git a/stagit-index.c b/stagit-index.c | |
t@@ -17,7 +17,8 @@ static git_repository *repo; | |
static const char *relpath = ""; | |
-static char description[255] = "Repositories"; | |
+static char description[255] = "Anders' Repositories"; | |
+static char home_link[255] = "<a href=\"https://adamsgaard.dk\">Back to adamsg… | |
static char *name = ""; | |
static char owner[255]; | |
t@@ -76,10 +77,12 @@ writeheader(FILE *fp) | |
fprintf(fp, "</title>\n<link rel=\"icon\" type=\"image/png\" href=\"%s… | |
fprintf(fp, "<link rel=\"stylesheet\" type=\"text/css\" href=\"%sstyle… | |
fputs("</head>\n<body>\n", fp); | |
- fprintf(fp, "<table>\n<tr><td><img src=\"%slogo.png\" alt=\"\" width=\… | |
- "<td><span class=\"desc\">", relpath); | |
+ fprintf(fp, "<table style=\"width:100%%\">\n<tr><td style=\"white-spac… | |
+ "<td style=\"width:99%%\"><span class=\"desc\">", relpath); | |
xmlencode(fp, description, strlen(description)); | |
- fputs("</span></td></tr><tr><td></td><td>\n" | |
+ fputs("</span></td>", fp); | |
+ fprintf(fp, "<td style=\"text-align:right;white-space:nowrap\">%s</td>… | |
+ fputs("</tr><tr><td></td><td>\n" | |
"</td></tr>\n</table>\n<hr/>\n<div id=\"content\">\n" | |
"<table id=\"index\"><thead>\n" | |
"<tr><td><b>Name</b></td><td><b>Description</b></td><td><b>Own… | |
diff --git a/stagit.c b/stagit.c | |
t@@ -57,9 +57,9 @@ static char *strippedname = ""; | |
static char description[255]; | |
static char cloneurl[1024]; | |
static char *submodules; | |
-static char *licensefiles[] = { "HEAD:LICENSE", "HEAD:LICENSE.md", "HEAD:COPYI… | |
+static char *licensefiles[] = { "HEAD:LICENSE", "HEAD:LICENSE.md", "HEAD:LICEN… | |
static char *license; | |
-static char *readmefiles[] = { "HEAD:README", "HEAD:README.md" }; | |
+static char *readmefiles[] = { "HEAD:README", "HEAD:README.md", "HEAD:README.r… | |
static char *readme; | |
static long long nlogcommits = -1; /* < 0 indicates not used */ | |