author | Lars Hjemli <larsh@slaptop.hjemli.net> | 2007-01-27 23:39:26 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2007-01-27 23:52:41 (UTC) |
commit | 777faf7e509e1de2b795b2a326ff00c9bd799104 (patch) (unidiff) | |
tree | ccb440445caf46cbfa3d4bd21d743697f37a9876 /ui-view.c | |
parent | 447025f62ccbbb6e038d42009368e28f3e162460 (diff) | |
download | cgit-777faf7e509e1de2b795b2a326ff00c9bd799104.zip cgit-777faf7e509e1de2b795b2a326ff00c9bd799104.tar.gz cgit-777faf7e509e1de2b795b2a326ff00c9bd799104.tar.bz2 |
Cleanup table listings
Make the output for <table class='list'> a bit nicer
Signed-off-by: Lars Hjemli <larsh@slaptop.hjemli.net>
-rw-r--r-- | ui-view.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -31,12 +31,12 @@ void cgit_print_view(const char *hex) | |||
31 | return; | 31 | return; |
32 | } | 32 | } |
33 | 33 | ||
34 | buf[size] = '\0'; | 34 | buf[size] = '\0'; |
35 | html("<h2>Object content</h2>\n"); | 35 | html("<h2>Object content</h2>\n"); |
36 | html("<table class='list'>\n"); | 36 | html("<table class='list'>\n"); |
37 | htmlf("<tr><th>%s %s, %li bytes</th></tr>\n", type, hex, size); | 37 | htmlf("<tr class='nohover'><th class='left'>%s %s, %li bytes</th></tr>\n", type, hex, size); |
38 | html("<tr><td class='blob'>\n"); | 38 | html("<tr><td class='blob'>\n"); |
39 | html_txt(buf); | 39 | html_txt(buf); |
40 | html("\n</td></tr>\n"); | 40 | html("\n</td></tr>\n"); |
41 | html("</table>\n"); | 41 | html("</table>\n"); |
42 | } | 42 | } |