From c70735449f5ff77857c2c4b90cf01e74a2566c5f Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 10 Sep 2005 23:44:07 +0000 Subject: [PATCH] Styling the browsing system --- browse.php | 2 +- templates/default/browse.tpl | 9 ++------- templates/default/browse_node.tpl | 20 +++++++++++--------- templates/default/main.css | 12 ++++++++++++ 4 files changed, 26 insertions(+), 17 deletions(-) diff --git a/browse.php b/browse.php index 9d5b819..f2a0fd0 100644 --- a/browse.php +++ b/browse.php @@ -39,7 +39,7 @@ if ($show['prev']) // ################################################################### // #*# finish extracting this tpl -echo '
' . print_r($viewsvn->svn->common->fetch_log($path, $viewsvn->paths->fetch_rev_num()), true) . '
'; +$revinfo = $viewsvn->svn->common->fetch_log($path, $viewsvn->paths->fetch_rev_num()); $listing = $viewsvn->svn->ls($repos, $relpath, $viewsvn->paths->fetch_rev_num()); diff --git a/templates/default/browse.tpl b/templates/default/browse.tpl index 11c139d..d23f9a7 100644 --- a/templates/default/browse.tpl +++ b/templates/default/browse.tpl @@ -2,15 +2,11 @@ $doctype $headinclude - Browse + ViewSVN - Browse $header -$navbar - -
- View Log @@ -22,8 +18,7 @@ $navbar - Diff to PREV - $footer \ No newline at end of file diff --git a/templates/default/browse_node.tpl b/templates/default/browse_node.tpl index b74ecaa..d0403b8 100644 --- a/templates/default/browse_node.tpl +++ b/templates/default/browse_node.tpl @@ -1,9 +1,11 @@ -
  • - - $item - - $item - - Blame - - - View Log -
  • +
    + + $item + + $item + + + Blame - + View Log + +
    \ No newline at end of file diff --git a/templates/default/main.css b/templates/default/main.css index 89cee1e..7ad81a2 100644 --- a/templates/default/main.css +++ b/templates/default/main.css @@ -60,6 +60,18 @@ a:hover list-style-image: url(bullet.gif); } +.nodelist li +{ + list-style: none; +} + +.nodelink +{ + font-family: Courier, "Courier New", monospace, serif; + position: absolute; + left: 35%; +} + /*=====================================================================*\ || ################################################################### || # $HeadURL$ -- 2.43.5