X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/06fe0c2f47eaf467db8ab1443e61dfa1c280f30a..777faf7e509e1de2b795b2a326ff00c9bd799104:/ui-view.c diff --git a/ui-view.c b/ui-view.c index 1bf8472..07cd8be 100644 --- a/ui-view.c +++ b/ui-view.c @@ -8,7 +8,7 @@ #include "cgit.h" -void cgit_print_view(char *hex) +void cgit_print_view(const char *hex) { unsigned char sha1[20]; char type[20]; @@ -32,9 +32,11 @@ void cgit_print_view(char *hex) } buf[size] = '\0'; - html("
");
+ html("Object content
\n");
+ html("| %s %s, %li bytes |
|---|
| \n"); html_txt(buf); - html(""); + html("\n |