summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--cgit.css9
-rw-r--r--ui-repolist.c8
-rw-r--r--ui-tree.c2
3 files changed, 10 insertions, 9 deletions
diff --git a/cgit.css b/cgit.css
index 9c79c32..112dac1 100644
--- a/cgit.css
+++ b/cgit.css
@@ -368,22 +368,23 @@ table.list td.repogroup {
368 font-style: italic; 368 font-style: italic;
369 color: #888; 369 color: #888;
370} 370}
371 371
372a.button { 372a.button {
373 font-size: 80%; 373 font-size: 80%;
374 color: #333; 374 color: #aaa;
375 background-color: #ccc; 375 background-color: #eee;
376 border: solid 1px #999; 376 border: solid 1px #aaa;
377 padding: 0em 0.5em; 377 padding: 0em 0.5em;
378 margin: 0.1em 0.25em; 378 margin: 0.1em 0.25em;
379} 379}
380 380
381a.button:hover { 381a.button:hover {
382 text-decoration: none; 382 text-decoration: none;
383 background-color: #eee; 383 color: #333;
384 background-color: #ccc;
384} 385}
385 386
386a.primary { 387a.primary {
387 font-size: 100%; 388 font-size: 100%;
388} 389}
389 390
diff --git a/ui-repolist.c b/ui-repolist.c
index d5c77ea..4f820a8 100644
--- a/ui-repolist.c
+++ b/ui-repolist.c
@@ -84,15 +84,15 @@ void cgit_print_repolist(struct cacheitem *item)
84 html("</td><td>"); 84 html("</td><td>");
85 html_txt(cgit_repo->owner); 85 html_txt(cgit_repo->owner);
86 html("</td><td>"); 86 html("</td><td>");
87 print_modtime(cgit_repo); 87 print_modtime(cgit_repo);
88 html("</td><td>"); 88 html("</td><td>");
89 html_link_open(cgit_repourl(cgit_repo->url), 89 html_link_open(cgit_repourl(cgit_repo->url),
90 "Summary", "button"); 90 NULL, "button");
91 html("S</a>"); 91 html("summary</a>");
92 cgit_log_link("L", "Log", "button", NULL, NULL, NULL); 92 cgit_log_link("log", NULL, "button", NULL, NULL, NULL);
93 cgit_tree_link("T", "Tree", "button", NULL, NULL, NULL); 93 cgit_tree_link("tree", NULL, "button", NULL, NULL, NULL);
94 html("</td></tr>\n"); 94 html("</td></tr>\n");
95 } 95 }
96 html("</table>"); 96 html("</table>");
97 cgit_print_docend(); 97 cgit_print_docend();
98} 98}
diff --git a/ui-tree.c b/ui-tree.c
index 1037c82..b6cb813 100644
--- a/ui-tree.c
+++ b/ui-tree.c
@@ -89,13 +89,13 @@ static int ls_item(const unsigned char *sha1, const char *base, int baselen,
89 cgit_tree_link(name, NULL, "ls-blob", cgit_query_head, 89 cgit_tree_link(name, NULL, "ls-blob", cgit_query_head,
90 curr_rev, fullpath); 90 curr_rev, fullpath);
91 } 91 }
92 htmlf("</td><td class='ls-size'>%li</td>", size); 92 htmlf("</td><td class='ls-size'>%li</td>", size);
93 93
94 html("<td>"); 94 html("<td>");
95 cgit_log_link("L", "Log", "button", cgit_query_head, curr_rev, 95 cgit_log_link("log", NULL, "button", cgit_query_head, curr_rev,
96 fullpath); 96 fullpath);
97 html("</td></tr>\n"); 97 html("</td></tr>\n");
98 free(name); 98 free(name);
99 return 0; 99 return 0;
100} 100}
101 101