From: Dan Brook Date: Mon, 2 May 2011 11:11:54 +0000 (+0100) Subject: More template tweaks. X-Git-Tag: 0.003002~6 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=53fa77070d4838fafa68bec4362b64dec25d6aa0;p=catagits%2FGitalist.git More template tweaks. Fix other bits that look wonky after the background drop shadow was removed. --- diff --git a/root/ref/blob.tt2 b/root/ref/blob.tt2 index 92fbf03..5afc3ae 100755 --- a/root/ref/blob.tt2 +++ b/root/ref/blob.tt2 @@ -1,4 +1,4 @@ -

[% INCLUDE 'nav/path.tt2' %]

+

[% INCLUDE 'nav/path.tt2' %]

[% IF object.type == 'commit' %]
@@ -9,4 +9,4 @@ [% subinclude('/fragment/ref/blob', c.req.captures, c.req.args.to_path) %] - \ No newline at end of file + diff --git a/root/repository/search.tt2 b/root/repository/search.tt2 index 318d5a1..b3f2327 100755 --- a/root/repository/search.tt2 +++ b/root/repository/search.tt2 @@ -9,6 +9,12 @@ [% END %] +[% IF results.size == 0 %] +
+No results found for [% c.req.param('text') | html %]. +
+[% ELSE %] + [% PROCESS shortlog_table_headfoot type = 'head' %] @@ -32,4 +38,6 @@ [% END %] -
\ No newline at end of file + + +[% END %] diff --git a/root/search_help.tt2 b/root/search_help.tt2 index 86e8154..037f77c 100755 --- a/root/search_help.tt2 +++ b/root/search_help.tt2 @@ -1,4 +1,4 @@ -

Search help

+

Search help

Pattern is by default a normal string that is matched precisely (but without diff --git a/root/static/css/core.css b/root/static/css/core.css index 46b79dc..85543fd 100755 --- a/root/static/css/core.css +++ b/root/static/css/core.css @@ -51,7 +51,12 @@ a img{ } #content_inner{ - padding-bottom:30px; + padding-bottom: 30px; + background-color: white; + min-height: 100px; +} +.header { + background-color: #666; } .copy{ padding:10px;