cSvn CGI Script

cSvn CGI Script – is a web frontend for Subversion™ Repositories

115 Commits   0 Branches   5 Tags   |
Index: csvncgi/.csvn/css/csvn.css
===================================================================
--- csvncgi/.csvn/css/csvn.css	(revision 58)
+++ csvncgi/.csvn/css/csvn.css	(revision 59)
@@ -31,7 +31,6 @@
 }
 a:hover {
   color: #b40b22;
-  /*color: #5a0510;*/
 }
 
 p {
@@ -779,15 +778,18 @@
 .tree .row:hover {
   background-color: #f2f3f4;
 }
-.dir,
-.dir a {
+.dir {
   color: #262626; /* color 235 */
 }
-.file,
-.file a {
+.file {
   color: #585858; /* color 240 */
 }
-.tree a:hover {
+.exec {
+  color: #008700; /* color  28 */
+}
+.tree a:hover,
+.tree a .dir:hover,
+.tree a .file:hover {
   color: #b40b22;
 }
 
Index: csvncgi/ui-tree.c
===================================================================
--- csvncgi/ui-tree.c	(revision 58)
+++ csvncgi/ui-tree.c	(revision 59)
@@ -181,8 +181,8 @@
             if( ctx.env.query_string && *ctx.env.query_string )
               strbuf_addf( sb, "                  <div class=\"col-path\"><div class=\"tree-path dir\"><a href=\"/%s%s/%s/?%s\">%s/</a></div></div>\n", ctx.repo.name, path, (char *)name, ctx.env.query_string, (char *)name );
             else
-              strbuf_addf( sb, "                  <div class=\"col-path\"><div class=\"tree-path dir\"><a href=\"/%s%s/%s/\">%s/</a></div></div>\n", ctx.repo.name, path, (char *)name, (char *)name );
-            strbuf_addf( sb, "                  <div class=\"col-size\"><div onclick=\"trunc(this)\" class=\"tree-size dir trunc\">4096</div></div>\n" );
+              strbuf_addf( sb, "                  <div class=\"col-path\"><a href=\"/%s%s/%s/\"><div class=\"tree-path dir\">%s/</div></a></div>\n", ctx.repo.name, path, (char *)name, (char *)name );
+            strbuf_addf( sb, "                  <div class=\"col-size\"><div onclick=\"trunc(this)\" class=\"tree-size trunc\">4096</div></div>\n" );
             strbuf_addf( sb, "                  <div class=\"col-rev\"><div onclick=\"trunc(this)\" class=\"tree-rev trunc\">%s</div></div>\n", (char *)revision );
             if( time != -1 )
             {
@@ -274,8 +274,8 @@
             if( ctx.env.query_string && *ctx.env.query_string )
               strbuf_addf( sb, "                  <div class=\"col-path\"><div class=\"tree-path file\"><a href=\"/%s%s/%s/?%s\">%s</a></div></div>\n", ctx.repo.name, path, (char *)name, ctx.env.query_string, (char *)name );
             else
-              strbuf_addf( sb, "                  <div class=\"col-path\"><div class=\"tree-path file\"><a href=\"/%s%s/%s/\">%s</a></div></div>\n", ctx.repo.name, path, (char *)name, (char *)name );
-            strbuf_addf( sb, "                  <div class=\"col-size\"><div onclick=\"trunc(this)\" class=\"tree-size file trunc\">%s</div></div>\n", (char *)size );
+              strbuf_addf( sb, "                  <div class=\"col-path\"><a href=\"/%s%s/%s/\"><div class=\"tree-path file\">%s</div></a></div>\n", ctx.repo.name, path, (char *)name, (char *)name );
+            strbuf_addf( sb, "                  <div class=\"col-size\"><div onclick=\"trunc(this)\" class=\"tree-size trunc\">%s</div></div>\n", (char *)size );
             strbuf_addf( sb, "                  <div class=\"col-rev\"><div onclick=\"trunc(this)\" class=\"tree-rev trunc\">%s</div></div>\n", (char *)revision );
             if( time != -1 )
             {