More template tweaks.
Dan Brook [Mon, 2 May 2011 11:11:54 +0000 (12:11 +0100)]
Fix other bits that look wonky after the background drop shadow was removed.

root/ref/blob.tt2
root/repository/search.tt2
root/search_help.tt2
root/static/css/core.css

index 92fbf03..5afc3ae 100755 (executable)
@@ -1,4 +1,4 @@
-<h3>[% INCLUDE 'nav/path.tt2' %]</h3>
+<h3 class="header">[% INCLUDE 'nav/path.tt2' %]</h3>
 
   [% IF object.type == 'commit' %]
    <div class='commit-message'>
@@ -9,4 +9,4 @@
 [% subinclude('/fragment/ref/blob', c.req.captures, c.req.args.to_path) %]
 
 
\ No newline at end of file
index 318d5a1..b3f2327 100755 (executable)
@@ -9,6 +9,12 @@
 </tr>
 [% END %]
 
+[% IF results.size == 0 %]
+<div class="copy">
+No results found for <q>[% c.req.param('text') | html %]</q>.
+</div>
+[% ELSE %]
+
 <table class='listing'>
 <thead>[% PROCESS shortlog_table_headfoot type = 'head' %]</thead>
 <tbody>
@@ -32,4 +38,6 @@
 </tr>
 [% END %]
 </tbody>
-</table>
\ No newline at end of file
+</table>
+
+[% END %]
index 86e8154..037f77c 100755 (executable)
@@ -1,4 +1,4 @@
-<h3>Search help</h3>
+<h3 class="header">Search help</h3>
 
 <div class="copy">
 <p><strong>Pattern</strong> is by default a normal string that is matched precisely (but without
index 46b79dc..85543fd 100755 (executable)
@@ -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;