From 0e32ffd5952f56121843e452d303ecbdb65e3454 Mon Sep 17 00:00:00 2001 From: Chuck Hagenbuch Date: Sun, 5 Dec 2010 20:21:38 -0500 Subject: [PATCH] Show left/right revision at the top of each diff --- chora/app/views/diff/diff.html.php | 4 +--- chora/themes/default/screen.css | 8 ++++++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/chora/app/views/diff/diff.html.php b/chora/app/views/diff/diff.html.php index 506752472..57a7f28f2 100644 --- a/chora/app/views/diff/diff.html.php +++ b/chora/app/views/diff/diff.html.php @@ -1,11 +1,9 @@
> -
diff --git a/chora/themes/default/screen.css b/chora/themes/default/screen.css index 1b4383774..23c6cbf3b 100644 --- a/chora/themes/default/screen.css +++ b/chora/themes/default/screen.css @@ -286,6 +286,14 @@ div.diff-header h4 { font-family: Menlo,Consolas,"Lucida Console","DejaVu Sans Mono",monospace; font-size: 110%; } +div.diff-subheader { + border-right: 1px solid #ddd; + border-bottom: 1px solid #ddd; + background: #eee; + padding: .5em; + font-family: Menlo,Consolas,"Lucida Console","DejaVu Sans Mono",monospace; + text-align: center; +} div.diff-container:after { content: "."; display: block; -- 2.11.0