aboutsummaryrefslogtreecommitdiffstats
path: root/cgitrc
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2007-10-30 10:47:38 +0100
committerLars Hjemli <hjemli@gmail.com>2007-10-30 13:38:34 +0100
commit0c8e184e9cbf4d3a1e907de9125f6d8210c169d6 (patch)
tree2e82baf582b7ba0b34f498e1e7494800070067f9 /cgitrc
parentAdd config param 'index-info' (diff)
downloadcgit-0c8e184e9cbf4d3a1e907de9125f6d8210c169d6.tar.xz
cgit-0c8e184e9cbf4d3a1e907de9125f6d8210c169d6.zip
Change the cgit layout
This modifies and hopefully improves the layout of all cgit pages: * Remove the header from all pages and replace it with a sidebar; most pages have sufficient width but many needs more height. * Add a dropdown-box to switch between branches, using a one-liner javascript to reload the current page in context of the selected branch. * Include refs found below refs/archives in the sidebar, appearing as a set of menuitems below a 'download' heading. * Include the brand new cgit logo Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'cgitrc')
-rw-r--r--cgitrc9
1 files changed, 7 insertions, 2 deletions
diff --git a/cgitrc b/cgitrc
index 2b09e01..6363c9c 100644
--- a/cgitrc
+++ b/cgitrc
@@ -85,8 +85,13 @@
#root-title=Git repository browser
-## If specified, the file at this path will be included as HTML in the index
-## of repositories
+## If specified, the file at this path will be included as HTML in the
+## sidebar on the repository index page
+#index-info=
+
+
+## If specified, the file at this path will be included as HTML above
+## the repository index
#index-header=