all repos — cgit @ aa3c4486b41b8b13d0f52477f033837fc8bb9524

a hyperfast web frontend for git written in c

Add footer with page creation time and cgit version on all pages

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli hjemli@gmail.com
Sat, 03 May 2008 11:07:41 +0200
commit

aa3c4486b41b8b13d0f52477f033837fc8bb9524

parent

c6078b8b006bcb0671a3c1bc21dd1a2c01035a2e

2 files changed, 9 insertions(+), 0 deletions(-)

jump to
M cgit.csscgit.css

@@ -447,3 +447,9 @@

span.age-years { color: #bbb; } +div.footer { + margin-top: 0.5em; + text-align: center; + font-size: 80%; + color: #ccc; +}
M ui-shared.cui-shared.c

@@ -443,6 +443,9 @@ }

void cgit_print_docend() { + html("</div><div class='footer'>generated "); + cgit_print_date(time(NULL), FMT_LONGDATE); + htmlf(" by cgit %s", cgit_version); html("</div>\n</body>\n</html>\n"); }