Updated LICENSE and changed style
11 files changed, 12 insertions(+), 6 deletions(-) | |||
---|---|---|---|
M | LICENSE | +1 | -0 |
A | profile_img.png | +0 | -0 |
A | reallocarray.o | +0 | -0 |
A | stagit | +0 | -0 |
A | stagit-index | +0 | -0 |
A | stagit-index.o | +0 | -0 |
M | stagit.c | +6 | -6 |
A | stagit.o | +0 | -0 |
A | strlcat.o | +0 | -0 |
A | strlcpy.o | +0 | -0 |
M | style.css | +5 | -0 |
1@@ -1,6 +1,7 @@
2 MIT/X Consortium License
3
4 (c) 2015-2022 Hiltjo Posthuma <hiltjo@codemadness.org>
5+(c) 2022-2023 Arjun Choudhary <contact@arjunchoudhary.com>
6
7 Permission is hereby granted, free of charge, to any person obtaining a
8 copy of this software and associated documentation files (the "Software"),
A · profile_img.png
+0, -0
A · reallocarray.o
+0, -0
A · stagit
+0, -0
A · stagit-index
+0, -0
A · stagit-index.o
+0, -0
M · stagit.c
+6, -6 1@@ -528,21 +528,21 @@ writeheader(FILE *fp, const char *title)
2 fputs("</span>", fp);
3 fprintf(fp, " <a href=\"../%s\">Back</a></div>", relpath);
4 if (cloneurl[0]) {
5- fputs("<span class=\"url\"> git clone <a href=\"", fp);
6+ fputs("<span id=\"cloneurl\"> git clone <a href=\"", fp);
7 xmlencode(fp, cloneurl, strlen(cloneurl)); /* not percent-encoded */
8 fputs("\">", fp);
9 xmlencode(fp, cloneurl, strlen(cloneurl));
10 fputs("</a></span>", fp);
11 }
12 fputs("<div id=\"navbar\">", fp);
13- fprintf(fp, "<a href=\"%slog.html\">Log</a> ", relpath);
14- fprintf(fp, "<a href=\"%sfiles.html\">Files</a> ", relpath);
15- fprintf(fp, "<a href=\"%srefs.html\">Refs</a> ", relpath);
16+ fprintf(fp, "<a href=\"%slog.html\">Log |</a> ", relpath);
17+ fprintf(fp, "<a href=\"%sfiles.html\">Files |</a> ", relpath);
18+ fprintf(fp, "<a href=\"%srefs.html\">Refs |</a> ", relpath);
19 if (submodules)
20 fprintf(fp, " <a href=\"%sfile/%s.html\">Submodules</a>",
21 relpath, submodules);
22 if (readme)
23- fprintf(fp, " <a href=\"%sfile/%s.html\">README</a>",
24+ fprintf(fp, " <a href=\"%sfile/%s.html\">README |</a>",
25 relpath, readme);
26 if (license)
27 fprintf(fp, " <a href=\"%sfile/%s.html\">LICENSE</a>",
28@@ -751,7 +751,7 @@ writelogline(FILE *fp, struct commitinfo *ci)
29 fputs("<tr><td>", fp);
30 if (ci->author)
31 printtimeshort(fp, &(ci->author->when));
32- fputs("</td><td>", fp);
33+ fputs("</td><td id=\"commit-message\">", fp);
34 if (ci->summary) {
35 fprintf(fp, "<a href=\"%scommit/%s.html\">", relpath, ci->oid);
36 xmlencode(fp, ci->summary, strlen(ci->summary));
A · stagit.o
+0, -0
A · strlcat.o
+0, -0
A · strlcpy.o
+0, -0
M · style.css
+5, -0 1@@ -273,6 +273,11 @@ table td {
2 white-space: nowrap;
3 }
4
5+#commit-message {
6+ min-width: 300px;
7+ white-space: normal !important;
8+}
9+
10 #branches tr td,
11 #tags tr td,
12 #index tr td,