about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2014-03-19 03:11:45 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2014-12-23 19:40:14 -0700
commit2159414a3945f059a7e52a4900ffcd1ca665e102 (patch)
tree4a315c7b36fd5fad7d1a6084151a1f012bb67df1
parentui-shared: show absolute time in tooltip for relative dates (diff)
downloadcgit-pink-2159414a3945f059a7e52a4900ffcd1ca665e102.tar.gz
cgit-pink-2159414a3945f059a7e52a4900ffcd1ca665e102.zip
footer: link back to cgit home page
The footer has always been overrideable using the footer= in cgitrc, so
this won't anger anybody who cares about their footer.
Diffstat (limited to '')
-rw-r--r--cgit.css7
-rw-r--r--ui-shared.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/cgit.css b/cgit.css
index 71b0b9b..6888cde 100644
--- a/cgit.css
+++ b/cgit.css
@@ -590,6 +590,13 @@ div#cgit div.footer {
 	font-size: 80%;
 	color: #ccc;
 }
+div#cgit div.footer a {
+	color: #ccc;
+	text-decoration: none;
+}
+div#cgit div.footer a:hover {
+	text-decoration: underline;
+}
 div#cgit a.branch-deco {
 	color: #000;
 	margin: 0px 0.5em;
diff --git a/ui-shared.c b/ui-shared.c
index bd74f42..32f23f9 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -740,7 +740,7 @@ void cgit_print_docend()
 	if (ctx.cfg.footer)
 		html_include(ctx.cfg.footer);
 	else {
-		htmlf("<div class='footer'>generated  by cgit %s at ",
+		htmlf("<div class='footer'>generated by <a href='http://git.zx2c4.com/cgit/about/'>cgit %s</a> at ",
 			cgit_version);
 		cgit_print_date(time(NULL), FMT_LONGDATE, ctx.cfg.local_time);
 		html("</div>\n");
:49:17 -0500'>2022-02-20Show indicator in status when window has pending inputJune McEnroe 2022-02-20Use separate edit buffers for each IDJune McEnroe 2022-02-20Make sure new cap is actually larger than new lengthJune McEnroe 2022-02-20Remove unused mbs.len field from struct EditJune McEnroe 2022-02-19Remove unneeded includes in ui.cJune McEnroe 2022-02-19Reimplement tab completeJune McEnroe 2022-02-19Handle errors from editFn, etc.June McEnroe 2022-02-19Reimplement text macrosJune McEnroe 2022-02-19Factor out input handling to input.cJune McEnroe 2022-02-19Factor out window management to window.cJune McEnroe 2022-02-19Enable -Wmissing-prototypesJune McEnroe In other words, warn when a function is missing static. I don't see why this isn't in -Wextra. 2022-02-19Fix edit.[ch] license notice additional permissionsJune McEnroe 2022-02-19Run line editing testsJune McEnroe I know, it feels wrong. 2022-02-18Implement new line editing "library"June McEnroe Losing tab complete and text macros, for now. This new implementation works on an instance of a struct and does not interact with the rest of catgirl, making it possible to copy into another project. Unlike existing line editing libraries, this one is entirely abstract and can be rendered externally. My goal with this library is to be able to implement vi mode. Since it operates on struct instances rather than globals, it might also be possible to give catgirl separate line editing buffers for each window, which would be a nice UX improvement. 2022-02-18Simplify cursor positioning in inputJune McEnroe Do some extra work by adding the portion before the cursor to the input window twice, but simplify the interaction with the split point. This fixes the awkward behaviour when moving the cursor across colour codes where the code would be partially interpreted up to the cursor. 2022-02-18Fix M-f orderingJune McEnroe 2022-02-12Move sandman build to scripts/MakefileJune McEnroe 2022-02-12Use compat_readpassphrase.c on LinuxJune McEnroe 2022-02-12Copy RPP defines from oconfigureJune McEnroe