From: Foxtons Web Design Date: Thu, 25 Mar 2010 16:47:01 +0000 (+0000) Subject: added branch and tree to nav X-Git-Tag: 0.000006_01~1^2~1^2~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FGitalist.git;a=commitdiff_plain;h=9143f8d4f50336a0ed37fc001f073eeb7c2717ea added branch and tree to nav --- diff --git a/root/repository/shortlog.tt2 b/root/repository/shortlog.tt2 index 33aa93c..90f7ea4 100755 --- a/root/repository/shortlog.tt2 +++ b/root/repository/shortlog.tt2 @@ -1,4 +1,2 @@ [% subinclude('/fragment/' _ c.action, c.req.captures, c.req.parameters) %] -

Branches

-[% subinclude('/fragment/repository/heads', c.req.captures) %] \ No newline at end of file diff --git a/root/static/css/core.css b/root/static/css/core.css index 1018603..bcbc7f0 100755 --- a/root/static/css/core.css +++ b/root/static/css/core.css @@ -1,3 +1,20 @@ +#debug_holder{ + + display:none; + + clear:both; + padding-top:30px; + margin:30px 0; +} + +#debug_holder pre{ + margin:0; + padding:10px; + border:1px solid #ddd; + background-color:#f0f0f0; +} + + body{ background:#FAFAFA url(/static/i/bg.png) repeat-x left top; padding:0; @@ -41,7 +58,7 @@ a img{ float:left; } #header .search{ - margin-right:50px; + margin-right:10px; float:right; } #git_logo{ @@ -58,26 +75,14 @@ a img{ #footer p{ margin-left:15px; } -#debug_holder{ - display:none; - clear:both; - padding-top:30px; - margin:30px 0; -} -#debug_holder pre{ - margin:0; - padding:10px; - border:1px solid #ddd; - background-color:#f0f0f0; -} /* nav tabs */ #nav_logs{ width:80%; clear:both; float:right; - margin:-5px 50px 0 0; + margin:-5px 10px 0 0; } #nav_logs ul{ margin:0; @@ -105,6 +110,9 @@ a#log_short{ a#log_full{ background:#666 url(/static/i/icons/fulllog.gif) no-repeat 15px center; } +a#tree{ + background:#666 url(/static/i/icons/tree.gif) no-repeat 15px center; +} #nav_logs li a:hover{ text-decoration:underline; background-color:#DC143C; @@ -112,8 +120,12 @@ a#log_full{ #nav_logs li.selected a{ background-color:#333; } - - +#nav_logs #branch_selector{ + padding:10px 15px 10px 48px; + font-size:1.3em; + font-weight:bold; + color:#666; +} diff --git a/root/static/i/icons/tree.gif b/root/static/i/icons/tree.gif new file mode 100755 index 0000000..49d75b8 Binary files /dev/null and b/root/static/i/icons/tree.gif differ diff --git a/root/wrapper.tt2 b/root/wrapper.tt2 index 593246a..dd52ce9 100755 --- a/root/wrapper.tt2 +++ b/root/wrapper.tt2 @@ -29,7 +29,7 @@